- This topic has 19 replies, 2 voices, and was last updated 5 months, 2 weeks ago by Ying.
September 17, 2018 at 2:37 am #679007dassana
i want to remove the links from the author in the comment section. i did search in the forum but there are snippets of different codes for different functions. hence not added these codes.GeneratePress 2.1.4GP Premium 1.7.2September 17, 2018 at 8:41 pm #679764TomLead DeveloperLead Developer
There’s no filter for this, unfortunately. You’d have to overwrite the entire function.
You can do that by adding this function to your site: https://gist.github.com/generatepress/6a9ad4e007ae0a7388bbbbb7b3ae068fSeptember 18, 2018 at 5:32 am #680055dassana
thanks tom. this code worked very well.September 18, 2018 at 9:53 am #680376TomLead DeveloperLead Developer
Just made a change: https://gist.github.com/generatepress/6a9ad4e007ae0a7388bbbbb7b3ae068f
Let me know 🙂September 18, 2018 at 11:58 pm #680817dassana
works like a charm. thanks a ton for all the support you and your team has given. ☺️🙏September 19, 2018 at 8:38 am #681294TomLead DeveloperLead DeveloperOctober 22, 2019 at 10:18 am #1041602Matias
May I add this code to function file of GP Child Theme?October 22, 2019 at 10:44 am #1041624LeoStaffCustomer SupportFebruary 6, 2020 at 5:29 am #1156478rajkumarsmFebruary 6, 2020 at 10:40 am #1156937LeoStaffCustomer Support
Just tested it and this one will need to be added in the function.php file of your child theme:
https://docs.generatepress.com/article/using-child-theme/February 20, 2020 at 3:10 am #1171244rajkumarsm
Hi Leo, I am not using any child theme. I am using the Generatepress Premium theme. Can you guide me to fix this?
Thanks in advance.February 20, 2020 at 3:48 am #1171271DavidStaffCustomer Support
you will need to install the GP Child Theme – see here:
Without the child theme the changes you require cannot be made at this time.February 20, 2020 at 9:01 pm #1172168rajkumarsm
Thanks. I have installed the child theme and its working fine. Earlier I used Snippet plugin and Simple CSS plugin. Now I had moved the code to child theme relevant files (functions.php and style.css files). There is no point to use Snippet plugin and Simple CSS plugin right when using child theme and able to modify functions.php and style.css.
Thanks in advance.February 20, 2020 at 9:28 pm #1172188LeoStaffCustomer SupportFebruary 21, 2020 at 7:49 pm #1173205rajkumarsm
Thanks Leo & David.
Software Testing Material
- You must be logged in to reply to this topic.