Beispiel #1
0
<div class="article-post-item">
    <?php 
cruxstore_post_thumbnail_image('cruxstore_medium', 'img-responsive');
?>
    <div class="content">
        <a class="title-link" href="<?php 
the_permalink();
?>
"><?php 
get_the_title() ? the_title() : the_ID();
?>
</a>
        <div class="post-meta">
            <?php 
cruxstore_post_meta_author();
cruxstore_post_meta_date();
?>
        </div>
        <?php 
cruxstore_entry_excerpt();
?>
    </div>
</div>
Beispiel #2
0
    /**
     * Display the post meta
     * @since 1.0.0
     */
    function cruxstore_post_meta()
    {
        ?>
		<div class="entry-meta">
			<?php 
        if ('post' == get_post_type()) {
            // Hide category and tag text for pages on Search
            ?>

			<?php 
            cruxstore_post_meta_categories();
            //cruxstore_post_meta_author();
            cruxstore_post_meta_date();
            cruxstore_post_meta_comments();
            cruxstore_entry_share_social();
            ?>
			<?php 
        }
        // End if 'post' == get_post_type()
        ?>
		</div>
		<?php 
    }