Results 1 to 5 of 5

Thread: SO, why doesn't Classipress pass along the Parent Category in Ads?

  1. #1
    Thread Starter
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts

    SO, why doesn't Classipress pass along the Parent Category in Ads?

    In response to a problem maggisam has presented elsewhere in the forum I have done some looking around for the past few hours and I will be darned if I know how to INCLUDE the Parent Category Nice name in all ads. I created a mod that showed the parent category of individual ads when they were listed on a list page but...as maggisam has pointed out it would be very useful to show in each ad, no matter how it is sorted in lists after searches, or if the ad shows up in "most popular" or "random"...whatever it would be a very nice option to ALSO display the Parent category where that ad is placed.

    Right now Classipress will not display the Parent Category within the ad. The final sub-category, yes, but not the Parent category for that ad.

    I have looked all over wordpress sites and functions and I find all kinds of things that pre-suppose you want to see the children of a parent. But nothing that goes backward... using the child to go backwards in the tree, find the parent, and display the Parent category name.

    The few things I thought might work are WP functions that choke on Classipress.

    Does someone have the answer to such a simple thing?

    It seems to me that every ad in its classipress loop ought to pass along the PARENT category id and catname for each ad no matter what sub-category it belongs to. Then we can ad it to the string if we choose to.

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 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
    By patsal in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: January 21st, 2011, 05:20 AM
  2. 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
  3. 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
  4. 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