-
-
Save anonymous/67731ed5ce69eb203716 to your computer and use it in GitHub Desktop.
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
function wpsites_npp_navigation_links() { | |
if( 'portfolio' == get_post_type() && is_single() ) {?> | |
<?php previous_post('« « %', 'Previous', 'no'); ?> | |
| <?php next_post('% » » ', 'Next', 'no'); ?> | |
<?php | |
} } | |
add_action('genesis_entry_content', 'wpsites_npp_navigation_links', 5 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// hi! let's try here. Dave
function wpsites_npp_navigation_links() {
if( 'portfolio' == get_post_type() && is_single() && in_category('category-1') ) {?>
|