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]

Prevent WordPress Plugins From Breaking Your Theme

November 24, 2008

Have you ever deactivated a WordPress plugin only to find that your WordPress blog no longer works?   This is something that can happen in any situation where a WordPress plugin is called by your WordPress theme without using the proper statement.   How Can I Avoid This Problem? Whenever you add plugin functionality to your WordPress theme that uses a call, make sure to turn it into a variable, so your theme won’t break if the plugin is deactivated.  An example would be the popular Related posts plugin that most... [Read the full story]

Provide a rss feed per category to your wordpress readers

November 23, 2008

Do you blog about a lot of different topics? If yes, you may want to provide a rss feed per category, so your readers will be able to only read what interests them. Believe it or not, this is very easy to achieve. This recipe is probably one of the easiest to achieve I have ever published, but it is very useful. Let’s say you’d like to be able to only suscribe to Live experience wordpress tips. The category url is: http://www.livexp.net/windows/wordpress To get a rss feed, you simply have to add /feed at the end of the... [Read the full story]

List recent post on a non-WordPress site

November 23, 2008

Do you ever wanted to be able to list your WordPress posts on a non-WordPress website? If yes, just read on, got the solution to do that. Let’s go: Simply paste the following code on your non WordPress site. You may need to upload the wp-config file from the blog you want to get the posts on the same directory. That’s all. You can also parse rss feeds, but that solution can be simpler. <?php $how_many=1; //how many posts to display require('blog1/wp-config.php'); //the path to the wp-config file of the blog I want... [Read the full story]

Page 3 of 10«12345»...Last »