Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article.
I have created a site using the Engage theme. I want to remove the link on the author name on a blog archive page. If I edit line 346 of blog-functions.php in the main theme, the link is removed. If I set up an identical hierarchy in the child theme, eg; engage-child>framework>blog and place a copy of the blog-functions.php file in that folder, changes I make to that copied php file are not over-riding the main blog-functions.php file.
Please advise as to how I can fix this - A child theme should over-rule the parent.
Hi,
I have created a site using the Engage theme. I want to remove the link on the author name on a blog archive page. If I edit line 346 of blog-functions.php in the main theme, the link is removed. If I set up an identical hierarchy in the child theme, eg;
engage-child>framework>blog
and place a copy of the blog-functions.php file in that folder, changes I make to that copied php file are not over-riding the main blog-functions.php file.
Please advise as to how I can fix this - A child theme should over-rule the parent.
Thank you.
Hi timbozo,
You are trying to override a function, not a page template or page file.
You will need to override the function specifically. Check out this tutorial:
https://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme--cms-22623
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)
Ah, well that make sense ... Could you let me know which function please? Might be quicker than me looking through all the code.
OK, stupid question. Ignore that! Thanks.
And I have fixed it. Thank you for your quick response, you can close the ticket.
Hi timbozo,
Ok great! Glad you got it sorted. I'll close the ticket
Kind regards,
Joanna
Veented Support
Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories
Check out our latest article: How to Improve Page Loading Times
Don't forget to hit the like button below if you are happy with your support answer :)