Hello! I love the simplicity of this plugin and many “read more” plugins don’t seem to work at all with the Avada interface, so thank you. My question is this: the text inside the [showhide] … [/showhide] shortcode does not display paragraph spacing which makes it difficult to read. I tried to force <p> and <br />, but that did not work. Any ideas on how I might solve this?
]]>Love the simplicity of this plugin. However, I found that it doesn’t work with page builders. I believe the issue is because page builders will nest each content block several layers deep. I had to amend the plugin to allow a second shortcode to end the hidden section ([showhide_end] rather than [/showhide]) and amend the script.js to traverse the DOM to find a common ancestor to hide the content between the two shortcodes. Maybe an easier solution would be to allow a ‘hideClass’ attribute then you could just add that class to anything that you want to hide.
]]>For some reason when I use the argument show_caption to alter the default text only the first word of the custom text is displayed.
Upd. Solved by adding the quotation marks inside the argument.
P.S. Love the simplicity of the plugin.
]]>