Seeing I have had limited response to my original post, I will try and elaborate.
Unfortunately, I am not very clued up on css and php.
I would like to add another heading to the side bar below "Blogroll" which I have renamed "Useful Links".
I tried copying and pasting and then changing the names in the php file, but find that all that does is create another heading which contains the same links as in "Useful Links"
I have created an additional category, in the Blogroll Management section of site admin, namely Equipment.
What I am trying to achieve is that Useful Links will show all the links under that category and that the Equipment heading will show all the links categorised Equipment.
The code for the original "Blogroll" heading which I renamed Useful links is as follows:
I have tried to show the code here, but it is not working.
So, on the line get links, there is code in brackets being -1 and li etc
What do I do to get the above code to only retrieve the links categorised "Useful Links" and the heading "Equipment" to retrieve on the "Equipment" Links?
I have tried Sidebar Widgets plugin, but it does not solve the issue.
I hope that I have explained this better this time.


















Here is what you have to do
I have had the same problem and the solution is simple:
Find out the ID for both categories Blogroll and Equipment.
You'll find your IDs unter the Categories section within the wordpress admin panel.
Then you have to switch the code in the l_sidebar.php file as follows:
*?php get_links(YOUR ID, '*li*', '*/li*', '', TRUE, 'name', TRUE); ?*
(REPLACE * WITH THE SIGN NORMALLY USED AT THAT PLACES)
so, for example to
*?php get_links(2, '*li*', '*/li*', '', TRUE, 'name', TRUE); ?*
if ID number 2 is the one of the links you want to show under that section.
got it?
All I can say is Thank You,
All I can say is Thank You, easy when you know how.
Very much appreciated.
Post new comment