here we go:
[[collapse_grid cat_id="4" count="5"/]]
[collapse_grid cat_id=”4″ count=”5″/]
A Pluginoven Test Site
here we go:
[[collapse_grid cat_id="4" count="5"/]]
[collapse_grid cat_id=”4″ count=”5″/]
First let’s test the mobile-only and mobile-exclude shortcodes to see if they are included with the plugin. No, they are not.
Now we install the Graphene Theme and test…
Oops, wrong Graphene Theme. It seems This Theme is all that is required for testing the shortcodes.
[[mobile only]...[/mobile-only]]
[mobile only]
this is some text that should only show up on mobile devices[[mobile exclude]...[/mobile-exclude]]
[mobile-exclude]
this is some text that should only show up on non-mobile devicesCurrently the slide effect and duration can be set globally under the plugin settings, but what if we want to set it individually per collapse element? We need the ability to add this via a shortcode attribute and as a data attribute for the roll-your-own method.
Default animation_effect is slideFade and duration is fast. As of version 1.7.3 these can be overridden using two new attributes: animation_effect and duration. Since using a shortcode will save the default effect and speed to a variable, we need to set up a separate test for the roll-your-own method
[expand title="Monkeys"]...[/expand]
[expand title="Donkeys" duration="slow"]...[/expand]
[expand title="Ninjas" animation_effect="slideToggle"]...[/expand]