get( 'post_title' ) ); ?>
load_parts( apply_filters( 'amp_post_article_header_meta', array( 'meta-author', 'meta-time' ) ) ); ?> get( 'post_amp_content' ); /* amphtml content; no kses */ ?>
WordPress powered sites are getting a recommendation by AdSense to support AMP (Accelerated Mobile Pages), you can see this recommendation in the Google AdSense Dashboard.
``` ``` ``` If you find the above complex you can replace the contents of single.php by replacing the contents with the snippet below `````` get( 'html_tag_attributes' ) ); ?>> load_parts( array( 'header-bar' ) ); ?>load_parts( array( 'footer' ) ); ?> ``` ``` I have made a simplified version of this; all you need to do it add your publisher id and you Ad slot to the variables. Hit Update File and the changes should take place immediately. If you have any issues with this leave a comment below, feedback is always accepted. load_parts( array( 'featured-image' ) ); ?> get( 'post_title' ) ); ?>
load_parts( apply_filters( 'amp_post_article_header_meta', array( 'meta-author', 'meta-time' ) ) ); ?>get( 'post_amp_content' ); /* amphtml content; no kses */ ?>