Sep
23

Hi,

WordPress blogroll has gone through many changes over the past year and a lot of the WordPress themes authors out there did not update their themes with the new code used to call the blogroll.

The old code still works but it does not give you the advantage of the new blogroll capabilities. If you have set up your blogroll with different categories but noticed that all of them display under a single category. It is probably because blog theme is using the original code that did not allow for much configuration. Blogroll code should be:

<?php get_links()’ ?>

OR

<?php get_links_list()’ ?>

If you want a more configurable code, you will want to use something like the following

<?php wp_list_bookmarks(‘categorize=1&before=<li>&title_before=<h2>&title_after=</h2>&category_before=</n>&category_before=</n>&after=</li>&orderby=url’); ?>

This code will display blogroll but you have to separate lists for different blogroll categories. This code display the category title as a Header 2 and use bullet points to display the content.

Thanks,

Shane G.

Popularity: 1%

Related posts:
  1. What Is A Blogroll? A blogroll is a common blogging term which refers to...
  2. How To Add Link Categories In WordPress Blog? Hello All, In order to add Blogroll categories in WordPress...
  3. Code To Display Blogroll At WordPress Blog Hello All, In order to display Blogroll in wordpress blog...
  4. How To Manage Blogroll in WordPress Blog? Hello All, In order to manage Blogroll from wordpress admin...
  5. How to import blogroll in your wordpress blog? How to import blogroll in your wordpress blog? One can...

Leave a Reply

You must be logged in to post a comment.