Two ways are available to remove date,time,author name.
Way 1:
Go to your theme folder -> Select -> content.php file
Comment these two lines
<div class="entry-meta">
<?php
if ( 'post' == get_post_type() )
//twentyfourteen_posted_on();
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
?>
<span class="comments-link"><?php //comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
<?php
endif;
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- .entry-meta -->
Note : My theme is twentyfourteen.
Way 2:
Use CSS to hide deatis
.entry-meta{ display:none}
Way 1:
Go to your theme folder -> Select -> content.php file
Comment these two lines
<div class="entry-meta">
<?php
if ( 'post' == get_post_type() )
//twentyfourteen_posted_on();
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
?>
<span class="comments-link"><?php //comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
<?php
endif;
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- .entry-meta -->
Note : My theme is twentyfourteen.
Way 2:
Use CSS to hide deatis
.entry-meta{ display:none}
No comments:
Post a Comment