editorplus-template.php (1486B)
1 <?php 2 /** 3 * Template Name: Extendify Template 4 * Template Post Type: post, page 5 */ 6 7 $extendifysdkCustomStyles = get_post_meta( 8 isset($GLOBALS['post']) ? $GLOBALS['post']->ID : 0, 9 'extendify_custom_stylesheet', 10 true 11 ); 12 13 ?> 14 <?php wp_head(); ?> 15 <body <?php body_class(); ?>> 16 <div class="ep-temp-container ep-container"> 17 18 <div class="ep-temp-entry-content"> 19 <?php 20 if (have_posts()) { 21 while (have_posts()) { 22 the_post(); 23 the_content(); 24 } 25 } 26 ?> 27 28 </div> 29 30 31 </div><!-- #site-content --> 32 <style> 33 .ep-temp-container { 34 margin-left: auto; 35 margin-right: auto; 36 min-width: 1280px; 37 } 38 .ep-temp-container .alignfull { 39 min-width: 1280px !important; 40 } 41 @media(min-width: 700px) { 42 .ep-temp-container [class*=extendify-] [class*=wp-block] > * { 43 margin-top: 0px; 44 } 45 .ep-temp-container [class*=wp-block] > * .wp-block-button__link { 46 border-radius: 0px !important; 47 } 48 .ep-temp-container .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter) { 49 margin-top:0px; 50 } 51 body {background-color: #fff;} 52 html, body { 53 font-size: 16px !important; 54 } 55 } 56 </style> 57 </body> 58 59 <?php 60 wp_footer();