Help me to correct this code
-
Hello am trying to display ads in my amp pages, but unfortunately I think the codes is wrong, please help me out, thanks in advance
//Adding Header Code in AMP pages in WordPress add_action(‘amp_post_template_head’,’nhb_amp_my_custom_head’); function nhb_amp_my_custom_head($amp_template) { ?> //adsense_header_code <?php } //Adding Footer Code in AMP pages in WordPress add_action(‘amp_post_template_footer’,’nhb_amp_my_custom_footer’); function nhb_amp_my_custom_footer($amp_template) { ?> //adsense_body_code <?php }
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Help me to correct this code’ is closed to new replies.