Links displayed in multiple categories (2 posts)

  1. globalinsites
    Posted 8 years ago #

    I added a link category in Links/Link Categories, and just tested to add this code to the sidebar.php of my theme (http://teo.esuper.ro/wordpress-themes/falling-dreams) to let the category show up on my site:

    <h2 class="sidebar-title"><br />
    <?php _e('More Links'); ?><br />
    <?php get_links('-1', '
    <li>', '</li>
    ', '<br />'); ?>

    The category shows up fine but all links show up in both the Blogroll category as well as in the More Links category (so all links are being displayed twice). I checked Links/Manage Links and I see that the links are assigned to different categories, either Blogroll or More Links. How come they display in both categories?
    What should I do to let it display only in the category that I assigned it to in Manage Links?

  2. moshu
    Posted 8 years ago #

    That means = show all link categories!
    Citeşte literatura, mă!

    Change +1 to the ID# of the link category to be displayed...

Topic Closed

This topic has been closed to new replies.

About this Topic