Results 1 to 6 of 6

Thread: Cannot get header area to display shortcode of ad widget!

  1. #1
    Thread Starter
    loudsugar's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cannot get header area to display shortcode of ad widget!

    I just spent the last 3 hours attempting to get this to work to no avail.

    I have the widgets set up in the footer:

    If you look on the page at:
    http://vestrocket.com

    You will see that the sidebar banners, footer banner are all working great. But for some reason, in the header, it's simply echoing out the shortcode?

    [widget id="minimax_blk125_widget-6"]
    For some reason, I can't get this to output anything. I've tried even using the shortcodes from the working banners and pulling it into an echo_shortcode call, like:

    <?php echo do_shortcode('[widget id="minimax_blk125_widget-6"]'); ?>
    But it's simply not working.

    I've tried using single quotes, double quotes, and I've echoed other text to ensure I'm doing it in the right area:

    This is found in our functions.php. I've tried echoing text to make sure I'm editing in the right spot, and I am.

    <?php if ( get_option('cp_adcode_468x60_enable') == 'yes' ) { ?>
    <div class="adblock">
    <?php
    // $shortcode = appthemes_header_ad_468x60();
    echo do_shortcode('[widget id="minimax_blk125_widget-4"]');?>
    </div><!-- /adblock -->
    <?php } ?>
    I really, really need help getting this ad unit to display. Of course, we want to have it use a 468x60 banner as well.

    Please, please help me! I will give you any information you need. Thank you so much!

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    Thread Starter
    loudsugar's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  5. #5
    Thread Starter
    loudsugar's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    loudsugar's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    7
    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. Remove Entire Footer Widget Area?
    By seointern in forum Clipper General Discussion
    Replies: 8
    Last Post: April 13th, 2013, 03:39 PM
  2. Remove Entire Footer Widget Area?
    By seointern in forum Report Clipper Bugs
    Replies: 1
    Last Post: May 29th, 2012, 09:42 AM
  3. Total Area display counter
    By travelsnake in forum ClassiPress General Discussion
    Replies: 4
    Last Post: January 31st, 2012, 11:54 AM
  4. Editing page width (content and widget area)
    By naturalrabbitfood in forum ClassiPress General Discussion
    Replies: 0
    Last Post: January 11th, 2012, 08:59 AM
  5. Disable/Remove Footer Widget Area
    By domo in forum Report Clipper Bugs
    Replies: 13
    Last Post: August 2nd, 2011, 08:48 PM