Great plugin! But my accordions stopped working! Is it a WordPress version compatibility issue? Any suggestions or plans? My website’s accordion FAQ is at https://www.davidgoldstrom.com if you’d like to see it.
Thanks for writing this plugin!
cubetech Accordion uses flush_rewrite_rules
to save permalink rules, and attaches the function to the init
action, which causes the expensive ‘flush_rewrite_rules’ function to run on every page load. Additionally, it means that any content types that are defined after cubetech Accordion is loaded will have their permalink formats wiped out of memory prior to page rendering, returning a 404 or an incorrect document (depending on whether there was a fuzzy match elsewhere.)
Fix: move flush_rewrite_rules() into a one-time action, run on installation, per function documentation: https://codex.www.ads-software.com/Function_Reference/flush_rewrite_rules
]]>Cubetech Accordion Plugin:
How to get the first drawer open, all following closed.
can anyone help?
Thanks!