Site logo

Archived topic

How can I remove author and date of the post

20 replies · Started by siyuanxing9132gmail-com on November 19, 2014

Viewing posts 16–21 of 21

Do you have this line in your child theme style.css file?

@import url("../generatepress/style.css");

If so, remove it and try again.

Let me know :)

I want to hide author and date in post in a child theme what code to use and where do I put it?
many thanks

where do I need to ad this code ? .byline {display: none !important;}
I am trying with no result it has to be in the Parent theme or in the child theme and where? I am using the GP child theme.

Hi there,

Our Blog add-on allows you to do this in the Customizer.

Alternatively you can use this CSS:

.entry-header .entry-meta {
    display: none;
}

If you're using the child theme you can add it in "Appearance > Editor".

Another option is to use the PHP filters: https://generatepress.com/knowledgebase/filter-list/

I just tried the ccs solution it wont work I am wondering hot to solve this due I am not good with php what code can I add to function.php file for this to work many thanks

Can you link me to your site with the above CSS added so I can see what's going on?

This archived topic is closed to new replies.