Expansion always open
-
Hi,
Could you please check this page of mine: http://travelintense.com/eco-travel-destinations/united-states/eco-tour-operators/?
My readers should actually not see the image that says “10% discount…” until they click on the phrase “Exclusive 10% discount code available for our readers – click here!”. It used to be like this, but now the discount image is always visible.
What do I need to do to get the image hidden again, until somebody clicks on it?
Thanks a lot,
Michaela
-
Your page is throwing the following JavaScript error:
sb-instagram.min.js?ver=1.4.8:3 Uncaught TypeError: jQuery is not a functionThis is being caused by the instagram-feed plugin:
<script type='text/javascript' src='http://travelintense.com/wp-content/plugins/instagram-feed/js/sb-instagram.min.js?ver=1.4.8'></script>Try deactivating this plugin and see if this fixes your issue.
Hi Baden,
Thanks for the suggestion. I have deactivated the instagram feed now, but the problem is still there. Any of these pages, that should have an expandable section show the hidden part right away:
http://travelintense.com/eco-travel-destinations/united-states/eco-tour-operators/
http://travelintense.com/eco-travel-destinations/indonesia/eco-lodges-in-indonesia/
Any other idea what could cause this issue?
Cheers,
MichaelaHi Baden,
I played around with some other plugins a little more, and I found the culprit: it’s the Boxzilla plugin. As soon as it’s deactivated, your plugin Collapse-O-Matic works fine. I’ll send them another message. They really seem to have a major bug in their coding. It’s not only that it breaks yours, but it also breaks my Instagram Feed by Smashballoon. I’ll search for another free and good pop-up option now to promote my newsletter sign up and facebook followers. If you know of any, just let me know.
Cheers,
MichaelaThanks for getting back to us. Happy to see you found the source of the issue.
We’ll mark this issue as resolved, but don’t hesitate to hit us back if you require any further assistance.Hi Baden,
I have the same problem as Michaela, but I can’t get it fixed.
I used Collapse-O-Matic on this page: http://www.overeen.be/families-en-particulieren/aanbod/
Under the trigger text ‘lees meer’, the collapsed text is automatically displayed instead of hidden. When I refresh the page, it is indeed hidden (as I want it to be). But when I open the page in a new window, the text is displayed again (until I refresh and so on …).What do I need to do to get this fixed?
Thanks a lot!Emma
Hello Emma,
This is a very common issue these days. The reason is due to how the content is being loaded. When you switch pages, the content is loaded dynamically via AJAX. Since the ‘page’ has already loaded, the function that triggers the initial collapse has already been called.You need to check your theme for a ‘callback’ that allows you to trigger the collapse_init() function once the new content successfully loads. Check your theme’s documentation, or open a support thread if you can not find it. If your theme does not offer a callback, we can guide you on how to create a work-around.
The topic ‘Expansion always open’ is closed to new replies.