?> </h3> </div> </div> <div class="ym-wrapper"> <div class="ym-wbox"> <div id="mainc" class="ym-grid linearize-level"> <div class="ym-g66 ym-gl"> <div class="ym-gbox"> <article class="post white " id="post-<?php the_ID(); ?> "> <div class="opp"> <?php posted_on(); ?> </div> <div class="entry"> <?php the_content(); ?> <?php wp_link_pages(array('before' => __('Pages: ', 'html5reset'), 'next_or_number' => 'number')); ?> </div>
function template_post_item() { if (!in_the_loop()) { if (WP_DEBUG === true) { // error logging error_log(__('you must use template_post_item() in the loop', 'wpajax')); } return false; } ?> <?php switch (get_post_format()) { // output different HTML based on the post type case 'aside': ?> <?php break; case 'chat': ?> <?php break; case 'gallery': ?> <?php break; case 'link': ?> <?php break; case 'image': ?> <?php break; case 'quote': ?> <?php break; case 'status': ?> <?php break; case 'video': ?> <?php break; case 'audio': ?> <?php break; default: // marked 'standard' ?> <?php } ?> <article <?php post_class(); ?> id="post-<?php the_ID(); ?> "> <h2><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <?php posted_on(); ?> <?php the_post_thumbnail(); ?> <div class="entry"> <?php the_content(); ?> </div> <footer class="postmetadata"> <?php the_tags(__('Tags: ', 'wpajax'), ', ', '<br />'); ?> <?php _e('Posted in', 'wpajax'); ?> <?php the_category(', '); ?> | <?php comments_popup_link(__('No Comments »', 'wpajax'), __('1 Comment »', 'wpajax'), __('% Comments »', 'wpajax')); ?> </footer> </article> <?php }