- This topic has 2 replies, 2 voices, and was last updated 9 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.


Home › Forums › Free Themes › Education Hub › How to remove author name from posts on front page
Tagged: author name, Education-Hub, span byline
Hi there, i am using Education Hub, free theme, and was wondering is it possible to remove author name from post. I found that template-tags.php, “byline” span, in inc folder controls that functionality. I am using child theme to edit css style, and would like to edit this part in the same way, if it is possible?
Hello @jeannetheboog,
The theme file you are referring to contains the function to call the post meta throughout the theme. It is not a recommended method to edit the code just to remove the author display in single posts page.
Also, you can easily get your desired output with the use of simple custom CSS in the theme. In your child theme’s style.css file paste in the following custom CSS to remove the author name in the single posts page :
.single .byline {
display: none;
}
Hope this helps,
Best regards !!
Thank you! You helped me a lot!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |



