Help needed with sidebar code
-
Hi i’m a bit puzzled why the sidebar code isn’t working properly.
Althou I have little php experience, i can see the logic in the code but i fail to see where something is missing.It was working fine, but when i removed a script i must have done something wrong because ever since the sidebars are missing on my site.
here is the crippled sidebar.php code :
————————————————-<div id="sidebar"> <div class="side1"> <ul> <?php jh_ShowAbout(); ?> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?> <?php wp_list_pages('title_li=<h2>Live Charts</h2>' ); ?> <li class="blockr"> <?php endif; // end 1 Dynamic Sidebar ?> </li> </div> </div> </div> <!-- end left --> <div id="right"> <div class="side2"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <li class="blockr"><h2>Search on This Blog</h2> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <?php /* If this is the frontpage */ if (is_home()) { ?> <?php wp_list_bookmarks(); ?> <?php } ?> <li class="blockr"> <h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> <h2>World Market Watch</h2> <ul> <script type="text/javascript" src="https://widgetserver.com/syndication/subscriber/InsertWidget.js?appId=273ddd4e-dd6f-4593-9f00-ca4d903b40ec"></script><noscript>Get the <a href="https://www.widgetbox.com/widget/sanebull-world-market-watch">SaneBull World Market Watch</a> widget and many other <a href="https://www.widgetbox.com/">great free widgets</a> at <a href="https://www.widgetbox.com">Widgetbox</a>!</noscript> </ul> <h2>Recent Hits</h2> <ul> <script type="text/javascript" src="https://feedjit.com/map/?bc=e8f5f6&tc=714e4e&brd1=336699&lnk=e8f5f6&hc=318be4&dot=5757e2"></script><noscript><a href="https://feedjit.com/">Feedjit Live Blog Stats</a></noscript> </ul> </div> </div>
————————————————–
any help would ne greatly appreciated.kind regards, Marva.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Help needed with sidebar code’ is closed to new replies.