• Hi

    I was wondering if anyone could help me, I’m looking to place some widgets under my feature post thumbnails on my site https://www.jadedeye.com (I’m using the Equilibrium theme) I’ve already managed to add the line Community quite easily and now would like to add two columns of widgets. How would I go about this? I fear its going to be quite complicated, but up to the challenge.

    Thanks
    J-P

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    I’ve been reading through the literature that is on the above link and other sources, and think I’ve more or less understand it and have placed it correctly.

    I’ve created myself three separate sidebar.php files with individual names and configured my functions.php as below:

    if ( function_exists(‘register_sidebar’) ) {
    register_sidebar(array(
    ‘name’=>’sidebar_right’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘name’=>’sidebar_bottomleft’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘name’=>’sidebar_bottomright’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));

    I’ve then gone into each of the different sidebar.php files and individually configured them as follows:

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar_right’) ) : ?>

    My only issue now is that I can’t seem to manage to place them in my index.php, what code do I need to use, currently and before I had mulitply side bars I had the following:

    <?php get_sidebar(); ?>

    I’ve tried placing the sidebar name inbetween the brackets, but had no success, I;ve also tried the following pieces of codex as well

    <?php register_sidebarr(); ?>
    <?php dynamic_sidebarr(); ?>

    Could someone tell me where I’m going wrong?

    Thank you

    <?php get_sidebar('sidebar_right'); ?>
    <?php get_sidebar('sidebar_bottomleft'); ?>
    <?php get_sidebar('sidebar_bottomright'); ?>
    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Thank you for your email, I think I had tried that earlier, but have just given it another go as I’ve changed things in the mean time. I can understand how that should work, but it creates the following effect, https://www.jadedeye.com

    I’m assuming I’m missing something somewhere, just can’t get my head around it.

    Thank you

    Thread Starter jupperpeep

    (@jupperpeep)

    Hi

    Also I’ve tried changing the names around within the brackets and there doesn’t seem to be any change.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extra widgets under my feature posts on my index page’ is closed to new replies.