remove date and tags in blog posts
-
How to remove date and tags in blog posts? I have used code .entry-meta { display: none; } but it only remove tags, date is not removed.
What shall I do?
-
Hey there martinno,
How are you doing today?
Could you please post link to your site to one of the single post pages so I can take a look and try to help with some custom CSS code π
Cheers,
BojanHey Bojan,
here is the link: http://servisgospodinjskihaparatov.com/naroci-servis/
Thank you for helping me…
Martin
Hey Martin,
I’ve checked your site and all I can see is a single image on your page that you linked, see screenshot http://screencast.com/t/Mr6RcY71i.
I’m assuming this is a coming soon page so could you please disable that temporarily so I can see the actual page?
Cheers,
BojanSorry for that…
The page is under c.
Here is a link to my test domain http://sloinfo.eu/sample-page/ with same theme. I would like to remove date, category… as I circled in printscreen. http://prntscr.com/aozb6e
Thank’s
Martin
Hey again Martin,
Thanks for the screenshot π
I’ve checked the site and you should be able to remove these two from your blog page by adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:
http://wordpress.org/plugins/simple-custom-css
.site-content .meta-img .entry-thumbnail .dateonimg { display: none; } .blog-columns .entry-header .entry-meta { display: none; }If the code doesn’t work please keep it added and let me know so I can take a look π
Cheers,
Bojan – WPMU DEVThe site is now on the web http://servisgospodinjskihaparatov.com/prodaja-rabljenih-gospodinjskih-aparatov/
Code you provided removes blog entries, but the date is stil there.
Screenshot: http://prntscr.com/ap8rpkHey martinno,
I can’t open that site anymore π This is what I get when I try to open the link you posted http://screencast.com/t/spRtsuT4V.
Can you please double check that for me and let me know when it’s up so I can take a look?
Cheers,
Bojanmy bad the code given by previous mate is correct
thanxSorry there were some problems with DNS zone.
Teh site should be visible now.
Martin
Hey Martin,
Thanks for checking this for me π
I’ve checked your site and I can see the dates, please try adding the following:
#main .site-content .meta-img.no-image-meta .entry-nothumb .dateonimg { display: none; } #main .site-content .post .meta-img.no-image-meta+.post-mainpart .entry-header { padding-left: 0; }First part should remove the dates and the second should push the titles so they can occupy that space.
Cheers,
BojanHey Bojan,
it partialy worked…
I sent you printscreen (Before/After) inserting the code.
http://shrani.si/f/3d/Zv/3Nc6srJK/screenshot8.jpgHey Martin,
If this is the part that you’re referring to as not working http://screencast.com/t/6XBocCfdNc this should be handled by the code I previously provided:
.blog-columns .entry-header .entry-meta { display: none; }If there is something else please post screenshot pointing to the part that you want removed and also keep the previous code added so I can check it out.
Cheers,
BojanThank you Bojan! It worked perfectly!
The corect code for removing date, author and tags in blog posts is:
.blog-columns .entry-header .entry-meta {
display: none;
}
#main .site-content .meta-img.no-image-meta .entry-nothumb .dateonimg {
display: none;
}#main .site-content .post .meta-img.no-image-meta+.post-mainpart .entry-header {
padding-left: 0;
}Thank you Bojan! It worked perfectly!
The corect code for removing date, author and tags in blog posts is:
.blog-columns .entry-header .entry-meta { display: none; } #main .site-content .meta-img.no-image-meta .entry-nothumb .dateonimg { display: none; } #main .site-content .post .meta-img.no-image-meta+.post-mainpart .entry-header { padding-left: 0; }Glad I could help π
Cheers,
Bojan – WPMU DEV
The topic ‘remove date and tags in blog posts’ is closed to new replies.
