Skip to content

Instantly share code, notes, and snippets.

@cjkoepke
Created February 19, 2016 22:39
Show Gist options
  • Save cjkoepke/d7483f01dbb3473864e9 to your computer and use it in GitHub Desktop.
Save cjkoepke/d7483f01dbb3473864e9 to your computer and use it in GitHub Desktop.
Example code of properly prefixed functions.
<?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