Remove Author and date at bottom of posts
-
Hi,
Trying to remove the author and date at the bottom of my blog posts. I am very new to this but I know I need to remove some code from somewhere.
Any help with this would be great.
Using Semicolon theme.
-
Hi lauraelainemellor,
could you please share your website url? This would make it much easier for me to help youThanks
GiulioI haven’t posted anything yet. Hope that isn’t a problem.
Hi lauraelainemellor,
in fact it is, I will give you the css code to add based on what I can see on the website. If there isn’t any post I can’t see the fields that you want to remove.Also, before adding any custom CSS please create a child theme and switch to it. This plugin will automate the process http://wordpress.org/plugins/orbisius-child-theme-creator/
If don’t do that, the custom code will be overwritten at the first update of the theme
Thanks Giulio for recommending my plugin π
I updated to the child’s theme.
Thanks for the help, I am very new to this.
What is the CSS code I need to add?
Cheers,
Laura
@lauraelainemellor
If you publish a test post I can tell you. You can just write ‘hello’, and then you’ll delete the post once you’ve added the code.
This is also necessary to verify that the code that I give works well.@orbisius
you’re very welcome, I find your plugin invaluable, before discovering it I used to create child themes manually but this saves me a lot of time. I always recommend it to anyone!Ok test post posted.
It’s the Laura/ Date i want to remove.
Thanks
Ok, in the dashboard go to appearance>editor
The editor will most probably already be opened on the file style.css. If that’s not the case, make sure that you are editing that file.Inside the editor window, add this code at the end.
.author-bio { display: none; }
Click save, and reload your test post to verify that author and date are in fact disappeared as you want. If it works, you can delete the test post, if it doesn’t, come back here and let me know, and I’ll find the way to make it work π
Cheers
GiulioGiulio, nice to hear that π
Unfortunately had no luck with the code. I tried it in a variety of locations and the above got rid of the name/date but changed the format of the whole site.
/*
Theme Name: Semicolon Child 01
Theme URI:
Description: Child 01 theme for the Semicolon theme
Author: Konstantin Kovshenin
Author URI:
Template: semicolon
Version: 0.8.1
*//* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Wed, 11 Jun 2014 12:36:14 +0000 */
.author-bio {
display: none;
}
@import url(‘../semicolon/style.css’);This is the normal script for the page you directed me to;
/*
Theme Name: Semicolon Child 01
Theme URI:
Description: Child 01 theme for the Semicolon theme
Author: Konstantin Kovshenin
Author URI:
Template: semicolon
Version: 0.8.1
*//* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Wed, 11 Jun 2014 12:36:14 +0000 */
@import url(‘../semicolon/style.css’);
Sorry if I am being really stupid about this all and thanks so much for your help.
You need the overriding rules *after* the @import statements, not before.
Sorry, should have mentioned I tried to put it after, directly after and beneath the import statements but it didn’t remove it.
I have left it in said location beneath the import statements and the test post is still the same.
Ok, can you try a more specific selector instead of just
.author-bio
, say.single .author .author-bio { display: none; }
Another option is !important:
.author-bio { display: none !important; }
Thanks!
Brilliant, the
.single .author .author-bio {
display: none;
}worked!!!
Thank you π
Hi!
I’ve tried what you explain here. But it didn’t work for me!
We want to take out the dates of the POSTS, mostly in the first page. IS that possible?
Thanks in advanced for your help! Gracias!
http://www.kwtracesofmemory.org
- The topic ‘Remove Author and date at bottom of posts’ is closed to new replies.