Results 1 to 1 of 1

Thread: Using has_term for Ad Category

  1. #1
    Thread Starter
    Newbie mattisaas's Avatar
    Join Date
    Oct 2011
    Location
    Norway
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using has_term for Ad Category

    Hi!

    I want to add a <h5> with some more information for every ad – on the home page, category etc. — so that would be in loop-ad_listing.php. Just some information from custom fields, like country, phone no. etc. This part is easy.

    But I only want to do that with two of my three categories. I tried to do it with in_category, but realized ClassiPress use custom taxonomies. Then I guess I should use has_term, but I don’t know how. Any suggestions?

    Thank you! :-)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Category and sub category for Jobs category and Resume Category.
    By persie in forum JobRoller General Discussion
    Replies: 1
    Last Post: November 11th, 2013, 10:18 AM
  2. Replies: 1
    Last Post: November 11th, 2013, 10:18 AM
  3. Replies: 3
    Last Post: October 21st, 2012, 01:55 AM
  4. Vantage 1.1 Category in Widget is Blog Category not Listing Category?
    By TheSyndicate in forum Report Vantage Bugs (Legacy)
    Replies: 1
    Last Post: August 24th, 2012, 10:50 AM
  5. [MOD NEEDED] Separate Search bar category (Main category dropdown, Sub-Catogory Dorpdown list)
    By anthonyportal1 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 17th, 2011, 07:08 AM