Slow loading times after functions.php edit
-
Hi everyone,
Currently I’m experiencing very high loading times for my site which can be found at https://www.cktestsite.co.uk. The original theme is Attitude, but I am using a child theme. The slow loading times are also effecting my wordpress dashboard
I’ve searched the forums and done the following things to try and resolve the issue:
- Deleted browser cache
- Disabled Plugins
- Changed Theme
After doing the above the loading time remained the same, around 30 seconds to load any page.
I did make an edit to my child theme before the slow loading times happened, but I can’t see how this would effect it. the following code was added to my child theme functions.php
define( 'ATTITUDE_WIDGETS_DIR', get_stylesheet_directory() . '/library/widgets' ); define( 'ATTITUDE_WIDGETS_URL', get_stylesheet_directory() . '/library/widgets' );
The idea of this was to make sure that my themes widgets.php file wouldn’t be overwritten whenever the theme was updated, as I have a custom widget area.
To make sure this wasn’t the problem. I removed the lines, reuploaded functions.php and still it’s still slow.
Just to confirm, I have reactivated plugins and child theme, and put the code back into functions.php
Any help would be greatly appreciated!
- The topic ‘Slow loading times after functions.php edit’ is closed to new replies.