Sidebar seems to be disabled… How do I fix it?
-
I am using the AutoFocus theme. It seems to be designed to not have a sidebar/widgets. However the sidebar.php file is present. What can be done to enable it? I’m not very experienced at this stuff. Here is the sidebar code:
<div id=”primary” class=”sidebar”>
<ul class=”xoxo”>
<?php if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(1) ) : // begin primary sidebar widgets ?><li id=”pages” class=”widget”>
<h3><?php _e(‘Pages’, ‘sandbox’) ?></h3>-
<?php wp_list_pages(‘title_li=&sort_column=post_title&depth=1’ ) ?>
<li id=”search”>
<h3><label for=”s”><?php _e(‘Search’, ‘sandbox’) ?></label></h3>
<form id=”searchform” method=”get” action=”<?php bloginfo(‘home’) ?>”>
<div>
<input id=”s” name=”s” type=”text” value=”<?php echo wp_specialchars(stripslashes($_GET[‘s’]), true) ?>” size=”10″ tabindex=”1″ />
<input id=”searchsubmit” name=”searchsubmit” type=”submit” value=”<?php _e(‘Find’, ‘sandbox’) ?>” tabindex=”2″ />
</div>
</form><li id=”categories” class=”widget”>
<h3><?php _e(‘Categories’, ‘sandbox’); ?></h3>-
<?php wp_list_categories(‘title_li=&hierarchical=1&use_desc_for_title=1’) ?>
<li id=”archives” class=”widget”>
<h3><?php _e(‘Archives’, ‘sandbox’) ?></h3>-
<?php wp_get_archives(‘type=monthly’) ?>
<?php endif; // end primary sidebar widgets ?>
</div><!– #primary .sidebar –>
<div id=”secondary” class=”sidebar”>
<ul class=”xoxo”>
<?php if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2) ) : // begin secondary sidebar widgets ?><li id=”rss-links” class=”widget”>
<h3><?php _e(‘Subscribe’, ‘sandbox’) ?></h3>- ” title=”<?php echo wp_specialchars(get_bloginfo(‘name’), 1) ?> <?php _e(‘Posts RSS feed’, ‘sandbox’); ?>” rel=”alternate” type=”application/rss+xml”><?php _e(‘All posts’, ‘sandbox’) ?>
- ” title=”<?php echo wp_specialchars(bloginfo(‘name’), 1) ?> <?php _e(‘Comments RSS feed’, ‘sandbox’); ?>” rel=”alternate” type=”application/rss+xml”><?php _e(‘All comments’, ‘sandbox’) ?>
<li id=”meta” class=”widget”>
<h3><?php _e(‘Meta’, ‘sandbox’) ?></h3>-
<?php wp_register() ?>
- <?php wp_loginout() ?>
<?php wp_meta() ?>
<?php endif; // end secondary sidebar widgets ?>
</div><!– #secondary .sidebar –>
Thank you!!
- The topic ‘Sidebar seems to be disabled… How do I fix it?’ is closed to new replies.