Makes adding custom code snippets to Genesis powered site easy.
Important: This plugin is for example purposes only. DO NOT USE in production!
The PHP code is hooked to after_setup_theme
so all genesis
functions will work.
Enqueued as a static file.
JS is wrapped in the document ready function so jQuery works without needing to load it.
Run the following command to generate a POT file:
wp i18n make-pot ./ ./assets/genesis-code-snippets.pot