• Resolved jason kickmouth

    (@jason-kickmouth)


    Any way I can use this plugin in a query loop?

    I think it would be perfect for the Team member grid I’m building and looking for an alternative to a heavy plugin.

    The basic integration and trigger works but I tried it using ACF and CPT and sadly it returns the same value for all the posts – a feature request perhaps.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Jensen

    (@dkjensen)

    Hi @jason-kickmouth

    I think I understand your goal. I put together a beta version with the query loop implementation you mentioned, would you mind installing the update below and let me know if this is what you had in mind?

    https://www.dropbox.com/t/eYZL2JzEfC4g6C8F

    Thread Starter jason kickmouth

    (@jason-kickmouth)

    Hi @dkjensen

    Thank you so much for looking at that and here’s what I can report back.

    As you’ll see I’ve put the modal inside the post template and it triggers on the featured image and title.
    When I click either of those on any team member in the front end it opens all the modals, on top of each other at once.

    So it is pulling all the custom fields but displaying all the pages at once.

    I guess we’d need a unique trigger id for each post right?

    Which maybe defeats the point

    I hope that’s of some help, I’d love to hear any thoughts

    Regards

    Jason

    Plugin Author David Jensen

    (@dkjensen)

    Yeah that’s what I was thinking, the update I provided checks if the modal is used within a query loop, and should provide a unique modal ID for each post in the loop. I tested locally using a similar scenario to how you described with success.

    Can you confirm the version number of the plugin you are using is 0.0.0-development?

    Also if you are comfortable with it, would you mind privately sharing the URL to your site?

    Thread Starter jason kickmouth

    (@jason-kickmouth)

    Hi David

    Interesting that you’ve had some success with it, that’s promising.

    I can confirm I’m using the version you mentioned 0.0.0-development

    I’ve pinged yo a link to my dev site via the contact form on your website – do let me know if you get it.

    Thanks again – this plugin will soon be even more awesome ??

    J

    Plugin Author David Jensen

    (@dkjensen)

    Version 1.4.0 was released which implements the usage of a modal within the query loop block.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.