Exemplo n.º 1
0
        edit_post_link('Edit', '[', ']');
        ?>
</p>
				</div>
				<div class="postcontent">
					<?php 
        the_content();
        ?>
					<?php 
        wp_link_pages('before=<div class="nav_link"><strong>Pages: </strong>&after=</div>&next_or_number=number&pagelink=<span class="page_number">%</span>');
        ?>
				</div>
				<div id="add-info">
					<?php 
        if (function_exists(st_related_posts)) {
            st_related_posts('title=<h3>Related posts</h3>');
        }
        ?>
				</div>
		</div>
		<?php 
        comments_template();
        ?>
		<?php 
    }
} else {
    ?>
		<?php 
}
?>
</div><!--content-->
Exemplo n.º 2
0
 / <a href="http://www.xianguo.com/subscribe.php?url=<?php 
        bloginfo('rss2_url');
        ?>
/">鲜果</a>
 / <a href="http://9.douban.com/reader/subscribe?url=<?php 
        bloginfo('rss2_url');
        ?>
/">豆瓣</a>
 / <a href="http://www.zhuaxia.com/add_channel.php?url=<?php 
        bloginfo('rss2_url');
        ?>
/">抓虾</a> )
			</p>
			<?php 
        if (function_exists('st_related_posts')) {
            st_related_posts('title=<h3>相关文章 <span style="color:#999">Related posts</span></h3>');
        }
        ?>
			<br /><br />
		</div>
	</div>
	<?php 
        comments_template();
        ?>
	<?php 
    }
} else {
    ?>
	<?php 
}
?>
Exemplo n.º 3
0
}
?>
		</div>
		<div class="clear"></div>
		<div class="entry">
			<?php 
the_content();
?>
			<?php 
wp_link_pages(array('before' => '<div class="page_link"><strong>' . __('Pages:', 'zbench') . '</strong>', 'after' => '</div>'));
?>
		</div><!-- END entry -->
		<div class="add-info">
			<?php 
if (function_exists('st_related_posts')) {
    st_related_posts('title=<h3>' . _e('Related Posts', 'zbench') . '</h3>');
}
?>
		</div>
		<div class="post-info-bottom">
			<span class="post-info-category"><?php 
the_category(', ');
?>
</span><span class="post-info-tags"><?php 
the_tags('', ', ', '');
?>
</span>
		</div>
		<div id="nav-below">
			<div class="nav-previous"><?php 
previous_post_link('%link', '<span class="meta-nav">&larr;</span> %title');
Exemplo n.º 4
0
					 <?php 
    if (has_tag()) {
        ?>
Tags: 	<?php 
        $posttags = get_the_tags();
        if ($posttags) {
            foreach ($posttags as $tag) {
                echo $tag->name . ' ';
            }
        }
    }
    ?>
							<?php 
    edit_post_link(__('Edit', 'Summ'), ' &#124; ', '');
    ?>

			</p>
		</div>
			<?php 
}
?>

		<div class="related">
		
			<?php 
if (function_exists('st_related_posts')) {
    st_related_posts('number=10&include_page=false&order=count-desc');
    ?>
			<?php 
} else {
    ?>
Exemplo n.º 5
0
		<?php 
        } elseif ('open' == $post->comment_status && !('open' == $post->ping_status)) {
            ?>
	
		<?php 
        } elseif (!('open' == $post->comment_status) && !('open' == $post->ping_status)) {
            ?>
	Комментарии и пинг закрыты.
		<?php 
        }
        ?>
	</div>
	
	<div class="related">
		<?php 
        st_related_posts();
        ?>
	</div>
	

	<?php 
        comments_template();
        ?>

	<!--
	<?php 
        trackback_rdf();
        ?>
	-->

	<?php 
Exemplo n.º 6
0
<?php include (TEMPLATEPATH . '/adsense-content2.php'); ?>

<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

<div class="under">
	<span class="categories"><?php the_category(', '); ?></span>
</div>

<span class="article_seperator">&nbsp;</span>
<?php include (TEMPLATEPATH . '/bookmark.php'); ?>
<span class="article_seperator">&nbsp;</span>

<div id="related_posts">
<h4>Related Article</h4>

<?php if(function_exists('st_related_posts')) st_related_posts('number=7&title=&include_page=false&xformat=<a href="%permalink%" title="%title% (%date%)">%title%</a>'); ?>
</div>
<span class="article_seperator">&nbsp;</span>

<?php comments_template(); ?>
</div>

<div id="postnavi">
	<div class="prev"><?php previous_post_link('%link') ?></div>
	<div class="next"><?php next_post_link('%link') ?></div>
	<div class="clr"></div>
</div>

<?php endwhile; endif; ?>

</div>
Exemplo n.º 7
0
            wp_pagenavi(array('type' => 'multipart'));
            ?>
</div><?php 
        } else {
            wp_link_pages(array('before' => '<span>' . __('Pages', 'strictthemes') . ':</span> '));
        }
        echo '</div>';
        /*-------------------------------------------
        			2.4 - Prev/Next post
        		-------------------------------------------*/
        echo st_prev_next_post();
        /*-------------------------------------------
        			2.5 - Related posts
        		-------------------------------------------*/
        if (!empty($st_Settings['related']) == 'yes' && function_exists('st_related_posts')) {
            echo st_related_posts(2, __('You Might Also Like', 'strictthemes'));
        }
        /*-------------------------------------------
        			2.6 - Comments
        		-------------------------------------------*/
        comments_template();
        ?>
	
													<div class="clear"><!-- --></div>
				
												</div><!-- #post-% -->
	
	
	
												<div class="sidebar-post">
								
Exemplo n.º 8
0
			<p class="post-under">Posted in <?php 
            the_category(' ,');
            ?>
 | <?php 
            the_tags('Tags: ', ', ', '');
            ?>
</p>
		<?php 
        }
        ?>
		<?php 
        if (is_single()) {
            ?>
			<?php 
            if (function_exists('st_related_posts')) {
                st_related_posts('<blockquote>title=<h3>相关文章 <span style="color:#999">Related posts</span></h3></blockquote>');
            }
            ?>
		<?php 
        }
        ?>
	</div><!-- END post -->
	<?php 
        if (is_singular()) {
            comments_template();
        }
        ?>
	<?php 
    }
} else {
    ?>