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
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.