Take out author and date from posts

Hello guys! hope you are well.
I need to take out author and dates from my posts. I don’t want them to appear. Could you help me?
thanks a lot
cheers
isabella

Hi Isabella,

Please add this to Theme Options > CSS

/*remove the author and date from posts meta*/
.p-meta span:not(:last-of-type) {
	display: none;
}

If you need to remove the entire posts meta including the categories, please navigate to Theme Options > Blog and turn OFF the Post Meta option.

Hope it helps,
Cheers!

Great it works! can I take out from the Latest post element too?

thanks a lot

Sure thing, please update the provided CSS code to this:

/*remove the author and date from posts meta
including date on recent posts element*/
.p-meta span:not(:last-of-type),
.x-recent-posts-date {
	display: none !important;
}

To learn about custom CSS, you can inspect your site using Chrome’s developer tools to see the styling that is applied to an element and then using custom CSS to override it. You can find more info on how to check for CSS selectors here. Then information about writing your custom CSS here.

Hope it helps,
Cheers!

Great tools! thanks a lot
however this last coding doesn’t work :frowning:
any idea?

thanks a lot
cheers

Hi Isabella,

I don’t see that you updated the code I provided



Please update the code to this:

They just look the same, but they are different.

I’m still working on your other thread.

Thanks,

weird! Ithought I did! thanks a lot it works now.
As soon as I start making money with my blog I will buy you guys a pizza! :stuck_out_tongue_winking_eye:
you have so much patience! I am not sure how you do it!
thanks a million!

We love pizza (especially @nico :grin:), seeing our users happy, that makes us happy too.

Have a nice day,

OOPs sorry , now also the categories disappeared. I would love them to stay. just author and dates need to go…

can you please help?
thanks

Hi Isabella,

Sorry, do you mean on the recent posts element? Regretfully, recent posts element does not show categories by default, only title and date.

Thanks,

hello @friech no, I meant in the regular posts

Hi Isabella,

Ah so the categories is not always the last-type, please update the custom CSS that I provided above to this:

/*remove the author and date from posts meta
including date on recent posts element*/
.p-meta span:not(:nth-child(3n)),
.p-meta>span:after,
.x-recent-posts-date {
	display: none !important;
}

Notice the .p-meta span:not(:last-of-type) I change it to .p-meta span:not(:nth-child(3n))
That custom CSS means, hide the post-meta but not the 3rd one which are the categories.

Dont forget clearing your browser’s cache after updating the code.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.