Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Add Tabbed Content in WordPress Posts and Pages

Do you want to divide your posts into tabs to save space and make it easier for users to find what they’re looking for? In this article, we will show you how to add tabbed content in WordPress posts and pages.

A WordPress post with tabbed content

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the Tabs Shortcode and Widget plugin. This plugin works out of the box, and there are no settings for you to configure.

Simply create a new post, and on the post edit screen, you will notice a new shortcode button. Clicking on the button will reveal a menu.

Tabs layout button

Click on the tabs layout option in the menu, and it will launch the plugin’s tab editor interface.

Adding tabs

The first option on the tab editor is to choose the number of tabs you want to display. Next, you can choose the layout type. The plugin supports, horizontal and vertical tabs. After that you need to provide each of your tabs a title, choose an icon if you like, and then add the tab content.

Repeat the process for all your tabs. The last option on the popup is to add a custom CSS class. If you would like to change the appearance of the tabs, then you should enter a CSS class here.

During the whole process, you will be able to see a live preview of your tabs on the right side. Once you are done, click on the insert button to add the tabs in your WordPress post.

Save and preview your post and you will see your tabs in action.

Adding a Tabbed Widget in WordPress

The plugin also provides a widget to add tabbed content into your WordPress sidebars. Simply visit Appearance » Widgets and add OTW Shortcode Widget to a sidebar.

Adding a tabbed content widget

In the widget settings area, click on the add button to add tab layout. This will bring up the same tab editor we showed you earlier. Simply create your tabs using the user interface and add it to the widget. Lastly, click on the save button to store your widget settings.

You can now preview your website to see the tabbed content widget in action.

More adventurous users can also check out this tutorial on how to add a jQuery tabber widget in WordPress.

We hope this article helped you learn how to add tabbed content in WordPress posts and pages. You may also want to take a look at our list of 8 best jQuery tutorials for WordPress beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

31 CommentsLeave a Reply

  1. Hi, I need to display posts as tabs, I need the post title to be the tab label and the post content to be the tab content, any recommendations on how to do it?

  2. I am beginner in wp.Can anyone help me to solve my problem?
    in my site there is part of ou story as like history,fo eg. if click on 2018 tab i wanto get the corresponding description about 2018.How to do this in wp.Thank you in advance

  3. I love this, Not the end of the world if this option is not available, just would like to be able to edit a current set of tabs using the same interface in which I created them. Is this possible instead of having to paste new content in between the shortcodes?

  4. How to stop playing video in tab when switching to another tab if i have video in every tab? Please help me

  5. Is it possible to have just a button on the users editor which automatically creates a new tab where he/she can write her content in?
    I’m planning a Content sharing platform …

  6. Hi,
    I’m looking for vertical tabs that have the option of adding a link for each tab so that each tab has an address.
    Can you suggest a tab plugin that has this option or a tutorial that explains how to add this functionality.
    Thanks for any help

    David

  7. This is a helpful article.
    I would like to know about the tabbed content in wpbeginner homepage. Could this plugin create the same tabbed content?
    Or you use another plugin to create that tabbed content?
    I think that tab is great.

      • Thanks for the reply!

        I am actually a beginner of wordpress blog and i want to first get familiar with it so that i upgrade to wordpress.org with bluehost as my host.

        I want to monetize my blog as i am into affiliate marketing! I currently want to add content just below each pages i created on the menu bar and some social share buttons though am finding it challenging!

        Please guide me this.

        Thanks.

  8. Helpful info on tabs in WordPress!

    However, is there a solution in this plugin or any other WP plugin to add tabs at the whole site (site-wide) and not just in posts and pages?

    For example: I need one “tabs group” consisted of 3 tabs, and I like to add it sitewide (the same content / tabs at all pages and posts; like menu / submenu but with tabs functionality).
    Is this possible?

    Otherwise, it’s a lot of work to add the same “tabs group” to all pages and posts one by one.

    Thanks in advance for the reply!

  9. This looks like a great tabs plugin – but, it would be even greater if I can added also to Pages not just posts. I looked all over, but does not appear in editor of Pages – any chance of that?

  10. Hello,

    Is it possible to create tables inside tabs in wordpress blog pages. Please see this page: , Please help me to create something like this one in wp.

  11. If you cannot figure out why you would need them, then this means that you don’t really need them on your website. We write about a lot of cool things that users can add to their websites. If users find something useful, then they can add it to their site.

  12. I’m very new to building a website. I think being so far advanced, your assumption of how well someone like me can understand and follow your instructions, is highly exaggerated. I still don’t understand what tabs are for. I know you explained it, and even showed us where we can see them in action, but I still don’t understand why I need to have tabs. It would be great if you were more deliberate in giving us, slower people, more examples. Thanks!

  13. This is a helpful article. I will use this plugin whenever it’s necessary. I think this is much better compared with the one I am using in terms of design. Thank you for sharing.

  14. hi and thanks for providing a post where i could add tabbed content in my blog.
    i was looking for a plugin that could do this.

  15. Is the content in the tabs searchable or does the short code prevent the content from being searched?

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.