Problems with Function.php
-
Not sure if this is the right place where to post.
Anyway, I totally messed up my functions.php file and my site blew out.
No, I don’t have any back up unless my provider has.The thing is that I actually didn’t change anything, I just typed something and then deleted id. Well I did have the bad idea to save before deleting it. But I’m pretty sure everything’s just the way it used to be right now.
This is the last part of the code, where the error is supposed to be./**
* Layerslider API
*/
function avada_layerslider_ready() {
if( class_exists(‘LS_Sources’) ) {
LS_Sources::addSkins( get_template_directory().’/framework/ls-skins’ );
}
if( defined( ‘LS_PLUGIN_BASE’ ) ) {
remove_action( ‘after_plugin_row_’ . LS_PLUGIN_BASE, ‘layerslider_plugins_purchase_notice’, 10, 3 );
}
}
add_action( ‘layerslider_ready’, ‘avada_layerslider_ready’ );
The topic ‘Problems with Function.php’ is closed to new replies.