• Resolved rutledgek

    (@rutledgek)


    I used editor to add a function and and now my site won’t load at all. I can use FTP to get into the files to remove the code, but I have no idea which file it is or where I can find it. Any help would be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rutledgek

    (@rutledgek)

    http://www.stgeorgesumc.com is the website

    Was the code from the vine embed plugin site.

    function ds_vine_embed_default_type( $type ) {
    return ‘postcard’,
    }
    add_filter( ‘vine_embed_default_type’, ‘ds_vine_embed_default_type’ );

    You should be able to deactivate the plugin – by renaming/deleting the plugin’s folder via FTP.

    Or were you adding this to your theme? If so, deactivate the theme – by changing the name on the theme’s folder.

    Thread Starter rutledgek

    (@rutledgek)

    I treid both of the suggestions below I appended -1 to both the plugin name and the theme name and the site still doesnt load.

    Thread Starter rutledgek

    (@rutledgek)

    ok, your suggestion made me look in the funtions.php in the theme folder and i found the code there. I removed the code and the site loads now. Thanks!

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

The topic ‘Used editor – site broken’ is closed to new replies.