Results 1 to 2 of 2

Thread: Conditional Widget for Ad Category

  1. #1
    Thread Starter
    usa4sale's Avatar
    Join Date
    May 2012
    Location
    United States
    Posts
    89
    Thanks
    5
    Thanked 3 Times in 3 Posts

    Conditional Widget for Ad Category

    Trying to use widget logic to drop a widget into an ad detail page where the ad is in a particular category. I can use conditional widgets on the category page, for instance:

    is_tax('ad_cat', 'furniture')

    But I can't get it to show up on the single ad page. Any suggestions?

    I've tried this:

    if (has_term( 'furniture', 'ad_cat' ) )

    But no go. Anyone encountered a solution to this?

  2. #2
    talent's Avatar
    Join Date
    Jul 2011
    Location
    United Kingdom
    Posts
    3,494
    Thanks
    74
    Thanked 554 Times in 502 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional tags depending on category
    By dydione in forum ClassiPress General Discussion
    Replies: 4
    Last Post: January 19th, 2013, 09:19 PM
  2. [MOD NEEDED] Category-Conditional Colors?
    By unitedwestand in forum ClassiPress General Discussion
    Replies: 5
    Last Post: January 16th, 2013, 02:15 AM
  3. SM Sticky Featured Widget Conditional
    By toms in forum ClassiPress General Discussion
    Replies: 1
    Last Post: May 8th, 2012, 02:09 PM
  4. Category Conditional
    By toms in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 26th, 2012, 04:08 AM
  5. Conditional tags depending on category
    By dydione in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: April 8th, 2012, 08:38 AM