did you make the template yourself ? Can I see the code you have in your sidebar.php ?
[sig moderated]
Thanks for the response! Here is the code below.
<div id=”sidebar”>
<?php if (is_home()) { $check_home = ‘1’; } else { $check_home = ‘0’; } ?>
<div class=”sidebar_left”>
</div>
<div class=”sidebar_right”>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(2) ) : ?>
-
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
-
<?php /* If this is the frontpage */ if ($check_home == ‘1’) { ?>
<?php get_links_list(); ?>
<?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>
<?php wp_get_archives(‘type=monthly’); ?>
<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=1’); ?>
<?php } ?>
<?php endif; ?>
</div>
<div style=”clear:both;”></div>
</div>
sunflyer,
this forum doesnt allow signatures. and did you know you are violating Matt’s trademark?
http://wordpress.org/about/domains/
thats the sidebar.php code.
check the Main Index Template (index.php) or in your footer.php, look for
<?php get_sidebar(); ?>
If i dont have this <?php get_sidebar(); ?> code, should I apply it somewhere? will that bring my sidebar to all pages?
that is the command that adds your sidebar code, it should come immediately after closing your content div. which usually occurs in your footer.php i.e.
<!-- begin footer -->
</div> <!-- close content -->
<?php get_sidebar(); ?>
Still no luck. I am seriously stuck. Does anyone have AIM/MSN, I would be willing to paypal anyone that can help me solve this problem.
Thanks again Whistler
in your first sidebar is code that checks to see if the page is the home page and assigns a variable.
<div id="sidebar">
<?php if (is_home()) { $check_home = '1'; } else { $check_home = '0'; } ?>
in the second sidebar, and i’m assuming this is the one missing, it checks the variable.
if you want the second bar to appear on all pages you need to take out the if statement
<div class="sidebar_right">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php /* If this is the frontpage */ if ($check_home == '1') { ?>
<?php get_links_list(); ?>