Results 1 to 3 of 3

Thread: Help with Conditional for Ad Categories

  1. #1
    Thread Starter
    Newbie bcpara's Avatar
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with Conditional for Ad Categories

    I'm hoping someone can help with a conditional, or point me to thread if one exists. I have a website that's going to show a different sponsor ad in each ad category. The advertising system we're using for this supplies the bit of PHP code we need but I'm stuck on how to insert this in the sidebar to have it display the ad correctly. The code they provide is this:

    PHP Code:
    <?php if( function_exists'displayAdzone' ) )    echo displayAdzone); ?>
    I need to alter it so that it looks in a specific ad category as well. So, if in a specific ad category display this ad zone, else if in this category display this ad zone, etc.

    Any advice here appreciated.

    Cheers,
    Brandon

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    38,428
    Thanks
    161
    Thanked 3,163 Times in 3,035 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
    Newbie bcpara's Avatar
    Join Date
    Aug 2011
    Location
    Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 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. Number conditional
    By toms in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 6th, 2012, 02:16 AM
  2. Meta Tag Conditional
    By toms in forum ClassiPress General Discussion
    Replies: 4
    Last Post: April 28th, 2012, 08:07 AM
  3. Category Conditional
    By toms in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 26th, 2012, 04:08 AM
  4. Wordpress Conditional Needed
    By toms in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 20th, 2011, 08:55 AM
  5. Job Type Conditional Statement Help
    By fluidcue in forum Report JobRoller Bugs
    Replies: 1
    Last Post: February 9th, 2011, 09:00 AM