Widget to show only one link cat? (6 posts)

  1. petedutcher
    Posted 7 years ago #

    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.

  2. zeronex
    Posted 7 years ago #

    If you can provide some more detail along with the link to the website can be helpful.


  3. frescova
    Posted 7 years ago #

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

  4. unixgolf
    Posted 7 years ago #

    Maybe Link Widgets?

  5. MichaelH
    Posted 7 years ago #

    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:

  6. festinhabobanoape
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic