Last active
August 29, 2015 14:20
-
-
Save reasonstousegenesis/466a056ad50cd0143fb9 to your computer and use it in GitHub Desktop.
How to use Genesis functions in a plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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