I am thinking of achieving something where I could query and filter through a custom post type and then open the content of that post once clicked on its excerpt within a modal so I could return to the search I left easily.
Is there a way to achieve this easily with Cwicly? How can I retrieve arguments within the modal?
I guess it is more a js question, would be great if we could load dynamic modals based on previous user’s interactions.
If someone has been working on such project, would love to learn how to achieve it.
Dynamic content loading is what the filtering implementation is all about, so you’re spot on.
While most of the logic is in place, all we need to put in place is the action that tells the modal (but really any element) that you want to query x post item.