Easy way to hide author on certain posts?

I’d love there to be a “toggle” of some sort to hide the author on certain posts. We are using Integrity on our church site (northstarfamily.org), and there are times that I (pastor) don’t want folks knowing that I write so much for the site. I’d like to be able to hide the author in those situations.

I used this CSS code, but that hides the author on all posts…
(.p-meta>span:first-child {
display: none;

Hello @journeyguy,

Thanks for posting in!

You can hide the author for a specific post by using this code:

.post-123 .p-meta>span:first-child {
   display: none;

Wherein 123 is the post ID. To know how to get the post ID, please check this out: https://theme.co/apex/forum/t/setup-how-to-locate-post-ids/59

Or you can do that by utilizing the category name like this:

.category-news .p-meta>span:first-child {
   display: none;

Wherein news is the category name. You can replace it with your desired category name that you want the author will be hidden.

Hope this helps.

1 Like

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