Next/Previous on Portfolio switching between Types
  • gmdesignsgmdesigns
    July 2012
    Mike,

    I scanned the forums looking for the answer and didn't see what I was looking for… but found this.

    ----------
    Yeah, the next/previous buttons aren't aware of categories. They just go to the next/previous posts of the custom post type portfolio. The code that controls this is here:

    single-portfolio.php

    <?php previous_post_link( '%link', __( '‹ Previous', 'progressionstudios' ) ); ?>

    <?php next_post_link( '%link', __( 'Next ›', 'progressionstudios' ) ); ?>

    ----------

    How do I fix this code to make the next/previous stay within the same Type and ignore the "featured" images from my homepage slider? Any help would be greatly appreciated.

    Thanks
    gmdesigns