We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42bab35 commit baf767eCopy full SHA for baf767e
inc/amp.php
@@ -105,9 +105,8 @@ function get_pym_ampiframe( $src, $atts = array() ) {
105
<div class='<?php echo esc_attr( $actual_classes ); ?>' id='<?php echo esc_attr( $id ); ?>'>
106
<amp-iframe
107
src='<?php echo esc_url( $src ); ?>'
108
- layout='intrinsic'
109
- width='1200'
110
- height='1200'
+ layout='fixed-height'
+ height='200'
111
sandbox='<?php echo esc_attr( $sandbox ); ?>'
112
frameborder='0'
113
resizable
@@ -136,4 +135,4 @@ function get_pym_ampiframe( $src, $atts = array() ) {
136
135
*/
137
function is_amp() {
138
return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint();
139
-}
+}
0 commit comments