Current User: Guest
search Vladimirs WordPress Forum 
Search Forums:


searchicon Vladimirs WordPress Forum 




topic Vladimirs WordPress Forum

categories in header

addtopic Vladimirs WordPress ForumAdd a New Topic addpost Vladimirs WordPress ForumReply to Post
UserPost

4:43
28 August, 2008


Ray

Guest

 Vladimirs WordPress Forum

Hi, 

Is there an option to not display the categories in the header?

Thanks, Ray

14:44
28 August, 2008


Ray

Guest

 Vladimirs WordPress Forum

Thanks. I was able to figure it out. i deleted this code in the header.php file

<?php wp_list_categories('orderby=count&show_count=0&hierarchical=0&number=4&title_li=&depth=1'); ?>

16:49
30 August, 2008


Vladimir

Admin

 Vladimirs WordPress Forum

posts 177

Spot on!

0:15
2 September, 2008


Gina

Guest

 Vladimirs WordPress Forum

Oh darn…I was hoping this post was about my question…but it's not.

First off…I LOVE your AG theme!  I actually BOUGHT a couple themes and YOURS is the one I'm using.  It is soooo easy to load, manipulate, and it looks the best too.

Here is my lame, newbie question about these category headers:  I found the wp_list_categories code in my header.php….but I do not know how to use this to my advantage.  I followed a link you provided to wordpress…but still, I cannot follow the tech-logic.  <sigh>

I'm trying to change those 4 tabs so that they will list 4 specific categories.  Is there a simplified way to learn this?

Thanks for your help!

~G

0:21
2 September, 2008


Vladimir

Admin

 Vladimirs WordPress Forum

posts 177

Thanks that means I could charge as well for my theme and people would buy it? :)

All info is available at the wordpress link I provided, just try a bit harder.

18:14
11 October, 2008


CoolHappyGuy

Guest

 Vladimirs WordPress Forum

I find that this topic comes up quite often.  Hopefully I can help explain.

  1. Go to Design>Theme Editor>Header.php
  2. Locate the code <?php wp_list_categories('number=5&exclude=&orderby=name& (and so on).
  3. Replace the above with something like <?php wp_list_categories('number=5&show_count=0&hierarchical=0&title_li=&orderby=name&include=5,8,13,21'); ?> 
  4. In the “include=” parm, replace with the category numbers of the categories you wish to display.
  5. If you can not find category numbers, download the Reveal IDs for WP Admin Plugin

Your specific categories should now display in alphabetic order from left to right.

addtopic Vladimirs WordPress ForumAdd a New Topic addpost Vladimirs WordPress ForumReply to Post


Reply to Topic: categories in header

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 8 + 6        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.4 (Build 357)  information Vladimirs WordPress Forum