• Resolved lisaeve131

    (@lisaeve131)


    I have broken my website to the point that I can’t even get into the Dashboard of my site. https://www.lisakellyonline.com
    Nothing is happening and I don’t know where to go to fix it. I have a backup for my site from yesterday luckily but I’m confused on how I can upload it since I can’t even get in there. From instructions to fix a plug in I added a code into the PHP functions file in my themes code area. This is what it said:

    ?Posted 2 years ago #???Here is the code that worked for me:?/** Exclude DiggDigg from specific pages */
    function eo_exclude_digg_digg() {
    if(is_page(array(1, 2, 3, 4))) {
    remove_filter(‘the_excerpt’, ‘dd_hook_wp_content’);
    remove_filter(‘the_content’, ‘dd_hook_wp_content’);
    }
    }
    add_action(‘template_redirect’, ‘eo_exclude_digg_digg’);?…where 1, 2, 3, 4 are the ids of the pages you want to exclude DiggDigg from.?More details here: Exclude DiggDigg From Specific Pages ??

    FightBackNetworks
    Member?Posted 2 years ago #???Thanks Eugen. That works great.?Just in case it wasn’t clear to some people, Eugen’s code goes in the functions.php file in your theme folder. Make sure you back it up and have FTP access to your blog if you’re not experienced with PHP.

    Now my site doesn’t work at all. Please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You have FTP access? You need to logged in to ftp and remove the code you have written in functions.php file of your theme.

    The code is causing the issue.

    Thread Starter lisaeve131

    (@lisaeve131)

    I’m still learning, what does FTP access mean? I’m not sure if I do.

    FTP is a method to access web sever files using a FTP client such as FileZilla.

    Your site is Hosted at Bluehost. Here is a tutorial for it.
    https://tutorials.bluehost.com/filezilla/

    Thread Starter lisaeve131

    (@lisaeve131)

    Thanks Gyanendra, I got most of the way through the tutorial and putting through the details in Filezilla. However I got an error at the end after I had connected and it was retrieving the information: Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing

    Any ideas?

    Try to connect FTP by this method using filezilla.

    1. Go to top left menu named 'File' -> Site Manager.
    2. Add 'New Site'.
    3. Enter ftp details
    Host: host name(site url mostly)
    Protocol: FTP- File Transfer Protocol
    Encryption: Only use plain FTP
    Logon Type: Normal
    User: ftp username
    Password: FTP password
    and hit on Connect button.

    It should work.

    Thread Starter lisaeve131

    (@lisaeve131)

    Thanks for your help Gyanendra. I ended up getting someone from Fiverr to fix it for me and it’s all up and running now. Thank goodness!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress site not working’ is closed to new replies.