recommended method for custom code in functions.php

Posted in: Newspaper
Post count: 6

Hello,

which is the recommended method for adding custom code in the functions.php? child theme?

i have to add some filters (cause of security), so it would be good if they arent gone after an update…

Post count: 18283

Hello !

Yes, the best ideea would be to insert them in your functions.php in child theme. Please follow our tutorial here in order to learn how to set up child theme properly: https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you !

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.