Beispiel #1
0
    $post_image_src = wps_get_post_image($post->ID, 'large');
    ?>

        <article id="post-<?php 
    the_ID();
    ?>
">
			<div class="entry-wrapper">
				<div class="entry-header">
					<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
					<div class="entry-meta">
						<?php 
    echo wps_posted_on();
    ?>
						<?php 
    if (wps_get_option('show_post_categories') && ($category = wps_get_category())) {
        ?>
<span class="entry-taxonomy"><strong>Category</strong>: <?php 
        echo $category;
        ?>
</span><?php 
    }
    ?>
						<?php 
    if (wps_get_option('show_post_tags') && ($tags = wps_get_tags())) {
        ?>
<span class="entry-taxonomy"><strong>Tags</strong>: <?php 
        echo $tags;
Beispiel #2
0
    	<article id="post-<?php 
            the_ID();
            ?>
">
    		<div class="entry-wrapper">
    			<a href="<?php 
            the_permalink();
            ?>
" target="_self" rel="bookmark" style="display:block;">
		    		<div class="entry-header">
		    			<h1 class="entry-title"><?php 
            the_title();
            ?>
</h1>
				    	<div class="entry-meta"><?php 
            echo wps_posted_on(false);
            ?>
</div>
				    </div>
				    <div class="entry-content" style="display:none">
				    	<?php 
            the_excerpt();
            ?>
				    </div>
    			</a>
    			<span class="entry-preview"><a href="#">Show article preview</a></span>
			    <div class="clear"></div>
    		</div>
		</article>

    <?php