Collapse-O-Matic | Documentation
Collapse-O-Matic plugin options page is located under Dashboard > Settings > Collapse-O-Matic.
Default style of accordion elements. Select light for sites with lighter background and dark for sites with darker backgrounds. Select none to remove all built-in style.
Collapse Commander is an add-on plugin that introduces an advanced management interface to better organize expand elements and simplify expand shortcodes.
The default HTML tag attribute used to wrap the trigger text.
Default class to be added to the trigger element. Any custom class provided will be added to the trigger after the required collapseomatic class that is assigned by default.
Default tabindex value to be assigned to the trigger element. Assigning the tabindex attribute a numerical value will assign the trigger element the same tabindex value. The default is
tabindex="0" and allows the trigger element’s tabindex to be placed in the default tab navigation order.
Default HTML tag to be used for the target element. Any default tag assigned in the plugin options can be overridden by defining the targtag attribute in the shortcode.
Default class to be added to the target element. Any custom class provided will be added to the target after the required collapseomatic_content class that is assigned by default.
Selecting this option will prevent the title attribute from being displayed on trigger mouse-over.
Add touchstart binding to triggers to troubleshoot issues on touch screen devices. Note: This is normally not recommended and to should used only as a brute-force override if the click event is not being fired on touch devices. If adding touchstart fixes the issue, there is a very good some non-standard script is being installed some other plugin or the theme.
Amount of time in milliseconds to pause before the initial collapse is triggered on page load. Default is blank (zero/no pause).
A string or number determining how long the collapse & expand animation should take to complete. Duration numbers are in milliseconds; higher values indicate slower animations, not faster ones. The default duration is 400 milliseconds. The strings ‘fast’ and ‘slow’ may also be supplied to indicate durations of 200 and 600 milliseconds, respectively. For more details see the .animate() jQuery API
Custom CSS for ultimate flexibility. CSS may abe added in this section if the active child-theme does not support a quick-css option.
Select this option to force-apply WordPress’ the_content filter to content hidden in the target element. This option is not active by default, as it is normally not required. The primary use for this option is to help troubleshoot rendering issues due to non-standard coding practices used in the active theme or another plugin.
Select this option to only load the Collapse-O-Matic CSS if the
[expand] shortcode is used. Note: It is not recommended to activate this option if the roll-your-own method is being used.
Where to enqueue the script: