/** * Display the post header with a link to the single post * @since 1.0.0 */ function storefront_page_header() { ?> <header class="entry-header"> <?php storefront_post_thumbnail('full'); the_title('<h1 class="entry-title" itemprop="name">', '</h1>'); ?> </header><!-- .entry-header --> <?php }
/** * Display the post content with a link to the single post * @since 1.0.0 */ function storefront_post_content() { ?> <div class="entry-content" itemprop="articleBody"> <?php storefront_post_thumbnail('full'); the_content(sprintf(__('Continue reading %s', 'storefront'), '<span class="screen-reader-text">' . get_the_title() . '</span>')); wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'storefront'), 'after' => '</div>')); ?> </div><!-- .entry-content --> <?php }
/** * Display the page header * PBO: options for featured image */ function storefront_page_header() { ?> <header class="entry-header"> <?php if (pbosfc_get_option('page_featured_image_size') != 'none') { storefront_post_thumbnail(pbosfc_get_option('page_featured_image_size')); } the_title('<h1 class="entry-title" itemprop="name">', '</h1>'); ?> </header><!-- .entry-header --> <?php }
/** * Display the post content * PBO: options for featured image */ function storefront_post_content() { ?> <div class="entry-content" itemprop="articleBody"> <?php if (pbosfc_get_option('post_featured_image_size') != 'none') { storefront_post_thumbnail(pbosfc_get_option('post_featured_image_size')); } the_content(sprintf(__('Continue reading %s', 'storefront'), '<span class="screen-reader-text">' . get_the_title() . '</span>')); wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'storefront'), 'after' => '</div>')); ?> </div><!-- .entry-content --> <?php }