Title: Problems with Function.php
Last modified: August 22, 2016

---

# Problems with Function.php

 *  Resolved [webballs](https://wordpress.org/support/users/webballs/)
 * (@webballs)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problems-with-functionphp-1/)
 * 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’ );

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problems-with-functionphp-1/#post-5946989)
 * Have you tried downloading a new copy of your theme (you should be able to do
   so if you purchased the theme) and replacing that entire file – via Cpanel or
   FTP?
 *  Thread Starter [webballs](https://wordpress.org/support/users/webballs/)
 * (@webballs)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problems-with-functionphp-1/#post-5947002)
 * Well that makes sense 🙂 I had hoped to fix it without reloading and starting
   to set everything again but it’s still better than not having my page at all 
   🙂
    Thanks and sorry for the newbie question!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems with Function.php’ is closed to new replies.

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * 2 replies
 * 2 participants
 * Last reply from: [webballs](https://wordpress.org/support/users/webballs/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/problems-with-functionphp-1/#post-5947002)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
