How to delete the meta tag, author and post date from posts.
October 10, 2020
Great question. I might add an option for this in the future if this is a popular request. In the mean time, you may simply use a little CSS to achieve your goal. Insert the appropriate CSS into your Custom CSS Box under the Appearance tab.
/* Here is how to hide all your post entry meta. This include hiding your share buttons as well. */
.entry-meta {
display: none;
}
/* Hide just your meta buttons and meta links. This will leave your share buttons on the page */
.entry-meta-buttons,
.entry-meta-links {
display: none;
}
/* Hide just your meta buttons and meta links. This will leave your share buttons on the page */
.entry-meta-buttons {
display: none;
}
I used this code which worked great. However, how can I add the Date like this:
Date: December 5, 2014 Author: Ziggyzip Tags: entree, featured, holiday, side dishes
The only way to do that would be to customize the theme file. Create a child theme using WordPress Canvas as your parent theme, and in your functions.php, you can overwrite the default function wordpresscanvas_entry_meta_format_button() with your own post meta information, displayed the way you want it.
Read more about using child themes with WordPress Canvas.
3 Comments
Tisha
/* Hide just your meta buttons and meta links. This will leave your share buttons on the page */
.entry-meta-buttons {
display: none;
}
I used this code which worked great. However, how can I add the Date like this:
Date: December 5, 2014 Author: Ziggyzip Tags: entree, featured, holiday, side dishes
Tisha
Also, can that line be centered?
Chris Baldelomar
Hi Tisha,
The only way to do that would be to customize the theme file. Create a child theme using WordPress Canvas as your parent theme, and in your functions.php, you can overwrite the default function wordpresscanvas_entry_meta_format_button() with your own post meta information, displayed the way you want it.
Read more about using child themes with WordPress Canvas.