How do I get the accordion shortcode to work?

  • Posted in : Read WP
  • stefanvanderfluit
    Participant

    I am having a lot of difficulty (I am not the most experienced yet with shortcodes!) with getting the accordion function to work as it does on the demo page…help would be greatly appreciated

    For example I would like:

    Title: This is the title
    Content: This is what you can see after you clicked the arrow, and hide after you click the arrow again

    How do I put this in the word editor?

    Cheers!

    Mehmet S.
    Keymaster
    [accordions]
    	[accordion active="active" title="accordion 1"]Put your content here.[/accordion]
    	[accordion title="accordion 2"]Put your content here.[/accordion]
    [/accordions]
    
    active="" ... active keyword is for opened style
    
    title="" ... the caption text of the accordion
    

    – i.e.

    [accordions]
    	[accordion active="active" title="This is the title1"]This is what you can see after you clicked the arrow, and hide after you click the arrow again.[/accordion]
    	[accordion title="This is the title2"]Put your another content here.[/accordion]
    [/accordions]
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register