Digitalraindrops

Version 3 content-category.php

Jul 3rd, 2011
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. <?php
  2.     //Add in the Excerpt Arguments
  3.     $excerpt_args = array(
  4.         'auto' => 1,
  5.         'all_words' => 40,
  6.     );
  7.    
  8.     global $post;
  9.     theme_post_wrapper(
  10.         array(
  11.                 'id' => theme_get_post_id(),
  12.                 'class' => theme_get_post_class(),
  13.                 'thumbnail' => theme_get_post_thumbnail(),
  14.                 'title' => '<a href="' . get_permalink( $post->ID ) . '" rel="bookmark" title="' . get_the_title() . '">' . get_the_title() . '</a>',
  15.                 'before' => theme_get_metadata_icons( 'date,author,edit', 'header' ),
  16.                 'content' => theme_get_excerpt( $excerpt_args ), ////Add in the Excerpt Arguments
  17.                 'after' => theme_get_metadata_icons( 'category,tag,comments', 'footer' )
  18.         )
  19.     );
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment