Hide Categories and Tags on Recent Posts Widget

Sort of a follow-up to my earlier question on hiding categories and tags - I’m using the “Recent Posts” widget to show a selection of posts on the front page of my site. It’s at http://thedivastylecoach.com. I’d like to hide the categories and tags from the blog posts that are shown on the widget, and display a smaller image.

How can I accomplish this?

Hi!

you can hide the category, tags and date post using css code below:

.entry-meta {
    display: none;
}

then to decrease the image size of the post and make the image has full width, you can use these css code also:

.post img {
    height: 300px;
    width: 100%;
}

put the code above using simple custom css

Hi Awan,

Thank you for the assistance - so I’m going to put this code in the recent-posts.php file, or should I use the ‘Edit CSS’ option under ‘Appearance’?

Dianne D.

You can install simple custom css then put the code above to this plugin.

You’ll see the “Custom CSS” menu under appearance

Hi Awan

I too would like to hide the tags and Categories on the homepage but the code above also hides the author and date, which i would like to continue to display.

Is there a way I can do that? I use Hiero theme.

Many thanks

Tom

Hi Tom,

Please create new post in Hiero forum instead. I’ll try to answer your questions in there :slight_smile:

Regards,
Awan