[tmq_accordions shortcodemode=»custom» title=»Normal Accordions» slug=»x1x» collapse=»Manual»]
[tmq_accordion order=»0″ title=»First Accordion» collapse=»Manual» slug=»x1x» mode=»open»]This is the first accordion content[/tmq_accordion]
[tmq_accordion order=»1″ title=»Second Accordion» collapse=»Manual» slug=»x1x» mode=»close»]This is another accordion.[/tmq_accordion]
Dynamic (Quick) ShortCode
[tmq_accordions shortcodemode=»quick» title=»Quick Accordions» slug=»x234″ collapse=»Automatic» postid=»1″]
This is the accordions block container.
- shortcodemode: Custom / Quick
"Custom"means that the contents should be hard coded into the shortcode. (This Example)
"Quick"means that the contents of the accordions will be read from Magic Post Type.*
- title: This is title of the accordions block. Leave this empty to show the accordions block without a header.
- slug: This should be a «random/unique in current page or post» code. This code will be generated by Themique Power ShortCodes ** but if you want to put the shortcode manually, you should choose a unique string for it like: «
slug1234» or …
- collapse: Manual / Automatic
"Manual"will let the user to open and close all the accordions manually.
"Automatic"will turn the accordions into the toggle mode which will allow only one open accordion at a time. It means that when you open an accordion, the previous opened accordion will be closed automatically.
- postid: ID of the Magic Post Type*** to put its content into the accordions block. This will only works with
"shortcodemode"option. Please note that if you use this type of shortcodes, you don’t need to use
"tmq_accordion"shortcodes inside the main container.
This is a single accordion in the accordions block.
- order: Sort order of the accordion.
- title: Title of the single accordion.
- collapse: Manual/Automatic
Just like the accordions. This should be exactly equal to the tmq_accordions option value.**
- slug: Just same as the accordions. This must be exactly equal to the tmq_accordions option value.**
- mode: Open / Close
"open"means that when the page loads, this accordion item is opened automatically. More than open accordion can be opened.
"close"means that when the page loads, this accordion item will be closed by default.
Magic Post Type** Magic Post Type is a custom post type in Ventus theme which will let you create some contents and use/reuse them with some shortcodes like accordions, tabs, tour sections and …
Auto Generated Options**** Ventus has an exclusive shortcode manager named «Themique Power ShortCodes» which will create these values by itself. There is no need to set values for these fields manually but in case that you want to type the shortcode instead of using the shortcode manager, you should follow the instructions.