Sidebar Sections

Posted on July 31st, 2006 by mark.
Categories: WordPress.


Overview

Customising the side bar so you can reorganise the different sidebar elements can be simply a matter of rearranging the order of the code in "sidebar.php" in the theme folder of your current theme. The following example however may be a little specific to the theme I am currently using.


Instructions 

Find a recognisable section of text such as something refering to your links:

<div class="menubefore"></div>
<div class="menu">
<ul id="links">
<?php get_links_list('id'); ?>
</ul>
</div>
<div class="menuafter"></div>

Everything between 

<div class="menubefore"></div>

and

<div class="menuafter"></div>

is a seperate section in the sidebar

This can then be cut and paste above or below elements encapsulated by similar tags 

The "menubefore" term will be specific to the stylesheet


0 comments.

Leave a comment

Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.