Created
February 19, 2016 22:39
-
-
Save cjkoepke/d7483f01dbb3473864e9 to your computer and use it in GitHub Desktop.
Example code of properly prefixed functions.
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 | |
/* | |
* Example code of properly prefixing your functions | |
* Unique identifier: ck | |
* | |
*/ | |
add_action( 'genesis_after_header', 'ck_third_navigation' ); | |
function ck_third_navigation() { | |
// Code | |
} | |
add_action( 'genesis_header', 'ck_dynamic_header' ); | |
function ck_dynamic_header() { | |
// Code | |
} | |
add_action( 'genesis_footer', 'ck_footer' ); | |
function ck_footer() { | |
// Code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment