Hi,
I would like to display the content of the WordPress Archive Search inside a toggle in a custom post type Archive page. This one: hidden link
I have found this plugin (https://wordpress.org/plugins/offcanvas-block/) that does pretty much what I need, but if I add the Archive Search inside the block, it does not show up.
This is what I am trying to achieve: hidden link
If there is any other way to do it, I am all ears..!
Hi,
Thank you for contacting us and I'd be happy to assist.
I've performed some tests with the plugin you referenced and couldn't make it work with the archive's search form.
The only workaround, I can think of, is to load an empty 'Container' block in the 'OffCanvas' block and then use some custom jQuery script, to copy the search form HTML inside that empty container.
For more personalized assistance around custom code, you can also consider hiring a professional from our list of recommended contractors:
https://toolset.com/contractors/
regards,
Waqar
Hi Waqar, thank you for your feedback.
I managed to add the WordPress Archive Search block inside an off canvas using a different plugin.
I still wonder if it's possible to put each set of checkboxes inside a toggle, like in the attached image...
Thanks for writing back.
I've checked the archive page and looks like you've managed to make the toggles work, through a third-party accordion block.
( screenshot: hidden link )
You're welcome to mark this ticket as resolved and start a new one for each new question or concern.