It sounds like you might not be using this plugin correctly. Here’s how you inject a script into the header:
add_action( 'wp_head', function () { ?>
<!-- head content -->
<?php } );
Similarly for the footer, with wp_footer instead of wp_head.
The Support Forum is a better place to ask for help using the plugin instead of leaving a review.
I just updated to the new version today and I think it broke my site as well. I found the faq with the code to put it into safemode, but that didn’t fix it, so maybe it’s something else, but it happened after I updated this add-on. I’m doing a restore now. We’ll see. Restored site. Reluctant to retry. Maybe it was fluke. I’ll check back.
-
This reply was modified 8 years, 2 months ago by
Dem1an.
-
This reply was modified 8 years, 2 months ago by
Dem1an.
I just updated the plugin and my site broke too and when I try to activate again it said
Plugin could not be activated because it triggered a fatal error.
Warning: require_once(*******/wp-content/plugins/code-snippets/php/import-export.php): failed to open stream: No such file or directory in *******/wp-content/plugins/code-snippets/php/class-code-snippets.php on line 60
Fatal error: require_once(): Failed opening required ‘*******/wp-content/plugins/code-snippets/php/import-export.php’ (include_path=’.:/usr/local/php56/lib/php’) in *******/wp-content/plugins/code-snippets/php/class-code-snippets.php on line 60
-
This reply was modified 8 years, 2 months ago by
AelitaX.
Same as others. Updated today and Server 500 errors. Removed plugin and site loads.