Results 1 to 4 of 4

Thread: Cant get this to work (banner for specific category)

  1. #1
    Thread Starter
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts

    Cant get this to work (banner for specific category)

    Hi, i've tried just about every permutation i can think of to get this working in taxonomy-ad_cat.php:

    Code:
    <?php if(in_category('Swimming Pools & Spas')) { ?>
    <div class="sp_banner_ad">
              <?php if(function_exists("useful_banner_manager_banners")){ useful_banner_manager_banners("1",1); } ?>
              </div><!-- / sp_banner_ad -->
    <?php } ?>
    and it just wont have it, i have tried using category id instead of human friendly title, is_taxonomy and a whole multitutude of stuff, the end result is to show a company sponsored banner add specific to category.

    Searching through here im finding that in_category works.. but not at my end

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 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
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 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. How to Add a Specific Category on the Navigation Bar
    By mrg19 in forum ClassiPress General Discussion
    Replies: 14
    Last Post: September 18th, 2011, 03:16 AM
  2. Featured Bar Category Specific?
    By whiteknight in forum ClassiPress General Discussion
    Replies: 2
    Last Post: May 10th, 2010, 05:16 AM
  3. Featured Bar Category Specific?
    By whiteknight in forum Help Using ClassiPress
    Replies: 2
    Last Post: December 31st, 1969, 07:00 PM