/genesis-code-snippets

Makes it easy to add custom code snippets to Genesis

Primary LanguagePHP

Genesis Code Snippets

Makes adding custom code snippets to Genesis powered site easy.

Important: This plugin is for example purposes only. DO NOT USE in production!

Usage

PHP

The PHP code is hooked to after_setup_theme so all genesis functions will work.

CSS

Enqueued as a static file.

JS

JS is wrapped in the document ready function so jQuery works without needing to load it.

Screenshots

Screenshot

Contributing

Run the following command to generate a POT file:

wp i18n make-pot ./ ./assets/genesis-code-snippets.pot