Short Codes Not Working with WooCommerce
-
Hi Phil,
I’m using Accordian shortcodes with WooCommerce and I cannot get anything to work. Here are the short codes I’m using:
[accordion openfirst=”false” clicktoclose=”true”]
[accordion-item title=”DESCRIPTION” state=”closed”]
Content here
[/accordian-item]
[/accordian]I have been through all the documentation, tried adding define(‘AS_COMPATIBILITY’, true); to the wp_config, and manually adding the as- to the shortcodes above, checked that the wp_footer() function is there, and none of that works. The page opens with all content displaid and clicking the title has no effect.
I want the headers to appear when the page loads but with the content closed, to be opened on a click and closed again on a click
Can you let me know what I should be doing to get this working?
Many thanks!
Martin.
- The topic ‘Short Codes Not Working with WooCommerce’ is closed to new replies.