Example #1
0
	<?php 
if (is_archive() || is_search()) {
    // Only display excerpts for archives and search.
    ?>
	    <div class="entry-summary">
		<?php 
    weaver_the_excerpt_featured();
    ?>
	    </div><!-- .entry-summary -->
	<?php 
} else {
    ?>
	    <div class="entry-content">
		<?php 
    weaver_the_content_featured();
    ?>
		<?php 
    wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', WEAVER_TRANS), 'after' => '</div>'));
    ?>

	    </div><!-- .entry-content -->
	<?php 
}
?>

	    <?php 
weaver_posted_on_code();
?>
	</div><!-- #post-## -->
Example #2
0
 /**
  * Prints HTML with meta information for the current post-date/time and author.
  */
 function weaver_posted_on($single = 'blog', $from_bottom = false)
 {
     // Generate the Posted on xx by yy line.
     if ($from_bottom) {
         // always show if from bottom...
         weaver_posted_on_code();
     } else {
         if (!weaver_getopt_plus('wvp_post_info_move_top')) {
             weaver_posted_on_code();
         }
     }
     if (!$from_bottom && weaver_getopt_plus('wvp_post_info_move_bottom')) {
         weaver_posted_in($single, true);
     }
     if (!$from_bottom) {
         weaver_put_plus_postaddhtml($single, 'wvp_post_prebody');
     }
 }