i am using blog posts as one kind of content (clients projects) – because the client has mulitple projects which will need updating frequently so i thought it would be simpler for them to add new pages or edit old ones (particularly as i am using the advanced page templates elsewhere and that would be a bit of a stretch for the client) – so have created a seperate category for these project posts.
I can hide the the author/date etc happily in the blog grid page where they will all be accessed from by website visitors BUT when the post displays on its own page it also displays all that stuff under the featured image (like author date etc etc) which i dont want to show.
can you tell me how/where to remove/hide that (am ok with editing code)
or suggest another alternative if thats tricky
thanks
Hi,
You can add this to remove the meta info for single post view.
.single .post-meta-infos {
display: none;
}
Add the code on custom.css or Quick CSS
Regards,
Ismael
Any chance you could explain how to remove just the date & comment number?
For single / archive and main blog listing?
Thanks Devin.
Mark
Hey,
Edit includes > loop-index.php, find this code and remove it:
echo "<span class='date-container minor-meta'>".get_the_time('d M Y')."</span>";
echo "<span class='text-sep'>/</span>";
if ( get_comments_number() != "0" || comments_open() ){
echo "<span class='comment-container minor-meta'>";
comments_popup_link( "0 ".__('Comments','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));
echo "</span>";
echo "<span class='text-sep'>/</span>";
}
Regards,
Ismael