Title: Adding tabs within single pages/posts
Last modified: August 19, 2016

---

# Adding tabs within single pages/posts

 *  [kasperbs](https://wordpress.org/support/users/kasperbs/)
 * (@kasperbs)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/adding-tabs-within-single-pagesposts/)
 * 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)

 *  [ziadf](https://wordpress.org/support/users/ziadf/)
 * (@ziadf)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/adding-tabs-within-single-pagesposts/#post-1156301)
 * kasperbs,
    I know it’s been 5 months ago, but how has your work progressed? I
   have used [postTabs plugin](http://wordpress.org/extend/plugins/posttabs/) 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?
 *  [Thomas](https://wordpress.org/support/users/thomasbuxo/)
 * (@thomasbuxo)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/adding-tabs-within-single-pagesposts/#post-1156316)
 * Hi ziadf,
    did you manage implementing the tabs into the WP single.php template?
   Looking for a similar solution, but no luck so far.
 *  [runnin_turquoise](https://wordpress.org/support/users/runnin_turquoise/)
 * (@runnin_turquoise)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/adding-tabs-within-single-pagesposts/#post-1156321)
 * 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.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [runnin_turquoise](https://wordpress.org/support/users/runnin_turquoise/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/adding-tabs-within-single-pagesposts/#post-1156321)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
