[Theme: zeeSynergie ] Including AdSense under header (2 posts)

  1. DryCleaningPricesHQ
    Posted 3 years ago #

    I've tried to find the answer for this on the forum and google but it appears that the answer is specific to the theme and I've been unable to get things to work with the theme I use: I'm trying to included an adsense banner underneath the header on the zeeSynergie theme. I understand it needs to be in the header.php page, but where?

    Also, I'm using the plug-in Quick Adsense is it better to use the shortcode, or is it better to just insert the Google AdSense code directly into the header.php file?

    I've only been using WordPress for a couple of weeks so any hints you can give are much appreciated.

  2. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

    possibly add it above this line:
    <div id="wrap">

    you can add the adsense code directly, possibly wrapped in a div for easier formatting; example:

    <div class="top-ads">

    or, if you want to use shortcode (which might have advantages if the plugin offers stats?), try:

    <?php echo apply_filters('the_content','[whatevershortcode]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic