• Resolved mtheve

    (@mtheve)


    I posted this a few hours ago but as far as I could tell it never showed up πŸ™

    I have a site up at http://wywdesign.com that is using a modified Starfish Theme and it is set up to use widgets. I placed the widgets in and the sidebar is still showing the default and not the widgets. I am fairly good with php but this one is kicking my bum! The sidebar code is as follows:

    ////'<div class=”sidebar”>

    <?php if ( function_exists(‘dynamic_sidebar ‘) && dynamic_sidebar(‘sidebar’) ) : else : ?>
    * <?php wp_list_categories(‘orderby=name&show_count=0&title_li=<h2>Categories</h2>’); ?> <h2>Pages</h2>
    <?php wp_list_pages(‘title_li=’); ?>
    * <h2>Meta</h2>
    o <?php wp_loginout(); ?>
    o WordPress Themes
    * <h2>Blogroll</h2>
    o <?php get_links(-1, ‘ ‘, ‘
    ‘, ‘between’, FALSE, ‘name’, FALSE, FALSE, -1, FALSE); ?>

    <?php endif; ?>
    <?php include(TEMPLATEPATH . “/sidebarad.php”); ?>

    </div>’////
    (minus the ////)

    As far as I can see it is set up correctly. I have searched through the support forums and found similar issues with the Tiga code but it isn’t helping here. The only thing I have modified are the page links at the top.

    So any help here would be appreciated.

    Namaste!

    Chel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mtheve

    (@mtheve)

    Ok never mind – I seemed to have fixed it on my own. I guess sometimes when you get to the breaking point the epiphanies hit you!

    Thread Starter mtheve

    (@mtheve)

    Oh and for others, I fixed it using this code:

    ‘<div class=”sidebar”>
    <ul id=”sidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    <li id=”about”>
    <h2>About</h2>
    <p>This is my blog.</p>

    <li id=”links”>
    <h2>Links</h2>

    <?php endif; ?>

    </div>’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sidebar with widgets not working’ is closed to new replies.