Support » Themes and Templates » Sidebar Link Display
10 years, 7 months ago
I have two link categories, but they both are being grouped together. Do you know how I get both to display?
I think the following is the relevant code.
To get the links to display in seperate lists I do this:
<?php wp_get_links('Link_Cat_ID_#'); ?>
Just replace Link_Cat_ID_# with the appropriate ID number.
Hope it helps.
Hi. I started another thread (“Can’ Display Links Categories”) on a very similar, if not identical problem, at exactly the same time rsl111 started this one.
BPartch: I want to give your solution a try, but:
— In which file do I insert the code?
— How do I determine the “appropriate ID number?
Thanks for your help.
Never mind, I solved my problem. Thanks, all.
thanks, I appreciate it, I replaced the code but then got this error.
You need to change Link_Cat_ID_# to the number for the appropiate link category.
<?php wp_get_links('1'); ?>
thanks for your help! that worked in getting them into two categories though they both have the same title, do you know how to get it to pick up the category names?