Results 1 to 1 of 1

Thread: Calling certain category by Slug not term_ID

  1. #1
    Thread Starter
    davidr91's Avatar
    Join Date
    Nov 2014
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Calling certain category by Slug not term_ID

    Hello, I m trying to call a particular category for the conditional statement. I know how to call it with custom taxonomy like

    $cat_id = apptheme_get_custom_taxonomy ($post->ID, 'ad_cat', 'term_id');

    This function calls by term ID. I want to call the category by 'slug'. I couldn't able to get the solution after reading many materials. Please help me.

    Regards

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samcy Permalinks and Ad Category Slug
    By brianbemis in forum Help Using ClassiPress
    Replies: 3
    Last Post: February 5th, 2015, 09:21 AM
  2. Permalinks and Ad Category Slug
    By brianbemis in forum ClassiPress General Discussion
    Replies: 0
    Last Post: January 27th, 2015, 01:32 PM
  3. Dimitris How not to show listing URL slug in category URLs
    By seschweyen in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: December 30th, 2013, 12:25 PM
  4. Changing the /category path to the slug of a given category
    By trebbort in forum ClassiPress General Discussion
    Replies: 0
    Last Post: November 30th, 2012, 04:49 AM
  5. Is it possible to get the category id and slug in ads detail page
    By gondal4u in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 27th, 2011, 08:57 AM