alchymyth

Untitled

Nov 9th, 2011
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.34 KB | None | 0 0
  1. edit content.php and remove this section
  2.  
  3.             <?php if ( 'post' == get_post_type() ) : ?>
  4.             <div class="entry-meta">
  5.                 <?php twentyeleven_posted_on(); ?>
  6.             </div><!-- .entry-meta -->
  7.             <?php endif; ?>
  8.  
  9.             <?php if ( comments_open() && ! post_password_required() ) : ?>
  10.             <div class="comments-link">
  11.                 <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
  12.             </div>
  13.             <?php endif; ?>
  14.  
  15. and this section
  16.  
  17.         <footer class="entry-meta">
  18.             <?php $show_sep = false; ?>
  19.             <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
  20.             <?php
  21.                 /* translators: used between list items, there is a space after the comma */
  22.                 $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
  23.                 if ( $categories_list ):
  24.             ?>
  25.             <span class="cat-links">
  26.                 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
  27.                 $show_sep = true; ?>
  28.             </span>
  29.             <?php endif; // End if categories ?>
  30.             <?php
  31.                 /* translators: used between list items, there is a space after the comma */
  32.                 $tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
  33.                 if ( $tags_list ):
  34.                 if ( $show_sep ) : ?>
  35.             <span class="sep"> | </span>
  36.                 <?php endif; // End if $show_sep ?>
  37.             <span class="tag-links">
  38.                 <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
  39.                 $show_sep = true; ?>
  40.             </span>
  41.             <?php endif; // End if $tags_list ?>
  42.             <?php endif; // End if 'post' == get_post_type() ?>
  43.  
  44.             <?php if ( comments_open() ) : ?>
  45.             <?php if ( $show_sep ) : ?>
  46.             <span class="sep"> | </span>
  47.             <?php endif; // End if $show_sep ?>
  48.             <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
  49.             <?php endif; // End if comments_open() ?>
  50.  
  51.             <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  52.         </footer><!-- #entry-meta -->
  53.  
  54. or part of the above...
  55.  
Advertisement
Add Comment
Please, Sign In to add comment