Reply To: Homepage loading slowly

Home Forums Support Homepage loading slowly Reply To: Homepage loading slowly

#166085
nanche

Hey,
I tried disabling all plugins, but it didn’t seem to help. I tried debugging mode and in my dashboard it said there was an error in functions.php. I have added some custom code there which could be why. I added this at the end, which i use to display dates:

function displaydate(){
return date('(F Y)');
}

function displaydate1(){
return date('(M. Y)');
}

add_shortcode('date', 'displaydate');
add_shortcode('date1', 'displaydate1');
add_filter( 'the_title', 'do_shortcode' );
add_filter( 'aioseop_title', 'do_shortcode' );