Home › Forums › Jevelin Theme › Disable by author in post
Home › Forums › Jevelin Theme › Disable by author in post
Hi,
It’s posible to disable the hyperlink “by author” i disabled the author page on wordpress settings and this hyperlink redirect to index…
Thanks
Reggards
Hi @confrontador,
I hope you are well today and thank you for your question.
You can disable it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.post-meta .post-meta-author { display: none; } .post-meta a.post-meta-date { padding: 0; }
Best regards,
Shufflehound team
The code you have provided hides the text on the screen, but it is still visible in the source code of the pages.
This violates the google guidelines so we could be penalized.
Solution for this topic
You can remove it from source code by using the attached custom child theme of Jevelin theme that contains some custom code.
This works perfectly, thank you very much. I understand that the child theme is used to make modifications without being crushed when updating. It is true?
Do you have any documentation on how to do this?
I have added the code of the image to the index.php but every time the theme is updated I must replace it.
This works perfectly, thank you very much. I understand that the child theme is used to make modifications without being crushed when updating. It is true?
Yes it’s true.
Do you have any documentation on how to do this?
You will find information about child theme in the following page.
http://freewptp.com/why-and-how-to-create-wordpress-child-theme/
I have added the code of the image to the index.php but every time the theme is updated I must replace it.
Just copy the modified index.php and paste it in to the shared child theme directory then your changes won’t get lost on theme updation.