• footprints.music

    (@footprintsmusic-1)


    I am new to wordpress but am getting the hang of it! I posted earlier and have done more research since but need more help.

    I want to have my 2 widgets work with the theme’s sidebar items (I don’t think they’re widgets..?). Right now the widgets get rid of my sidebar items which are search, Popular posts and Featured Videos. I want to keep those and underneath have my widgets.

    I found this code.

    <?php if ( is_sidebar_active(‘single-top’) ) {
    echo ‘<div id=”single-top”>

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

    </div>’ ;
    } ?>

    Will this solve my problem? Or is this something else. I read the explanation and it seems to be what I want but I am not %100 sure where to put this code.

    Thanks!

    Alex

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Your code hasn’t been posted within backticks – which means that it isn’t readable. You could drop a copy of your theme’s sidebar file into the WordPress pastebin and post the pastebin url here. Perhaps then someone will be able to suggest a solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Using Widgets with sidebar themes’ is closed to new replies.