I wan to display previous / next category name on post.
Category1 Category 2 Category 3
Post 1 Post 4 Post 7
Post 2 Post 5 Post 8
Post 3 Post 6
Let say I have a data like this and went to post 5.
I want to detect what category the post 5 is then calculate +, – and display the Category 1 name and Category 3 name.
- The topic ‘How to display prev/next category on post?’ is closed to new replies.