Пример #1
0
        ?>
<div class="tagcont">
			<h2 class="post_title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        printf(__('Permanent Link to %s', 'techozoic'), get_the_title());
        ?>
"><?php 
        the_title();
        ?>
</a></h2>

			<div class="entry">
<?php 
        if (tech_excerpt('tag')) {
            the_excerpt();
        } else {
            the_content(__('Read the remainder of this entry &raquo;', 'techozoic'));
        }
        ?>
			</div>
<?php 
        if (tech_icons('tag')) {
            ?>
	
				<div class="top">
				<?php 
            tech_social_icons($home = true);
            ?>
<a href="#top"><img src="<?php 
Пример #2
0
            ?>
&nbsp;|&nbsp;<?php 
            printf(__('Filed in %s', 'techozoic'), get_the_category_list(', '));
            edit_post_link(__('&nbsp;|&nbsp; Edit.', 'techozoic'), '', '');
            ?>
</small>
			</div><div style="clear:both"></div>
                        <?php 
            if ($post->post_content != "") {
                ?>
                            <div class="entry">
<?php 
                if (function_exists('the_post_thumbnail')) {
                    the_post_thumbnail('thumbnail');
                }
                if (is_home() && tech_excerpt('main') || is_category() && tech_excerpt('cat') || is_year() && tech_excerpt('year') || is_month() && tech_excerpt('month')) {
                    the_excerpt();
                } else {
                    the_content(__('Read the remainder of this entry &raquo;', 'techozoic'));
                }
                wp_link_pages();
                if (comments_open() && empty($post->post_password) && of_get_option('comment_preview', '1') == "1") {
                    ?>
                                    <div class="post_comment_cont">
<?php 
                    comments_popup_link(__('Be the first to comment', 'techozoic'), __('1 Comment. Join the Conversation', 'techozoic'), _n('% Comment so far. Join the Conversation', '% Comments so far. Join the Conversation', get_comments_number(), 'techozoic'), 'comments-link', __('Comments Closed', 'techozoic'));
                    ?>
                                    </div>
<?php 
                    tech_comment_preview($post->ID);
                    ?>