Exemple #1
0
 function et_shop_page_header()
 {
     ?>
 <header class="entry-header">
   <?php 
     et_shop_post_thumbnail('full');
     the_title('<h1 class="entry-title" itemprop="name">', '</h1>');
     ?>
 </header><!-- .entry-header -->
 <?php 
 }
Exemple #2
0
 /**
  * Display the post content with a link to the single post
  * @since 1.0.0
  */
 function et_shop_post_content()
 {
     ?>
 <div class="entry-content" itemprop="articleBody">
 <?php 
     et_shop_post_thumbnail('full');
     the_content(sprintf(__('Continue reading %s', 'et_shop'), '<span class="screen-reader-text">' . get_the_title() . '</span>'));
     wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'et_shop'), 'after' => '</div>'));
     ?>
 </div><!-- .entry-content -->
 <?php 
 }