Jump to content

I want to show categories in header instead of pages.


hadi

Recommended Posts

 

Link to my site http://theiloop.com , the theme i am using is iBlogpro

I want to show categories in my navbar instead of pages (and if i am able to show wordpress menu in the navbar that would be better). Please help

here is the code of the navbar

<div id="nav" class="fix">

  <ul class="fix dropdown">

      <li class="page_item navfirst">

     

        <a class="home" href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home',TDOMAIN);?>" style="background-image: url('<?php e_pagelines('nav_home_image', THEME_IMAGES.'/home-icon-trans.png');?>');">

            <?php _e('Home',TDOMAIN);?> 

        </a>

      </li>

      <?php

        $frontpage_id = get_option('page_on_front');

        if($bbpress_forum && pagelinesforum('exclude_pages')){ $forum_exclude = ','.pagelinesforum('exclude_pages');}

        else{ $forum_exclude = '';}

        wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=3&title_li=');?>

  </ul>

  <?php if(!pagelines('hidesearch')):?>

      <?php include (THEME_LIB . '/_searchform.php'); ?>

  <?php endif;?>

</div><!-- /nav -->

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.