WordPress.org

Ready to get started?Download WordPress

Forums

XCan't separate links into categories (2 posts)

  1. Sabrefan
    Member
    Posted 5 years ago #

    Will try this again as nobody has answered my previous post. I have two link categories: Links & Blogroll that I want under separate heading in my sidebar. I can't seem to put them under their individual headings as unlike in older version of WordPress each link category was given a unique ID number so you could call them separatly with PHP.

    How can I now do this?

  2. stvwlf
    Member
    Posted 5 years ago #

    See this page as there are MANY parameters
    http://codex.wordpress.org/Template_Tags/wp_list_bookmarks

    The immediate one you want is
    <?php wp_list_bookmarks('title_li=&categorize=1'); ?>

    Using additional parameters documented on that Codex page you can format the display of the category headers and the sort order of the links.

Topic Closed

This topic has been closed to new replies.

About this Topic