the_time('j');
        ?>
</span>
		</div>
	<?php 
    }
}
?>

	<?php 
if (bauhaus_should_show_date() || bauhaus_should_show_author()) {
    ?>
		<span class="post-date-author body-font">
			<?php 
    if (bauhaus_should_show_date()) {
        wptouch_the_time();
    }
    ?>
		 	<?php 
    if (bauhaus_should_show_author()) {
        ?>
		 		<?php 
        if (bauhaus_should_show_date()) {
            echo '&bull;';
        }
        ?>
 <?php 
        _e('by', 'wptouch-pro');
        ?>
 <?php 
        the_author();
                echo ' class="has-thumb"';
            }
            ?>
>
					<?php 
            if (isset($related_post->thumbnail) && $related_post->thumbnail != '') {
                echo $related_post->thumbnail;
            } else {
                ?>
							<div class="date-circle">
								<span class="month"><?php 
                wptouch_the_time('M');
                ?>
</span>
								<span class="day"><?php 
                wptouch_the_time('j');
                ?>
</span>
							</div>
					<?php 
            }
            ?>
					<strong><a href="<?php 
            echo $related_post->link;
            ?>
"><?php 
            echo $related_post->title;
            ?>
</a></strong>
					<p><?php 
            echo $related_post->excerpt;
while (wptouch_have_posts()) {
    ?>
	<?php 
    wptouch_the_post();
    ?>
	
	<div class="<?php 
    wptouch_post_classes();
    ?>
">
	
		<h1><?php 
    wptouch_the_title();
    ?>
</h1>
	
		<!-- The Date Contents -->
		<div class="<?php 
    wptouch_date_classes();
    ?>
">
			<?php 
    wptouch_the_time('F jS, Y');
    ?>
		</div>

		<!-- Post Content Goes Here -->
	</div>
<?php 
}
Example #4
0
        } elseif (classic_use_thumbnail_icons()) {
            ?>
				<img src="<?php 
            wptouch_the_post_thumbnail();
            ?>
" class="attachment-post-thumbnail default-thumbnail" alt="post thumbnail" />	
		<?php 
        }
        ?>

		<?php 
        if (!classic_use_calendar_icons() && classic_show_date_in_posts()) {
            ?>
			<div class="post-date">
				<?php 
            wptouch_the_time('M j / y');
            ?>
			</div>	
		<?php 
        }
        ?>
		
				
		<a class="h2" href="<?php 
        wptouch_the_permalink();
        ?>
"><?php 
        wptouch_the_title();
        ?>
</a>