WordPress.org

Ready to get started?Download WordPress

Forums

Mobile Theme Ads for Jetpack
[resolved] How to make a plugin to add adsense code below header? (3 posts)

  1. rick1971
    Member
    Posted 6 months ago #

    In additional to the ad at the bottom of the mobile page, I also hard coded into the end of the minileven header another adsense ad. The problem is that when Jetpack updates, the code gets removed.

    With regular themes I would use a child theme to address that. Is there a simple way to add code to the end of the header file with a plugin?

    Thanks.

    https://wordpress.org/plugins/jetpack-mobile-theme-ads/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    You can use actions and filters to hook elements into the Mobile Theme through a small plugin. You can read more about it here:
    http://jetpack.me/2013/06/27/customize-mobile-theme/#throughactionsandfilters

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    I've just updated the plugin and added a new option to place ads before the post content, right below the post titles.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.