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 -->

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.