Can I get new themes sidebar to look like my old one (I have the code)
-
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 https://www.chrissayburn.com
please help if you can im going crazy!! ??
- The topic ‘Can I get new themes sidebar to look like my old one (I have the code)’ is closed to new replies.