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

  1. keeperbay
    Posted 5 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>') );


Topic Closed

This topic has been closed to new replies.

About this Topic