WordPress.org

Forums

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

  1. rick1971
    Member
    Posted 1 year 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 1 year 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 11 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Mobile Theme Ads for Jetpack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.