Support » Fixing WordPress » Widgets not showing

  • Resolved markg_montreal


    I am building in Organic Themes’ ‘Structure’ theme, but my question might just be a matter of making sense with code… the issue is my widgets are not showing.

    I would like to have my widgets show in here:
    <?php include(TEMPLATEPATH.”/sidebar_right.php”);?>

    the file sibar_right.php looks like this:
    <div id=”sidebar_right”>

      <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Right Sidebar’) ) : ?>
      <p>Add Widgets to the Right Sidebar</p>
      <?php endif; ?>


    and my functions.php page includes this function:

    if ( function_exists(‘register_sidebars’) )
    register_sidebar(array(‘name’=>’Right Sidebar’,’before_title’=>'<h4>’,’after_title’=>'</h4>’));

    But widgets do not show up. I must be missing something here.
    Any help would be greatly appreciated.
    (I’ve tried everything I could think of… with my (extremely) limited knowledge of php).

    (I should mention that I did re-arrange the layout of the theme, but the <?php include(TEMPLATEPATH.”/sidebar_right.php”);?> should not be conditional on the div’s around it, right?)

    Thank you!!!
    Mark G.

  • The topic ‘Widgets not showing’ is closed to new replies.