function loop_content()
{
    global $jw_options, $more;
    $more = 0;
    if (has_excerpt()) {
        the_excerpt();
    } elseif (has_more()) {
        the_content("");
        //echo '<a href="' . get_permalink() . '" class="more-link">' . $readMore . '</a>';
    } elseif ($jw_options['excerpt_count'] != '') {
        echo to_excerpt(strip_shortcodes(get_the_content()), $jw_options['excerpt_count']);
        //echo '<a href="' . get_permalink() . '" class="more-link">' . $readMore . '</a>';
    } else {
        echo apply_filters("the_content", strip_shortcodes(get_the_content("")));
    }
}
Example #2
0
        ?>
 <?php 
        the_time();
        ?>
</span>
	  </div>
	  
	  <div class="entry-body">
	    <?php 
        the_content("", false);
        ?>
	  </div><!-- end of entry -->
	  
	  <p class="entry-metadata">
	    <?php 
        if (has_more()) {
            ?>
	    <a href="<?php 
            echo get_permalink();
            ?>
" class="more">続きを読む...</a> | 
	    <?php 
        } else {
            ?>
	    <a href="<?php 
            echo get_permalink();
            ?>
">permalink</a> | 
	    <?php 
        }
        ?>