Codeable info

How To Publish RSS Exclusive Posts

Posted on by in WordPress Tutorials

In an effort to boost RSS readers and subscribers it might be beneficial to sometimes release an RSS exclusive post that doesn’t show up on a blogs home page or in regularly scheduled postings.

This would basically provide followers with a great reason to subscribe to an RSS feed, especially if they are fans of the blog in question.

However in order to take advantage of this feature we need to install the Advanced Category Excluder.

This plugin basically uses categories and the related list to hide and include posts in certain areas of a blog or website. Through categories, it will allow us to publish a post to the RSS feed only and exclude it from the rest of the normal site.

Installing the Plugin

First the plugin must be downloaded. The entire downloaded file is usually compressed or zipped which means that before continuing further the directory needs to be extracted. Obviously extract the directory to an easily accessible location of choice.

In order to perform this next step administrator access is required for the blog or website in question.

After it is extracted, the entire file must be uploaded to the “wp-content/plugins” directory folder under the related blogs WordPress install. This can be done using an FTP client like Filezilla, or the integrated file browser for the domain’s hosting provider.

The Advanced Category Excluder plugin is now installed (provided the files uploaded completely) but needs to be activated. This can be done by navigating to the “Plugins” page in the WordPress admin panel and selecting the “Activate” option next to the installed plugin. Follow the required steps to finish the activation process.

There will now be an “Ace Dashboard” option in the “Plugins” menu. This new plugin dashboard is where posts can be separated from certain areas of the site.

Creating the Exclusive Categories

Obviously since this plugin is designed to exclude posts from certain categories on the blog in question, a new category needs to be created called “RSS” or something pertaining to the feed.

Under each post there should be a new section labeled “Usage”. This new section will allow the admin or post author to determine which areas of the site the post will appear. If the “RSS” category above was created and defined correctly it should show up in this new options section.

The five areas of the site are as follows:

Archive: Controls all archived posts and how or where they appear.
Home: Controls all posts that appear on the home or featured posts page.
RSS Posts: Controls posts that appear in the RSS Feed.
RSS Comments: Controls posts that appear in the RSS comments feed along with relevant comments.
Search: Controls posts that show up in the blog search results after a user performs a search within the site.

In order to exclude the post in question from the other sections of the site the new “RSS” category we created needs to be selected under each area above, except the “RSS Posts” area. Any area that has been selected in the new options panel above for each post, will be excluded from the individual posts access list.

So to break this down in simpler terms, if you select the “RSS” category in the “Home” area of the above options section then the post will be excluded from showing up on the home or featured posts page when published.

Hiding the New “RSS” Category

Because we created a new category called “RSS” or something similar it will show up in the regular categories listing for the blog. We don’t want this happening because it will ultimately defeat the purpose of publishing only to an RSS feed.

In the “Sidebar.php” file for the active theme in question we need to locate the following code and enter in the category number for the new “RSS” category so that it can be excluded from appearing in the sidebar.

Find the following line of code:

<?php wp_list_categories(); ?>

Change it to the following:

<?php wp_list_categories(&rsquo;exclude=CAT#â€Â²); ?>

Replace the “CAT#” tag with the corresponding number for the new “RSS” category we created during this tutorial. This will exclude the proper category from showing up on the site and further hide the RSS exclusive posts and content.

Link: Court’s Marketing School- Creating Posts That Appear Only In RSS

Comments Closed

Codeable info