Results 1 to 3 of 3

Thread: parent category

  1. #1
    Thread Starter
    Junior Member patsal's Avatar
    Join Date
    Jan 2011
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    parent category

    hi

    i need to see the parent's category and not the child, in this line :

    <span class="folder"> <?php if (get_the_category()) the_category(', '); else echo get_the_term_list($post->ID, 'ad_cat', '', ', ', ''); ?>

    can you help me ? ty

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,956
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    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
    Thread Starter
    Junior Member patsal's Avatar
    Join Date
    Jan 2011
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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. Parent Category in Bold
    By ahayes183 in forum ClassiPress General Discussion
    Replies: 14
    Last Post: July 19th, 2014, 07:07 AM
  2. need parent category dispalyed in list
    By maggisam in forum ClassiPress General Discussion
    Replies: 4
    Last Post: March 23rd, 2011, 01:25 PM
  3. Show parent category in index, search result and category
    By setempat in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 7th, 2011, 05:02 AM
  4. Icons Category Overides by the Parent category name
    By lcnarciso88 in forum Help Using ClassiPress
    Replies: 3
    Last Post: November 17th, 2010, 09:39 AM
  5. price by category how to disable parent category select
    By lours in forum Help Using ClassiPress
    Replies: 1
    Last Post: October 14th, 2010, 02:50 PM