Advertisement
alchymyth

remove 'posted in ' from tt

Apr 7th, 2011
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.46 KB | None | 0 0
  1. FIND THIS SECTION IN INDEX.PHP OF TWENTY TEN:
  2.  
  3. <div class="entry-utility">
  4.                 <?php if ( count( get_the_category() ) ) : ?>
  5.                     <span class="cat-links">
  6.                         <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
  7.                     </span>
  8.                     <span class="meta-sep">|</span>
  9.                 <?php endif; ?>
  10.                 <?php
  11.                     $tags_list = get_the_tag_list( '', ', ' );
  12.                     if ( $tags_list ):
  13.                 ?>
  14.                     <span class="tag-links">
  15.                         <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
  16.                     </span>
  17.                     <span class="meta-sep">|</span>
  18.                 <?php endif; ?>
  19.                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
  20.                 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
  21.             </div><!-- .entry-utility -->
  22.  
  23. CHANGE IT TO THIS:
  24.  
  25. <div class="entry-utility">
  26.                
  27.                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
  28.                 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
  29.             </div><!-- .entry-utility -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement