WordPress.org

Ready to get started?Download WordPress

Forums

[woogle] How do I add a sidebar? (1 post)

  1. keeperbay
    Member
    Posted 3 years ago #

    I've learned a lot about recoding WP themes lately, but I don't know how to add a sidebar.
    I picked a relatively simple template to practice on, the Woogle theme, I want to put the new sidebar beside the current sidebar on the right, but I'm not sure how.

    How does one add a sidebar to a theme?

    I'm guessing it has something to do with the function.php

    if ( function_exists('register_sidebar') ) {
        register_sidebar( array('name' => 'sidebar', 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h2>', 'after_title' => '</h2>') );
    }

    {http://ericulous.com/2009/03/18/wp-theme-woogle-the-google-search-engine-clone/}

Topic Closed

This topic has been closed to new replies.

About this Topic