Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Add category nav to listing detail?

  1. #11
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,000
    Thanks
    115
    Thanked 107 Times in 93 Posts

    Re: Add category nav to listing detail?

    Nice!
    I've even added it to my 404 template.
    The search button. Your new best friend.
    - Dubya

  2. #12
    Thread Starter
    chifen's Avatar
    Join Date
    May 2009
    Location
    Sweden
    Posts
    326
    Thanks
    18
    Thanked 13 Times in 12 Posts

    Re: Add category nav to listing detail?

    GREAT!!

  3. #13
    Rookie
    Not a Verified Customer
    ricland's Avatar
    Join Date
    May 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add category nav to listing detail?

    I'm not getting this.

    On that Purple Page example with all the catgories. What's the code to get the categories to display like that, even if there's nothing in a particular category?

    thanks

  4. #14
    Thread Starter
    chifen's Avatar
    Join Date
    May 2009
    Location
    Sweden
    Posts
    326
    Thanks
    18
    Thanked 13 Times in 12 Posts

    Re: Add category nav to listing detail?

    I think best is if you do welcome ad and mark to every category you have made ....

  5. #15
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Add category nav to listing detail?

    or you could change:
    hide_empty=true
    Code:
    <?php wp_list_categories('show_count=0&hide_empty=true&orderby=name&order=asc&title_li='); ?>
    to
    hide_empty=false
    Code:
    <?php wp_list_categories('show_count=0&hide_empty=false&orderby=name&order=asc&title_li='); ?>
    but it's best to not have any empty categories.

  6. #16
    Rookie
    Not a Verified Customer
    ricland's Avatar
    Join Date
    May 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add category nav to listing detail?

    Quote Originally Posted by chifen
    I think best is if you do welcome ad and mark to every category you have made ....
    I have no idea what this means

  7. #17
    Rookie
    Not a Verified Customer
    ricland's Avatar
    Join Date
    May 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add category nav to listing detail?

    Quote Originally Posted by PointandStare
    or you could change:
    hide_empty=true
    Code:
    <?php wp_list_categories('show_count=0&hide_empty=true&orderby=name&order=asc&title_li='); ?>
    to
    hide_empty=false
    Code:
    <?php wp_list_categories('show_count=0&hide_empty=false&orderby=name&order=asc&title_li='); ?>
    but it's best to not have any empty categories.

    What file is this?

    Ric

  8. #18
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Add category nav to listing detail?

    It depends if you've modified the files or not but it's in index.php in the classipress theme.

    Code:
    <?php
    get_header( ); 
    ?>
    
    	<div class="content">
    	
    		<ul id="catnav">
                <li<?php if ( is_home() ) { echo " class=\"current-cat\""; } ?>><?php _e('Latest Listings','cp'); ?>
    			<?php wp_list_categories('show_count=0&hide_empty=true&orderby=name&order=asc&title_li='); ?>
    			[*]<div class="clear"></div>[/list]

  9. #19
    Thread Starter
    chifen's Avatar
    Join Date
    May 2009
    Location
    Sweden
    Posts
    326
    Thanks
    18
    Thanked 13 Times in 12 Posts

    Re: Add category nav to listing detail?

    Quote Originally Posted by ricland
    Quote Originally Posted by chifen
    I think best is if you do welcome ad and mark to every category you have made ....
    I have no idea what this means

    Do article by your self, ex: Welcome to our Company etc etc.

    Go to wordpress admin articels and take your welcome article and change to every category and sub category, then you have welcome article on every category you like and your visitor don`t have go to empty category...

  10. #20
    Junior Member dandra's Avatar
    Join Date
    May 2009
    Location
    Brazil
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add category nav to listing detail?

    Hello Guys ...
    Good morning.
    Will someone help?
    Take a look at my site - www.pravender.com.br - appears on the side of search "none of" how do I fix this?
    Or that I would be the problem of continuing button?
    Grateful

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I donīt want to choose a category, I want a default category
    By dvmblues in forum ClassiPress General Discussion
    Replies: 1
    Last Post: March 10th, 2010, 01:57 PM