Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: all category display on frontpage

  1. #1
    Thread Starter
    togitron's Avatar
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    70
    Thanks
    8
    Thanked 4 Times in 4 Posts

    all category display on frontpage

    How do you turn on the display for all the categories in the front page, even if there isnt anything listed?

    I have been searching the forums but cant find anything on it..

    help needed please..

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: all category display on frontpage

    You can change this within index.php. Search for

    Code:
    wp_list_categories('show_count=0&title_li=&depth=1');
    and then add the "hide_empty" parameter to the list. So after depth=1 add &hide_empty=0

    Source: http://codex.wordpress.org/Template_Tag ... categories

  3. #3
    Thread Starter
    togitron's Avatar
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    70
    Thanks
    8
    Thanked 4 Times in 4 Posts

    Re: all category display on frontpage

    Thank you.. that did the trick!

  4. #4
    Member
    Not a Verified Customer
    secretstache's Avatar
    Join Date
    Mar 2009
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    thats nice i was not aware of the hide_empty parameter

  5. #5
    Newbie
    Not a Verified Customer
    drfirefighter's Avatar
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    theres a few different index.php in different folders.
    can you tell me which one is it?
    thanks

  6. #6
    Newbie
    Not a Verified Customer
    drfirefighter's Avatar
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    nm figured it out
    its the index.php under classipress under themes folder

  7. #7
    Thread Starter
    togitron's Avatar
    Join Date
    Apr 2009
    Location
    Philippines
    Posts
    70
    Thanks
    8
    Thanked 4 Times in 4 Posts

    Re: all category display on frontpage

    how do we display all the categories on the 2.9 release without breaking the margins?

    old 2.8 -<?php wp_list_categories('show_count=0&title_li=&depth=1 &hide_empty=0'); ?>

    new 2.9.2 -<?php wp_list_categories('show_count=0&hide_empty=true&o rderby=name&order=asc&title_li='); ?>

    if we follow the old hide_empty=0 - it breaks the margin.

  8. #8
    Amateur
    Not a Verified Customer
    billy's Avatar
    Join Date
    May 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    bump...

    wondering the same thing.

  9. #9
    valerio's Avatar
    Join Date
    May 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    I think we need to move the categories to another place... If you have more than 10 or 11 your design goes crazy. I'm working on a project with around 30 categories and I think I will creade a widget zone somewhere..... Or may be use a dropdown list?

    Valerio
    ---------
    Managing MailingLists and NewsLetters with FollowUps..?
    Try http://www.YellowCurl.com

  10. #10
    Junior Member northwoodstrader's Avatar
    Join Date
    May 2009
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: all category display on frontpage

    Quote Originally Posted by Valerio
    I think we need to move the categories to another place... If you have more than 10 or 11 your design goes crazy. I'm working on a project with around 30 categories and I think I will creade a widget zone somewhere..... Or may be use a dropdown list?

    Valerio
    we have over 80 categories and we use a scroll over drop for them. take a look if you like. http://www.northwoodstrader.com" onclick="window.open(this.href);return false;

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)