WordPress.org

Ready to get started?Download WordPress

Forums

prev next for child category only (2 posts)

  1. st3f
    Member
    Posted 7 years ago #

    Hi there,

    i currently work on a project with a lot of categories. each posting is asigned to the parent category AND one child category.

    For the single.php i need prev / next links only for the child category. But the default templatetags previous_post and next_post display the prev / next links from the parent category. is there a way to put some php hackery around that tag to make it work with child categories?

    would be amazing if someone can help me! thanks!

  2. st3f
    Member
    Posted 7 years ago #

    oh no ... no php wizard around?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags