WordPress.org

Ready to get started?Download WordPress

Forums

Show links from a specific link category (2 posts)

  1. itconsultingnv
    Member
    Posted 5 years ago #

    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.

  2. jburge
    Member
    Posted 5 years ago #

    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 ##

    James

Topic Closed

This topic has been closed to new replies.

About this Topic