Looking for advice for tabbed content in CPT

Posted in: Newspaper
Post count: 195

Hey there!

I wanted to ask for a little bit of advice because I have the following issue:

I want to create a tabbed content element in my sidebar of my CPT template which would consist of 3 tabs (A, B, C). I read the documentation and found that I have to create separate pages for these tabs. Everything works as expected but there is one little problem for me – I have 20 separate categories in my CPT and I have to create different tabs for each of them.

The idea of the tabbed content is simple – my CPT is used for episodes for my TV shows where each category represents a different TV show that we have and in the tabbed content I want to show our separate youtube and facebook channels (first tab), a biography for our TV hosts (second tab) and contact information for each TV show (third tab).

Is there a way to avoid the creation of 20×3=60 pages because it would be really annoying?

Also one suggestion – I think it would be a great idea to be able to style the tabs in the same way as the titles in the theme (I created my own css which does that but I think it would be good to have this as an option out of the box).

Best regards!

Post count: 27744

Hello,

Unfortunately, there is no other option to create tabbed content only if you create separate pages or you can try to use a a plugin for this.

Thank you!

Post count: 195

Thanks, do you have any plugins in mind that could be used?

Post count: 27744

Hello,

Unfortunately, for what you want to achieve, I don’t know a plugin.

Thank you!

Post count: 195

Just reposting this, because you didn’t say anything about it

Also one suggestion – I think it would be a great idea to be able to style the tabs in the same way as the titles in the theme (I created my own css which does that but I think it would be good to have this as an option out of the box).

Post count: 27744

Hi,

Those are the options for style https://i.imgur.com/d8qvpRD.png so if you want to use another style then you can use css.

Thank you!

Post count: 195

I am talking about something different, is there a place where we can post ideas for future implementation?

Post count: 27744

I added this request to our list, but I don’t know if those will be implemented.

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.