WordPress.org

Support

Support » Plugins and Hacks » WP_UI – Tabs not displaying content

WP_UI – Tabs not displaying content

  • Coe_Lacy

    @coe_lacy

    I installed this plugin and have gotten accordions to work correctly, pulling content from posts within a certain category. Now I need to have tabs within these accordions to display various content, and while I can get the tabs to show up, the content within them doesn’t show. I tried simplifying it and building the whole thing in a page without drawing content from posts, thinking maybe that’s where the issue was; still no joy. Here’s the code that displays perfectly with the exception of content;

    [wptabs type="accordion" ]
    [wptabtitle]Handling[/wptabtitle]
    [wptabcontent]
    <div class="wp-tabs">
    <h3 class="wp-tab-title">Inner 1</h3>
    <div class="wp-tab-content">Contents of inner tab 1.</div>
    <h3 class="wp-tab-title">Inner 2</h3>
    <div class="wp-tab-content">Contents of inner tab 2.</div>
    </div>
    [/wptabcontent]
    [wptabtitle]Handling[/wptabtitle]
    [wptabcontent]
    <div class="wp-tabs">
    <h3 class="wp-tab-title">Inner 1</h3>
    <div class="wp-tab-content">Contents of inner tab 1.</div>
    <h3 class="wp-tab-title">Inner 2</h3>
    <div class="wp-tab-content">Contents of inner tab 2.</div>
    </div>
    [/wptabcontent]
    [/wptabs]

    Any thoughts?

  • The topic ‘WP_UI – Tabs not displaying content’ is closed to new replies.
Skip to toolbar