• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Adsense Mobile Ads

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Adsense Mobile Ads

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 13 years, 1 month ago by Mahesh.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 31, 2013 at 11:42 am #43392
    Mahesh
    Member

    I am trying to add adsense mobile ad on genesis theme (made up from sample theme). As the theme is php code, I wonder where to place it. I have simple hooks installed but not sure how to add the php code with the help of it.

    Any suggestions?

     

    May 31, 2013 at 11:55 am #43395
    AnitaC
    Keymaster

    Please provide a link to your website so we can take a look.


    Need help with customization or troubleshooting? Reach out to me.

    June 1, 2013 at 1:20 am #43437
    Mahesh
    Member

    Here is the link to the website.

    June 1, 2013 at 4:51 am #43442
    AnitaC
    Keymaster

    Use the Geness Hooks Guide to find your location - http://genesistutorials.com/visual-hook-guide/.


    Need help with customization or troubleshooting? Reach out to me.

    June 1, 2013 at 8:12 am #43463
    Mahesh
    Member

    I did find the location and I am showing the regular ads. But the mobile ads seems to have the PHP code which doesn't get parsed if used in simple hooks in specific location. It shows the code raw.

    June 1, 2013 at 8:37 am #43464
    AnitaC
    Keymaster

    If you have PHP going into the hook area, you need to put a checkmark in the box that says Execute PHP.


    Need help with customization or troubleshooting? Reach out to me.

    June 13, 2013 at 7:51 am #45654
    Mahesh
    Member

    I tried using this method as well. Still the php code is parsed in raw and is not compiled.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble