• Resolved jhover83

    (@jhover83)


    I have been working on my wordpress site and have it near completion. I am running into an issue with the “dynamic sidebar”. It will not display where I am referencing it to. I have read through countless posts in an effort to resolve my issue. Please help

    This is the code I inserted into my functions.php file:
    register_sidebar(array(
    ‘name’ => ‘sidebar1’,
    ‘id’ => ‘sidebar1’,
    ‘before_widget’ => ‘

    • ‘,
      ‘after_widget’ => “
    • “,
      ‘before_title’ => “<h3>”,
      ‘after_title’ => “</h3>,
      ));

      This is the code I inserted into my “sidebar.php” file:
      <?php if ( is_sidebar_active(‘single-top’) ) {
      echo ‘<div id=”single-top”>

      ‘ ;
      dynamic_sidebar(‘single-top’);
      echo ‘

    </div>’ ;
    } ?>

    Thank you for your help.

The topic ‘Dynamic Sidebar problem loading’ is closed to new replies.