Forums

[resolved] Can I get new themes sidebar to look like my old one (I have the code) (8 posts)

  1. Chris777uk
    Member
    Posted 1 year ago #

    Hi all

    I'm really stuggling and have spent hours trying to sort it,

    Basically i have a new theme as my old one wasn't widget enabled and I wanted to use some widgets....

    I really love the new theme apart from the sidebar it looks out of sync and generally crap

    I really liked the sidebar on the old theme, i've tried pasting the code of the old one to the new one but it displays all the posts at the bottom of the site, not in the sidebar, also the code is for things like recent comments which i wont need any more due to widgets.

    the code of the old one is....

    <div id="sidebar">
    <h2>
    <?php _e('Latest Posts'); ?>
    </h2>

      <p><?php wp_get_archives('type=postbypost&limit=30&format=html'); ?></p>

    <h2>
    <?php _e('Latest Comments'); ?>
    </h2>
    <p><?php recent_comments(); ?></p>

      <?php get_links_list(); ?>

    <h2>
    <?php _e('Archives'); ?>
    </h2>

      <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','','') ?>

    <p>

    my new one is..

    <?php global $freshy_options; ?>
    <div id="sidebar" class="sidebar">
    <div>
    <?php if ($freshy_options['sidebar_left'] && $freshy_options['sidebar_right']) $sidebar_id = 2;
    else $sidebar_id = 1 ?>

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($sidebar_id) ) : ?>

    <?php freshy_menu($freshy_options['args_pages'],$freshy_options['args_cats']); ?>

    <h2><?php _e('Search',TEMPLATE_DOMAIN); ?></h2>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    <h2>
    <?php endif; ?>
    <?php include (TEMPLATEPATH . '/my_sidebar.php'); ?>
    </div>
    </div>

    the site is http://www.chrissayburn.com

    please help if you can im going crazy!! :)

  2. Chris777uk
    Member
    Posted 1 year ago #

    can someone at least point me in the right direction please?

  3. Chris777uk
    Member
    Posted 1 year ago #

    bump :)

  4. Chris777uk
    Member
    Posted 1 year ago #

    last bump before I give up!! :/
    ;)

  5. Chris777uk
    Member
    Posted 1 year ago #

    ah well ... i give in!

  6. Chris777uk
    Member
    Posted 1 year ago #

    well nearly...

  7. Chris777uk
    Member
    Posted 1 year ago #

    sigh

  8. ChrisThomson
    Member
    Posted 1 year ago #

    Hi Chris.

    You'd also have to transfer over parts of the old stylesheet that have to do with the sidebar, over to the new theme.

    Because I don't know what your stylesheet looks like, I can't help you specifically on which parts to move.

    Sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic