AdSense in Amped Theme

Community Forums Forums Design Tips and Tricks AdSense in Amped Theme

This topic is: not resolved


This topic contains 1 reply, has 2 voices, and was last updated by  Summer 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #77649


    How do I remove the Adsense Code in the Amped Child Theme? Its appearing below my blog posts only and I would like to remove it. The unsophisticated answer seems to be comment it out in the adsense.php page and also comment out the class in the CSS. But I feel like there is a hook somewhere that attached but I can locate it. I have installed simple hooks to check but no such luck on the posts page hooks.

    Post count: 1123

    Best bet is to edit the functions.php and remove this part (or comment out the “add_action” call):

    // Add Google AdSense after single post
    add_action('genesis_after_post_content', 'amped_include_adsense', 9); 
    function amped_include_adsense() {

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.