コード例 #1
0
            	</div>
    			<?php 
                }
                // recent links close
                ?>
	<!-- end add for wp-recent-links plugin -->

	<?php 
                /* Only display asides if sidebar asides are not active */
                if (!$post_asides || $redo_asidescheck == '0') {
                    ?>
		<div id="post-<?php 
                    the_ID();
                    ?>
" class="<?php 
                    redo_post_class($post_index++, $post_asides);
                    ?>
 <?php 
                    if (is_home() and $redo_asidescategory != 0) {
                        echo 'rightmargin';
                    }
                    ?>
 ">
			<div class="entry-head">
				<?php 
                    printf(__('%1$s', 'redo_domain'), '<div class="published_sm" title="' . get_the_time('Y-m-d\\TH:i:sO') . '">' . (function_exists('time_since') ? sprintf(__('%s ago', 'redo_domain'), time_since(abs(strtotime($post->post_date_gmt . " GMT")), time())) : '<div class="day">' . get_the_time(__('d', 'redo_domain')) . '</div><div class="month">' . get_the_time(__('M', 'redo_domain')) . '</div>') . '</div>');
                    ?>
				
				
				<h3 class="entry-title"><a href="<?php 
                    the_permalink();
コード例 #2
0
ファイル: image.php プロジェクト: rmccue/wordpress-unit-tests
<div class="content">
	
	<div id="primary">
		<div id="primarycontent" class="hfeed">

	<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
			<div id="post-<?php 
        the_ID();
        ?>
" class="<?php 
        redo_post_class();
        ?>
">
				<div class="entry-head">
					<h3 class="entry-title"><a href="<?php 
        echo get_permalink($post->post_parent);
        ?>
" rev="attachment"><?php 
        echo get_the_title($post->post_parent);
        ?>
</a> &raquo; <?php 
        the_title();
        ?>
</h3>
				</div> <!-- .entry-head -->