'post', 'posts_per_page' => 3, 'ignore_sticky_posts' => TRUE, 'meta_query' => array( // only posts with thumbnail 'key' => '_thumbnail_id', 'compare' => 'EXISTS' ) ); $featured_query = new WP_Query( apply_filters( 'amp_wp_home_featured', $featured_args ) ); amp_wp_set_query( $featured_query ); // Enqueue AMP carousel script amp_wp_enqueue_script( 'amp-carousel', 'https://cdn.ampproject.org/v0/amp-carousel-0.1.js' ); ?> delay="3500" autoplay>
%2$s', '%3$s' ), amp_wp_translation_get( 'by_on' ) ); printf( $meta_text, esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( get_the_author() ), esc_html( get_the_date() ) ); ?>