Support » Fixing WordPress » Widget to show only one link cat?

  • Does anyone know of a plugin that allows us to display a single link category when mulitple ones exist?

    I have a website that has “Vision Partners” and I want to set up links to their websites that displays on the sidebar…but there are 2 sidebars and I want only THAT link category to display in one of them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you can provide some more detail along with the link to the website can be helpful.


    If I understand correctly – and also what I want to do:

    I have 5 link categories with multiple links.

    When I add the “blogroll/links” widget to my sidebar I only want to display one of the link categories and it’s associated links, not all five categories and all of their links.

    WOuld be nice if there was a toggle next to each link category “display in blogroll” if checked then the category and it’s links would show, if not then they don;t – basically a “private” button for link categories…

    Maybe Link Widgets?

    Consider downloading and installing Otto’s PHP Code Widget.

    Then put this (template tag, wp_list_bookmarks()) in one of those widgets:

    <?php wp_list_bookmarks('category=9'); ?>

    You need to know the category id for the category you want to display–see this plugin for help with that:

    Hi, I downloaded both plugins and activated them. I want to show only one archive category in this sidebar widget and that it has the number 4. I copied and pasted the code above and changed the number to 4 but nothing happens, I have only the widged title showing and nothing below…

    Could you help me over here? Thanks…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget to show only one link cat?’ is closed to new replies.