Home » Programming, Wordpress

Making your Wordpress sidebar dynamic

5 October 2009 1,134 views No Comment

Wordpress is a great tool for SEO, it is open source and has literally thousands of plugins. This makes it easy to optimise your blog posts even if you are not a PHP programmer. With the correct plugins installed all your posts will be fully optimised and help attract long tail listings to your site.

On a few occasions I have come accross a situation where I needed to install a Wordpress blog installation to an ecommerce website. The main problem here is integrating the two systems. It is often difficult to make the sidebar in Wordpress dynamic with the website, leaving the sidebar static often leaves the blog and site navigation different as categories in the site have changed. This can result in 404 errors if you don’t manually change the Wordpress navigation.

There is however an easy solution to the problem. You can create a dynamic RSS feed from your ecommerce site that simply contains the category name and URL. After you have created this RSS feed yo should then install the ‘advanced RSS widget’ for Wordpress. This widget allows you to add any RSS feed into the sidebar.

Once installed you can add the location of the latest categries RSS feed into the appropriate sidebar. This will now display a list of categories from the site that is dynamic, all you need to do now is style it up in CSS. Now when you change your site your category navigation will update.

Problem fixed!

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.