WordPress.org

Support

Support » How-To and Troubleshooting » Add a 'Next Category' Page Link

Add a 'Next Category' Page Link

  • mr orange
    Member

    @mr-orange

    Is it possible to add a “Next Category” link to the archive page?


    An example:

    If you click on a category, lets say “PHOTOGRAPHY”, and on that archive page you wanted to add a link that would take you to the same archive page of the next category in your category list. So on the PHOTOGRAPHY page I want a link that says “Next Category”, etc.

    Is this possible?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael
    Forum Moderator

    @alchymyth

    link to your site?

    So on the PHOTOGRAPHY page I want a link that says “Next Category”, etc.

    a simple next/previous category navigation for category archives:

    http://pastebin.com/0GG0HX4x

    the suggested code uses the category names, so on a PHOTOGRAPHY category archive page, it would say PSYCHOPATHY 😉

    mr orange
    Member

    @mr-orange

    Worked like a charm Thanks!!

    mr orange
    Member

    @mr-orange

    Anyway to use this with a “Tag” page as well? Do you know how that might be implemented?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a 'Next Category' Page Link’ is closed to new replies.