'; } add_action('admin_head', 'customAdmin'); function storefront_page_header() { if ( is_front_page() && is_page_template( 'template-fullwidth.php' ) ) { return; } ?>
get_featured_images( ); //print_r($featured_images); //You can now loop through the image to display them as required foreach($featured_images as $featured_image) { $img = $featured_image['full']; } }?>
', '' ); ?>
'', ) ); ?>
', '' ); } else { the_title( sprintf( '

', esc_url( get_permalink() ) ), '

' ); do_action( 'storefront_post_header_before' ); } ?> %2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), '', '' //esc_attr( get_the_modified_date( 'c' ) ), //esc_html( get_the_modified_date() ) ); // Author. $author = sprintf( '', __( 'by', 'storefront' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ); // Comments. $comments = ''; if ( ! post_password_required() && ( comments_open() || 0 !== intval( get_comments_number() ) ) ) { $comments_number = get_comments_number_text( __( 'Leave a comment', 'storefront' ), __( '1 Comment', 'storefront' ), __( '% Comments', 'storefront' ) ); $comments = sprintf( '%2$s', esc_url( get_comments_link() ), $comments_number ); } ?>
' . get_the_title() . '' ) ); do_action( 'storefront_post_content_after' ); wp_link_pages( array( 'before' => '', ) ); ?>
'; } remove_filter('the_content', 'wpautop'); remove_filter( 'the_excerpt', 'wpautop' );