Support » Fixing WordPress » Show links from a specific link category

  • I am using my wordpress as a cms and have created several different link categories that I would like to list separately within a template page.

    For example I have a Topics link category and a Resources link category. I would like to call up only certain links from a given link category into my page.

    I have been attempting to use wp_list_bookmarks but for some reason cannot get my code to exclude a given categories links.
    <?php wp_list_bookmarks(‘title_li=&category_before=&category_after=&exclude=5’); ?>

    Is this possible? Any ideas? Thanks in advance.

Viewing 1 replies (of 1 total)
  • Was having the same problem and I came across this.

    <?php wp_list_bookmarks('title_li=&category_before=&category_after=&category=##'); ?>

    just enter the link category ID for ##


Viewing 1 replies (of 1 total)
  • The topic ‘Show links from a specific link category’ is closed to new replies.