Last active
December 12, 2015 05:28
-
-
Save deckerweb/4721359 to your computer and use it in GitHub Desktop.
Add custom content after in-page pagination links in Genesis content section.
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 | |
add_action( 'genesis_post_content', 'ddw_custom_content_after_pagination' ); | |
/** | |
* Add custom content after in-page pagination links in Genesis content section. | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://deckerweb.de/twitter | |
*/ | |
function ddw_custom_content_after_pagination() { | |
/** Custom HTML content */ | |
//echo '<div>Custom HTML code here...</div>'; | |
/** Custom function, from a plugin etc. */ | |
if ( function_exists( 'function_name_here' ) ) { | |
//echo function_name_here(); | |
} // end if | |
} // end function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment