WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] function (2 posts)

  1. Jbert
    Member
    Posted 5 years ago #

    This is my script in the function folder for sidebar. My newly self made theme has one sidebar. I am adding another. Will the function change form

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    when adding the new sidebar 2.

    Thanks

    Jim

  2. scribu
    Member
    Posted 5 years ago #

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar('first');
    register_sidebar('second');
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags