Results 1 to 8 of 8

Thread: Displaying empty categories in CP2.9?

  1. #1
    Thread Starter
    Veteran sarge's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    628
    Thanks
    2
    Thanked 9 Times in 9 Posts

    Displaying empty categories in CP2.9?

    Can anyone tell me how to have empty categories display on the index page?

    I saw a few posts/questions on older versions, but nothing on 2.9. The code looks to be different than the code on older versions and I don't want to screw anything up.

    Here is the actual code for 2.9.
    Code:
    <?php wp_list_categories('show_count=0&hide_empty=true&orderby=name&order=asc&title_li='); ?>
    What part of the code needs to be edited for empty categories to be displayed.

    Also, will the sub-categories show if the main category is empty?

    Thanks in advance.
    Always treat everyone with respect and courtesy, but trust no one.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    37,828
    Thanks
    161
    Thanked 3,094 Times in 2,968 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Junior Member
    Not a Verified Customer
    planetsean's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Veteran sarge's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    628
    Thanks
    2
    Thanked 9 Times in 9 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!
    Always treat everyone with respect and courtesy, but trust no one.

  5. #5
    Junior Member
    Not a Verified Customer
    planetsean's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Veteran sarge's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    628
    Thanks
    2
    Thanked 9 Times in 9 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!
    Always treat everyone with respect and courtesy, but trust no one.

  7. #7
    Junior Member lhd333's Avatar
    Join Date
    Mar 2009
    Location
    United States
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Junior Member lhd333's Avatar
    Join Date
    Mar 2009
    Location
    United States
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Displaying empty categories in CP2.9?

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Displaying a Main Image or Large Image for listings
    By kwave12 in forum ClassiPress General Discussion
    Replies: 20
    Last Post: December 10th, 2010, 04:47 PM
  2. How to include Empty WordPress Categories
    By kiltin in forum ClassiPress General Discussion
    Replies: 2
    Last Post: May 21st, 2009, 08:14 PM