Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #481

    Hi Kreisi,

    I can’t seem to find where to edit the sidebar in on of the pages..This is probably a really simple thing to do, sorry for the silly question!

    -H

    #31593

    Hey,

    In WordPress admin, under Appearance -> Widgets you have a list of available widgetized areas on the right side of the page. You need to drag and drop the widgets you want to display in the order you want them to show up.

    Cheers,

    James

    #31594

    Thanks James! How about the sidebar that’s featured in my blog (posts section)?

    #31595

    You need to add another widget area for the blog posts. Open up functions.php and at the end of the file you’ll find this code:

    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'News Section Sidebar',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    ));

    Immediately under it add this code:

    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Blog Pages Sidebar',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h3 class="widgettitle">',
    'after_title' => '</h3>',
    ));

    Next, open up sidebar.php and immediately under this code:

    <?php if (function_exists('dynamic_sidebar') && !is_page() && dynamic_sidebar('News Section Sidebar') ) : endif; ?>

    add this code:

    <?php if (function_exists('dynamic_sidebar') && is_single() && dynamic_sidebar('Blog Pages Sidebar') ) : endif; ?>

    This will add a new widgetized area which you can drag and drop widgets to for the Blog single pages.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Sidebar edit, help!’ is closed to new replies.