- This topic has 2 replies, 2 voices, and was last updated 10 years ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
does the size and of course the number (and complexity) of the functions/actions in the child theme functions.php file affect much the performance?
Just wondering, since it seems like this is the correct way to customise genesis child themes.
so I wonder about the server performance..
The size of a PHP file doesn't have nearly the effect on execution time as the quality of the code contained within. Plus, once you get over a couple of hundred lines, you should think about breaking it up with includes or some code design pattern.
It's a bit difficult to provide some good suggestions without examples. If you'd like to provide some specific code blocks, we'd be happy to take a look.
J. Aaron Eaton – WordPress Consultant
Thanks Aaron for responding.
it was just a general question,
but your answer does clear some worries 🙂 when I finally get around to customise a lot the theme using functions.php.. I may post the code here for inspection.
thanks a lot
© 2023 WPEngine, Inc.