示例#1
0
	<div class="post-body">

		<?php 
shiword_hook_entry_top();
?>

		<?php 
shiword_post_title(array('alternative' => $shiword_first_quote['quote'] ? '&#8220;' . $shiword_first_quote['quote'] . '&#8221;' : ''));
?>

		<?php 
shiword_hook_like_it();
?>

		<?php 
shiword_extrainfo(array('auth' => $shiword_auth));
?>

		<div class="storycontent">

			<?php 
if (shiword_get_opt('shiword_xcont') == 1 || is_archive() || is_search()) {
    // compact view
    the_excerpt();
} else {
    // normal view
    the_content();
}
?>

		</div>
示例#2
0
文件: post.php 项目: TwoBeers/shiword
	<div class="post-body">

		<?php 
shiword_hook_entry_top();
?>

		<?php 
shiword_post_title();
?>

		<?php 
shiword_hook_like_it();
?>

		<?php 
shiword_extrainfo();
?>

		<div class="storycontent">

			<?php 
if (shiword_get_opt('shiword_xcont') == 1 || is_archive() || is_search()) {
    the_excerpt();
} else {
    the_content();
}
?>

		</div>

		<?php 
示例#3
0
        ?>

			<h2 class="storytitle"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h2>

			<?php 
        shiword_hook_like_it();
        ?>

			<?php 
        shiword_extrainfo(array('hiera' => 0, 'tags' => 0, 'cats' => 0));
        ?>

			<div class="storycontent">

				<div class="entry-attachment">

					<?php 
        if (wp_attachment_is_image()) {
            // is an image
            ?>

						<?php 
            shiword_hook_attachment_before();
            ?>
示例#4
0
文件: page.php 项目: TwoBeers/shiword
">

				<?php 
        shiword_hook_entry_top();
        ?>

				<?php 
        shiword_post_title(array('featured' => 1));
        ?>

				<?php 
        shiword_hook_like_it();
        ?>

				<?php 
        shiword_extrainfo(array('auth' => 0, 'date' => 0, 'tags' => 0, 'cats' => 0));
        ?>

				<div class="storycontent">

					<?php 
        the_content();
        ?>

				</div>

				<div class="fixfloat">

					<?php 
        wp_link_pages('before=<div class="meta sw-paginated-entry">' . __('Pages', 'shiword') . ':&after=</div>');
        ?>
示例#5
0
	<div class="post-body">

		<?php 
shiword_hook_entry_top();
?>

		<?php 
shiword_post_title($shiword_first_link ? array('alternative' => $shiword_first_link['text'], 'title' => $shiword_first_link['text'], 'href' => $shiword_first_link['href'], 'target' => '_blank') : '');
?>

		<?php 
shiword_hook_like_it();
?>

		<?php 
shiword_extrainfo(array('auth' => 0));
?>

		<div class="storycontent">

			<?php 
if (shiword_get_opt('shiword_xcont') == 1 || is_archive() || is_search()) {
    // compact view
    the_excerpt();
} else {
    // normal view
    the_content();
}
?>

		</div>