• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to insert tabbed content

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to insert tabbed content

This topic is: not resolved

Tagged: tabbed content

  • This topic has 7 replies, 4 voices, and was last updated 9 years, 11 months ago by brookelustig.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 15, 2015 at 3:27 am #173807
    brookelustig
    Member

    Hello everyone, I have custom template and I'm trying insert a function where I can create simple tabbed content on posts. Can't seem to figure out how to accomplish this without the use of plugins. Anyone with any ideas or tips on how I can do this?

    Cheerios

    Brooke

    December 15, 2015 at 5:34 am #173815
    Brad Dalton
    Participant

    You can code it yourself using something like this jQuery with HTML https://jqueryui.com/tabs/

    Or

    This premium template http://wpsites.net/wordpress-themes/genesis-tabbed-content-template/


    Tutorials for StudioPress Themes.

    December 15, 2015 at 6:36 am #173820
    brookelustig
    Member

    Hi Brad, I tried the jquerey one but the tab dosen't show for some reason. Do you know if the wpsites code would let me add the tabs on posts or would they be hardcoded to the template?

    Thank you

    December 15, 2015 at 6:45 am #173824
    Victor Font
    Moderator

    The jQuery tabs are pre-registered in the WordPress distribution. You have to make sure you're loading the jQuery plugin in functions.php. Add wp_enqueue_script( 'jquery-ui-tabs' ); to your functions file.

    Activate the tabs by adding the jQuery code to your page header:

     <script>
     jQuery(function($) {
        $( "#tabs" ).tabs();
      });
      </script>

    Follow this example to create your tabs: http://jqueryui.com/tabs/

    Here's an example I created with this process: http://modernrenaissancemarketing.com/. Scroll down to the second panel.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 15, 2015 at 7:02 am #173827
    Brad Dalton
    Participant

    The tabs can be added anywhere you paste the HTML. Its a complete working solution.


    Tutorials for StudioPress Themes.

    December 15, 2015 at 9:08 am #173835
    brookelustig
    Member
    This reply has been marked as private.
    December 15, 2015 at 2:19 pm #173848
    Susan
    Moderator

    Brooke:

    Victor won't be able to see your reply, as it is private. The only people who can read a private reply are the creator of the thread (you), and moderators (such as me).

    December 15, 2015 at 2:30 pm #173857
    brookelustig
    Member

    Lol thanks Susan:) Omg thank you Victor! Saved my day:) One last issue I’m trying to solve is formatting the page around my inserted shortcode. As you can see here on my website http://www.bokanet.se/16-2/ the content is fine one the first tab but becomes a little out of place when you click on different tabs. Why is that? Do you know how I could solve that?

    I copied the style from code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css

    Once again thank you for your time and help!

    Brooke

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble