Home › Forums › Other › next-post – prev-post within the same child category › Reply To: next-post – prev-post within the same child category
September 9, 2018 at 10:13 pm
#276456
miraziz
Participant
Thanks for the reply.
Unfortunately, I do not know enough about php.
I use this code but it works for parent category.
-cat01
–childcat02
—grandchildcat03
According to the above category, it just switches in cat01. i want it works for cat03 (child cat)
<?php previous_post_link( '« %link', '%title', true ); ?> |
<?php next_post_link( '%link »', '%title', true ); ?>