Feeds

Adding a new heading to the sidebar

PerformancingAds
Submitted by George Park on May 13, 2007 - 5:33pm in

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 hope that I have explained this better this time.


Answer...

You need to create the link category within the WordPress dashboard, and it will pull in the different links that way. Can you provide a url to the site you are wanting this on?

Adding an new category to the sidebar

Thanks for the reply Brian, it is www.georgepark.co.uk/wedblog

I did try that, but it pulled the links in under the Useful Links category,

I am trying to get a seperate heading between Useful Links and Admin.

install sidebar widgets

George - are you using Sidebar widgets? It makes customizing your sidebar much easier than getting into the PHP code for the sidebar. The sidebar widgets plugin is very user-friendly.

Thanks for the info. Sidebar

Thanks for the info. Sidebar widgets wouldn't change the look that is there already, would it?

I am sure I read somewhere on this forum that using the widgets affected the existing sidebar.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.