• Hi

    I’m wondering if anyone can help, I’m not sure if I’m within the correct forum or not.

    I downloaded the Equilibrium theme a couple of months ago and loving it for its freshness and clean lines, but now finding it a little to clean. My site is https://www.jadedeye.com and would like to add another widget bar under the eight post thumbnails that I have on the left hand side, so not to have a long page, if that makes sense.

    Could anybody be so kind to give me some hints or tips to how I go about it?

    Many thanks

    J-P

Viewing 2 replies - 1 through 2 (of 2 total)
  • Start with Widgetizing_Themes.

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your message, now I’ve changed the codex in my function.php to read the follwoing as I would like three sidebars:

    <?php
    if ( function_exists(‘register_sidebar’) ) {
    register_sidebar(array(‘name’=>’sidebar1’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    register_sidebar(array(‘name’=>’sidebar2’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    register_sidebar(array(‘name’=>’sidebar3’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    }

    And I found that I have the three sidebars in my admin section, which is great. My only problem no is that I’m getting a little confused about the code which I have to place in my index.php, at present the code is: <?php get_sidebar(); ?> but when I add the suggested code:

    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>

    It throws it all over the place, or forces this error message:

    Parse error: syntax error, unexpected $end in /websites/123reg/LinuxPackage21/ju/pp/er/jupperpeep.com/public_html/jadedeye/wp-content/themes/Equilibrium/index.php on line 84

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding an extra widget bar in Equilibrium theme’ is closed to new replies.