1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<!doctype html> <html amp <?php echo Penci_AMP_HTML_Utils::build_attributes_string( $this->get( 'html_tag_attributes' ) ); ?>> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> <?php do_action( 'penci_amp_post_template_head', $this ); ?> <style amp-custom> <?php $this->load_parts( array( 'style' ) ); ?> <?php do_action( 'penci_amp_post_template_css', $this ); ?> </style> </head>
<?php $sticky_header = penci_amp_get_setting( 'penci_amp_sticky_header' ) ? ' sticky-header' : ''; ?> <body class="<?php echo join( ' ', get_body_class( 'penci-amp-body' . $sticky_header ) ); ?>"> <?php do_action( 'penci_amp_after_body_tag', $this ); ?> <?php $this->load_parts( array( 'sidebar' ) ); ?> <div class="penci-amp-wrapper"> <?php $this->load_parts( array( 'header-bar' ) ); ?> <div class="wrap"> <?php $this->load_parts( array( 'archive-title' ) ); ?> <?php penci_amp_render_google_adsense( 'penci_amp_ad_archive_above_posts' ); ?> <?php $this->load_parts( array( 'featured-posts' ) ); ?> <?php $this->load_parts( array( 'pagination' ) ); ?> <?php penci_amp_render_google_adsense( 'penci_amp_ad_archive_below_posts' ); ?> <?php $this->load_parts( array( 'footer' ) ); ?> </div> <?php do_action( 'penci_amp_post_template_footer', $this ); ?> </div> </body> </html>
|