Code Snippets
[resolved] HELP! Site down because of bad Snippet!!! (4 posts)

  1. Vanesa
    Posted 2 years ago #


    I need urgent help! I added a bad Snippet and now the website is down and I don't know how to disable the snippet! Please help!!!

    This is the website:


    I was trying to add a dropdown function for WPML and added this snippet:

    <?php do_action('icl_language_selector'); ?>

    Please help!!!

    I was thinking about deleting the code-snippet folder via ftp, but then my other snippets would be deleted as well. Is there any way I can copy the functioning snippets before deleting the folder? Will I damage the WordPress site by deleting the folder??? Or is there a way to deactivate the snippets???

    I would very appreciate a fast response...


  2. Shea Bunge
    Plugin Author

    Posted 2 years ago #

  3. Shea Bunge
    Plugin Author

    Posted 2 years ago #

    Also, you won't be damaging anything if you delete the plugin folder. All that will happen is the Code Snippets plugin is deactivated, but all of the snippets are still in the database. The only way snippets are deleted is if you remove the plugin through the WordPress plugins menu.

  4. Vanesa
    Posted 2 years ago #

    Thank you! It worked and prevented my heart to stop :D!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.