The documentation for tabs is incomplete

  • Author
    Posts
  • #121344
    digll_hessen
    Power User

    Hello,

    the documentation for the tabs shortcode has a syntax error in the example: [/_thead]

    When copying the code into your WordPress no tabs will be shown.

    The example also is not very helpful when you don’t look a the php code, because the attributes needed are not listed.

    Regards
    Markus

    #121437
    Zed
    Cryout Creations mastermind

    Hi,

    The tabs shortcode example has a typo in it (the unnecessary underline in the closing [/thead]). The correct example should read:

    [tabs]
        [thead]
            [tab href="#tab1" title="First tab"]
            [tab href="#tab2" title="Second Tab"]
        [/thead][tabgroup]
            [tabinner id="tab1" class="active"]First tab content[/tabinner]
            [tabinner id="tab2"]Second tab content[/tabinner]
        [/tabgroup]
    [/tabs]

    We’ll revise the documentation to correct and improve it.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘The documentation for tabs is incomplete’ is closed to new replies.