• Resolved Zapfino

    (@zapfino)


    Hi all,

    I am building a worpress site that has multiple sidebards that swap and change depending on which page a user is on:

    The following code is currently in the functions.php file:

    <?php
    if ( function_exists('register_sidebars') )
    register_sidebars(3);
    ?>

    I have also used on a single sidebar site the following code to style the sidebar widgets:

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'before_widget' => '',
    'after_widget' => '',
    'before_title' => 'h4',
    'after_title' => '/h4',
    ));
    ?>

    My question is:

    How do I get these 2 pieces of code working together so that I can style the widgets of multiple sidebars?

    Any help would be appreciated.

    Regards.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Styling of Multiple Sidebars in functions.php’ is closed to new replies.