Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #106210
    usernametaken
    Participant

    Can the “previous” and “next” links on posts only go to posts with a specific tag/category and not to the next post by date?

    I am working on a site where there are two main categories of posts.

    Here is an example: http://www.theresaboedeker.com/life-as-it-comes-episode-18/ This is a page with a category of “podcast.” Is there a way, when I click “next” to have it advance to the next page with category of “podcast?” Right now, it goes to my next post by date, which is a “blog” category.

    I apologize if this is documented somewhere. Thanks!

    #106220
    Pratik
    Participant

    Hi @usernametaken,

    I do not think what you say is possible with simple custom CSS or child themes modification. It will need quite a bit of modification as the next and previous buttons are generated dynamically.

    Maybe you can find a plugin for it in http://wordpress.org/plugins, but I nave not come up with some kind of plugin.

    Please consider hiring a customizer for this work.

    Regards,
    Pratik

    #106279
    usernametaken
    Participant

    Thank you for looking into it, Patrik. I appreciate it and will look into what you suggest. In the meantime, is there a way to turn off the previous/next links for this particular theme? I’ve searched the forum and didn’t see a discussion on this, but please feel free to link me to it if I overlooked something. I assume if there is a way that it would be site-wide and not by post category? Thank you again!

    #106284
    Pratik
    Participant

    Hi @usernametaken,

    Try following code in Appearance=> Customize=> Additional CSS:

    
    #nav-single {
        display:none;
    }
    

    Regards,
    Pratik

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Can "previous" and "next" on posts only go to posts with a specific tag/category’ is closed to new replies.