Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20189

    Hi!

    I need to create a FAG page using the Toggle shortcode. The shortcode options only allow six entries, but I would like to have one consistent container with about 20 entries, as opposed to having them broken into 6 entry blocks.

    Can you let me know if it is possible to customize the number of titles, or just leave it unlimited?

    Thx!

    #106611

    Hi tylerford,

    The workaround for this is to change the Visual to HTML. The code you should see is something like this (Maybe a bit different, depending on the values you put):

    [toggle_container keep_open="false" initial_open="1"]

    [toggle title="Title 1"]Title 1 content goes here.[/toggle]

    [toggle title="Title 2"]Title 2 content goes here.[/toggle]

    [toggle title="Title 3"]Title 3 content goes here.[/toggle]

    [toggle title="Title 4"]Title 4 content goes here.[/toggle]

    [toggle title="Title 5"]Title 5 content goes here.[/toggle]

    [toggle title="Title 6"]Title 6 content goes here.[/toggle]

    [/toggle_container]

    Just insert this before the [/toggle_container]:

    [toggle title="Some Title"]Some Content[/toggle]

    just replace Some Title and Some Content. And it should look something like this:

    [toggle_container keep_open="false" initial_open="1"]

    [toggle title="Title 1"]Title 1 content goes here.[/toggle]

    [toggle title="Title 2"]Title 2 content goes here.[/toggle]

    [toggle title="Title 3"]Title 3 content goes here.[/toggle]

    [toggle title="Title 4"]Title 4 content goes here.[/toggle]

    [toggle title="Title 5"]Title 5 content goes here.[/toggle]

    [toggle title="Title 6"]Title 6 content goes here.[/toggle]

    [toggle title="Some Title"]Some Content[/toggle]

    [toggle title="Some Title"]Some Content[/toggle]

    [/toggle_container]

    Hope this helps. :)

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Toggle Shortcode / Unlimited Titles’ is closed to new replies.