WordPress.org

Ready to get started?Download WordPress

Forums

Exclude Link Cats from listing (7 posts)

  1. controller
    Member
    Posted 9 years ago #

    Is there anyway to exclude a link category from being showed on the sidebar? thanks.

  2. Jonathan Dingman
    Member
    Posted 9 years ago #

    http://codex.wordpress.org/Template_Tags/wp_list_cats take a look there and it shows you how to pass the options through.

  3. controller
    Member
    Posted 9 years ago #

    i am not looking to remove categorys.
    in my links section, i have two categorys, members links, and articles we recomend. i have a links page that i want the members links to go on. i want the articles we recoment category to go in the sidebar. i tried to use the exclude but it wont work. any suggestions will be apreatiated. thanks.
    (for example of what i am talking about, look at my site:
    techmasses.net

  4. pcmt
    Member
    Posted 9 years ago #

    Was this concluded? Is there a way to select which categories of links to display in the sidebar instead of all categories? I mean to list all the links from a specific category (not a list categories).

  5. oriecat
    Member
    Posted 9 years ago #

    You could use wp_get_links for each category you want to show.
    http://codex.wordpress.org/Template_Tags/wp_get_links

  6. pcmt
    Member
    Posted 9 years ago #

    Yes, that worked, thanks, though at first the links were listed without the *ul* tags.

  7. n0id
    Member
    Posted 8 years ago #

    Could you explain how to do that exactly ? Or post a simple example in which you have excluded a link category ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.