function xinmag_post_summary_meta($meta_flag = 0) { global $xinwp_entry_meta; echo '<div class="entry-meta entry-meta-summary clearfix">'; if (($xinwp_entry_meta || $meta_flag) && 'post' == get_post_type()) { xinmag_meta_date(2); xinmag_meta_author(); xinmag_meta_category(); xinmag_meta_tag(); xinmag_meta_comment(); } edit_post_link('<i class="icon-pencil"></i> ' . __('[Edit]', 'xinmag'), '<span class="edit-link">', '</span>'); echo '</div>'; }
* @since xinmag 1.0 */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <?php xinmag_display_post_thumbnail($post->ID); ?> <header class="entry-header"> <?php xinmag_meta_date(1); xinmag_post_title(); xinmag_post_meta(); ?> </header> <div class="entry-content clearfix"> <?php // print_r(get_post_format_meta()); the_content('<span class="more-link btn btn-small btn-info">' . __('read more', 'xinmag') . '</span>'); wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'xinmag') . '</span>', 'after' => '</div>')); ?> </div> <?php xinmag_single_post_link(); ?>