Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi!

I have a portfolio website with some categories created and posts associated with those categories. I would love to create the tabs (like those https://codepen.io/mildrenben/pen/bdGdOb/) on my website, but I can't find any tutorial on how to do it. How to connect categories with those tabs?

I must note that, when the user clicks on one tab, I don't want that URL changes. The URL should stay the same, but different content should show up.
How are your categories created? Are they couch generated folders?
Yes, they are.

Let's say I have these categories and tabs created:
World
Europe
Asia
Africa

And my website is example.com

Now when someone clicks on Asia, the URL will change to example.com/asia but it should stay example.com and only needs to show content under the Asia tab.
Sorry for the long break. Can you post the code of the code to the tabs setup? Then I will be able to help set it up okay.
4 posts Page 1 of 1
cron