Changing the right column
Sep 8th, 2005 by Neo
The default layout has the “Links” section at the top. I believe the “Pages” and the “Categories” would be more important and of more interest.
Let’s dig into the file wp-content\themes\connections\sidebar.php and change the 1st line:
<h2>Pages</h2>
to
<h2>Sections</h2>
Then, dig into the file wp-content\themes\connections\index.php and move lines 36 and 37 a few lines down to locate them below the sidebar. E.g. from:
<h2> <?php _e('Links'); ?></h2>
<ul>< ?php get_links('-1', '<li>', '', ' '); ?></ul><?php get_sidebar(); ?>
to
<?php get_sidebar(); ?><h2>< ?php _e('Links'); ?></h2>
<ul>< ?php get_links('-1', '<li>‘, ”, ‘ ‘); ?></ul>
Hehe, looks better isn’t it?


Site feed


