Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/466a056ad50cd0143fb9 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/466a056ad50cd0143fb9 to your computer and use it in GitHub Desktop.
How to use Genesis functions in a plugin
<?php
//* Plugin Name: My Custom Plugin for WordPress + Genesis
/**
* How to use Genesis functions in a plugin
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-functions-plugin/
*/
add_action( 'genesis_setup', 'rtug_loop' );
function rtug_loop() {
genesis_standard_loop();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment