Links displayed in multiple categories
-
I added a link category in Links/Link Categories, and just tested to add this code to the sidebar.php of my theme (https://teo.esuper.ro/wordpress-themes/falling-dreams) to let the category show up on my site:
<li>
<h2 class="sidebar-title"><br />
<?php _e('More Links'); ?><br />
</h2>
<ul>
<?php get_links('-1', '
<li>', '</li>
', '<br />'); ?>
</ul>
</li>
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?
- The topic ‘Links displayed in multiple categories’ is closed to new replies.