the_post(); ?> <article <?php post_class(); ?> id="post-<?php the_ID(); ?> " role="article" itemscope itemtype="http://schema.org/BlogPosting"> <header> <h1 itemprop="headline"><?php the_title(); ?> </h1> <p><?php printf(__('Posted <time datetime="%1$s">%2$s</time> by <span>%3$s</span>.', 'wpyaml'), get_the_time('Y-m-j'), get_the_time(__('F jS, Y', 'wpyaml')), wpyaml_get_the_author_posts_link()); ?> </p> </header> <section itemprop="articleBody"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'wpyaml') . '</span>', 'after' => '</div>')); ?> </section> <?php // comments_template(); // uncomment if you want to use comments in pages ?> </article>
the_ID(); ?> " role="article"> <header> <h2><a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php the_title_attribute(); ?> "><?php the_title(); ?> </a></h2> <p><?php printf(__('Posted <time datetime="%1$s">%2$s</time> by <span>%3$s</span> & filed under %4$s.', 'wpyaml'), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), wpyaml_get_the_author_posts_link(), get_the_category_list(', ')); ?> </p> </header> <!-- end article header --> <section> <?php the_post_thumbnail('wpyaml-thumb-300'); ?> <?php the_excerpt('Continue reading →', 'wpyaml'); ?> </section> <!-- end article section --> <?php // comments_template(); // uncomment if you want to use them here ?>