Custom RSS feeds in WordPress

June 12, 2009

RSS feeds are very useful and very popular. WordPress creates RSS feeds by default, but how to create your own, custom RSS Feed? If you need a custom RSS feed, like for example, a feed indexing only somes categories and tags, or if you redirected all WordPress RSS feeds to Feedburner but still want to be able to get a category feed, there’s an easy solution though, just follow these steps: create a custom page template within your theme that serves out the feed (code below) create a new page (which can be blank),... [Read the full story]

Suggest your visitors to leave comments in your rss feed

February 18, 2009

Most bloggers like to receive comments about their posts. How to display a message on your rss feed, and notifying your visitors that the discussion is open and suggesting them to comment? Additionally, when using WordPress as CMS, sometimes it is necessary to create new posts instead of pages for static pages because you want them to appear in the RSS feed. You may not want to enable comments inside those posts. At other cases, you may also want to selectively choose to enable and disable comments. The problem is, how do... [Read the full story]

Publish the Feed of wordpress Later

December 30, 2008

Did you ever published an article, and immediately notice an error? You can edit it, but there’s another problem: The article has already been published on your rss feed. To avoid that kind of problem, we can create a delay between post publication and availability throught rss feeds. WordPress works with a special query, which acts differently depending on the user rights. It is always saved in the variable $where and differently assembled. That means, you can extend it. If you look at the possibilities of mySQL,... [Read the full story]

List WordPress category feeds

November 25, 2008

Let’s see how we can list all category feeds by using the good old wp_list_categories() fiunction. Simply paste the following code anywhere on your theme. It will output a list of your categories with a link to the category rss feed. The two parameters used here are: feed_image: The url of the image to display as a link to your feed. feed: The feed format. <?php wp_list_categories('feed_image=www.livexp.net/rss.gif&feed=XML Feed&optioncount=1&children=0'); ?>  Read More →

Customize the Auto Discovery of Your WordPress Feed

November 24, 2008

As a blogger, one great way to grow your blog is to promote your RSS feed.   What many people might not realize is a lot of bloggers use modern web browsers auto discovery feature when subscribing to a blog. Are you taking advantage of this feature? By default, your WordPress theme will come with auto discovery built into the header.php file.  The code should look something like this: <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url');... [Read the full story]

Page 1 of 3123»