Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20870

    Hi there,

    I want to use the toggles feature, but I have found an issue. I need to use 8 toggles, while the theme shortcode provides only 6. I added them manually, but the last two toggles don’t display the title, only a standard text – Click here.

    The only solution I think of, is to register new toggles in theme functions. Please help me with this problem.

    Regards.

    The reference link is here:

    http://relationshiprocketscience.com.au/services/

    #109435

    Hi SamanthaKrajina,

    The editor doesn’t have the option but you can just add them in with regular shortcodes like this:

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

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

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

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

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

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

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

    [toggle title="Toggle 7"]Toggle 7 content goes here.[/toggle]

    [toggle title="Toggle 8"]Toggle 8 content goes here.[/toggle]

    [/toggle_container]

    For each new one, it needs to have a unique title inside the whole container.

    Regards,

    Devin

    #109436

    Hi!

    Devin, I had done that, but instead of displaying the title I set up, the last two toggles display – Click here. Please check the link above.

    How can I make them show the custom title?

    Thank you,

    S.

    #109437

    That should work without issue, make sure you have added it in exactly as I have it above. I tested it on my live install and had no issues.

    Make sure that the titles have quotes around them or else it will default to Click Here as you said.

    #109438

    Hi.

    I solved the problem. I looked in HTML code and I observed I have pasted some CSS code along with the title in the toggle shortcode. That was the cause of not displaying it correctly. Once I checked out the quote marks I discovered my error.

    Thank you for your help. The topic is closed.

    Regards,

    S.

    #109439

    Glad we could help :)

    Let us know if you have any other questions or issues.

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

The topic ‘Add more than 6 toggles’ is closed to new replies.