WordPress.org

Ready to get started?Download WordPress

Forums

Easy AdSense
Nelow header facility not working (2 posts)

  1. jonrosling
    Member
    Posted 2 years ago #

    The option to put banner ads "Below the header" isn't working properly.

    It puts an ad at the top of every post, the same effect as the "Beginning of every post" option.

    The "Above header" works fine.

    I'm using the latest version of the Evolve theme.

    Any ideas/workarounds/solutions?

    Jon.

    http://wordpress.org/extend/plugins/easy-adsense-lite/

  2. manojtd
    Member
    Plugin Author

    Posted 2 years ago #

    This placement option has some issues with certain themes and plugins. I mentioned this in the FAQ:

    The new placement option for lead-in ad block in the header doesn't work the way I like. Can you fix it?

    Short answer: No, I couldn't figure out how to do it better.

    Long answer: This option works by adding an action to a hook in WordPress. I could not find a hook that would get activated right after the <body> tag in the generated HTML, and right after the header image is placed (and before the sidebars are inserted). If you know the hook names, please let me know. Also, if your theme has "side" bars near the header and footer (north and south sidebars), there may be conflicts between add_action hooks resulting in unexpected behavior.

    Note that the Below Header and End of Page options are hacks that may not be compatible with the WordPress default widget for Recent Posts or anything else that may use DB queries or loops. If you have problems with your sidebars and/or font sizes, please choose some other Position option.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic