Ejemplo n.º 1
0
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('entry-wrapper entry-wrapper-image');
?>
 itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">  
    
  <div class="entry-wrapper-inside">  

    <header class="entry-header entry-header-image">       

      <div class="entry-meta entry-meta-image entry-meta-top">
        <?php 
echo future_post_format() . future_post_date();
?>

      </div>

      <h2 class="entry-title entry-title-image" itemprop="headline"><a href="<?php 
the_permalink();
?>
" title="<?php 
printf(esc_attr('Permalink to %s'), the_title_attribute('echo=0'));
?>
" rel="bookmark"><?php 
the_title();
?>
</a></h2>

    </header>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('entry-wrapper entry-wrapper-attachment');
?>
 itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">  
    
  <div class="entry-wrapper-inside">  

    <header class="entry-header entry-header-attachment">

      <div class="entry-meta entry-meta-attachment entry-meta-top">
        <?php 
echo future_post_format() . future_post_date() . future_post_author() . future_post_comments() . future_post_edit_link();
?>

      </div>

      <h1 class="entry-title entry-title-attachment" itemprop="headline"><?php 
the_title();
?>
</h1>

    </header>

    <div class="entry-content entry-content-attachment" itemprop="text">
      <p><a href="<?php 
echo wp_get_attachment_url($post->ID);
?>
" rel="prettyPhoto"><?php