示例#1
0
    function dynamicnews_display_postinfo_single()
    {
        // Get Theme Options from Database
        $theme_options = dynamicnews_theme_options();
        // Display Date unless user has deactivated it via settings
        if (isset($theme_options['meta_tags']) and $theme_options['meta_tags'] == true) {
            $tag_list = get_the_tag_list('', ', ');
            if ($tag_list) {
                ?>
				
				<span class="meta-tags">
					<?php 
                printf(esc_html__('tagged with %1$s', 'dynamic-news-lite'), $tag_list);
                ?>
				</span>
		
			<?php 
            }
        }
        // Display Categories
        dynamicnews_display_postinfo_index();
    }
?>
</a></h2>
		
		<div class="postmeta clearfix"><?php 
dynamicnews_display_postmeta();
?>
</div>
	
		<?php 
dynamicnews_display_thumbnail_index();
?>
		
		<div class="entry clearfix">
			<?php 
$read_more_text = '<span>' . __('Read more', 'dynamic-news-lite') . '</span>';
?>
			<?php 
the_content($read_more_text);
?>
			<div class="page-links"><?php 
wp_link_pages();
?>
</div>
		</div>
		
		<div class="postinfo clearfix"><?php 
dynamicnews_display_postinfo_index();
?>
</div>

	</article>