• I want my client to be able to create tabs within pages/posts. Lets say my client write a page with the title ‘Holidays’ and the content is something about holidays. Now my client wants to add tabs to that page, such as ‘Destinations’, ‘Prices’ etc. Child pages are not an option.

    I have tried using custom field which seems to work great apart from one thing; I can’t seem to find a way to make the custom field hold two values; a title for the tab plus the content. I can only give my client one field for each tab, and not every tab will be given the same title (Link).

    Is it possible to use h1 tags as dividers? Then I could tell my client that everytime they wanted a tab on a page, they could simply add an H1 tag and all the content up to the next H1 tag would be the content of one tab? Maybe with jquery?

Viewing 3 replies - 1 through 3 (of 3 total)
  • kasperbs,
    I know it’s been 5 months ago, but how has your work progressed? I have used postTabs plugin which functions satisfactory for my implementation – a Post with faux sub-pages under tabs. Although, from the beginning, I was searching for something found for example in the WordPress Plugin Directory, where the tabs go to the actual sub-page permalink.

    I am going to try and implement tabs directly in the Single.php-template of WP by for example querying the child pages of the current Post and then inserting them into inline tabs using only css and perhaps a little javascript. What do you think?

    Hi ziadf,
    did you manage implementing the tabs into the WP single.php template?
    Looking for a similar solution, but no luck so far.

    I just started using the PostTabs plugin, How do I get the tabs closer together?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding tabs within single pages/posts’ is closed to new replies.