Skip to content

Instantly share code, notes, and snippets.

@Dinamiko
Created January 22, 2015 16:51
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 Dinamiko/30ab8cfb15c28bad959f to your computer and use it in GitHub Desktop.
Save Dinamiko/30ab8cfb15c28bad959f to your computer and use it in GitHub Desktop.
adds a text before content in docu-index.php template
function custom_docu_before_index_content() {
echo '<h1>Before content</h1>';
}
add_action( 'docu_before_index_content', 'custom_docu_before_index_content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment