예제 #1
0
파일: content.php 프로젝트: bunnywong/dgc
</a></div>
            
	<?php 
    }
    ?>
    <?php 
}
?>
    

	<div class="entry-content post-content">
    	<?php 
if (has_excerpt()) {
    the_excerpt();
} else {
    echo newswire_excerpt(20);
}
?>
	</div><!-- .entry-content -->


	<footer class="entry-meta">
    	
		<?php 
if ('post' == get_post_type()) {
    // Hide category and tag text for pages on Search
    ?>
			<?php 
    /* translators: used between list items, there is a space after the comma */
    $categories_list = get_the_category_list(__(', ', 'newswire'));
    if ($categories_list && newswire_categorized_blog()) {
예제 #2
0
파일: index.php 프로젝트: bunnywong/dgc
" rel="bookmark" title="<?php 
                the_title_attribute();
                ?>
"><?php 
                echo $my_image;
                ?>
</a></div>
                    
                    <?php 
            } else {
                ?>
                    
                    <div class="slide-noimg">
                    	<div class="slide-noimg-copy">
							<?php 
                echo newswire_excerpt(30);
                ?>
<br /><br />
                            <a href="<?php 
                the_permalink();
                ?>
" rel="bookmark" title="<?php 
                the_title_attribute();
                ?>
"><?php 
                _e('Continue Reading &rarr;', 'newswire');
                ?>
</a>
                        </div>
                    </div>