Adding A Sidebar To Every Page
- Within the WordPress Administration area, navigate to Appearance / Editor.
- Select
single.php
and change:<div id="content" class="widecolumn" role="main">
to
<div id="content" class="narrowcolumn">
- Then change:
<?php get_footer(); ?>
to:
<?php get_sidebar(); ?> <?php get_footer(); ?>
Repeat the last 2 steps for archives.php
, links.php
& image.php