How to get rid of the post and page metadata

Latest Reply from alina at 2013-04-11 07:15:45
How do I get rid of the post and page metadata so as to provide a clean website? The full metadata I want to remove is below the title that has the following

TITLE

April 9, 2013 Uncategorized No comments | Edit
Hi!

To remove this data you have to delete following text from the theloop.php located in the directory of the theme :
if (!is_page()) {?><p class='post-meta'>

<span class='post-date'><?php echo get_the_date(); ?></span>,

Posted in &nbsp;<?php the_category(', ');

if(comments_open( get_the_ID() )) {
?>&nbsp;Comments:&nbsp;<span class='post-comments'><?php comments_popup_link( $SMTheme->_( 'noresponses' ), $SMTheme->_( 'oneresponse' ), $SMTheme->_( 'multiresponse' ) ); ?></span>
<?php }
edit_post_link( $SMTheme->_( 'edit' ), ' | <span class="edit-link">', '</span>' );
?>
</p><?php }
Hello sorry can i ask you if i can put the name author in this string? what i have to do please?

Leave a reply

Add codeAdd image