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
add_action( 'genesis_entry_footer', 'wpsites_single_cpt_navigation' ); | |
/** | |
* @author Brad Dalton | |
* @example http://wpsites.net/ | |
* @copyright 2014 WP Sites | |
*/ | |
function wpsites_single_cpt_navigation() { | |
if( 'grants' == get_post_type() && is_single(array('167','168','175')) ) {?> | |
<div class="alignleft"> | |
<?php previous_post('« « %', '%title'); ?> | |
</div> | |
<div class="alignright"> | |
<?php next_post('%title'); ?> | |
</div> | |
<?php | |
} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment