Results 1 to 2 of 2

Thread: Adding Ad-Category to Header Area

  1. #1
    Thread Starter
    Expired Customer maintenanceguy's Avatar
    Join Date
    Apr 2015
    Posts
    24
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Adding Ad-Category to Header Area

    I want to insert a page's ad category into the page header area.

    I have inserted a line of text into header.php and I'm getting text where I want the text. But I'm having trouble displaying the page's or listing's ad category.

    I've tried the following:

    <?php echo APP_TAX_CAT; ?> which displays ad_cat

    <?php echo ad_cat; ?> which displays ad_cat

    <?php echo CP_Ads_Categories; ?> which displays CP_Ads_Categories

    I also tried some other variables out of desperation and as expected, none of those worked either.

    Just to make sure I'm at least barking up the right tree, I tried:

    <?php echo CP_VERSION; ?> which displayed 3.4.1, so I know the concept is sound.

    Can anybody tell me what I should be echoing? Do I need to define a variable somewhere.

    As always, any help is greatly appreciated.

  2. #2
    Thread Starter
    Expired Customer maintenanceguy's Avatar
    Join Date
    Apr 2015
    Posts
    24
    Thanks
    0
    Thanked 4 Times in 3 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. Replies: 5
    Last Post: March 7th, 2014, 11:09 AM
  2. [SOLVED] Change Font in Content Block Header Area and Widget Header Area
    By rubyfoxsc in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: March 10th, 2013, 06:07 AM
  3. Adding Images below Search area
    By hedo0324 in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: February 15th, 2013, 03:25 PM
  4. [MOD NEEDED] Adding another tab to the advert sidebar tab area
    By nickcollins in forum ClassiPress General Discussion
    Replies: 2
    Last Post: April 3rd, 2012, 12:08 PM
  5. Ads adding to featured area
    By giuseppe1 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 30th, 2012, 01:39 AM