NO BUG: Dynamics in ajax pop-up within nested query loops

Browser: Opera
OS: Windows

Set a query loop on a section for terms. Inside the section I add a div with another query loop for posts in the current term. For the post loop item add a button to trigger an ajax fetched popup. For the interaction set the context type to “Post” and the Context ID to “{post_id}”. For the pop-up add a heading with dynamic tag {post_title} and also a button with dynamic link {post_url}.

Result:

Clicking on the trigger-button opens the popup and the heading displays the right post title. The dynamic {post_url} button link doesn’t take the dynamic value.

What the link is:

What the link should be:

Hi @bbua97 ,
Thanks so much for your report!

Do you happen to have JetEngine installed? If so, please disable it temporarily and see if it works as expected. If it works, you can enable JetEngine again, but then leave the popup post context ID empty - then it should work, too.

It seems that JetEngine changes the global post_id :thinking:

Edit: From your screenshot, I can see you’re using JetEngine. We have already contacted JetEngine support and made them aware of the problem. Now it’s in their hands :slight_smile:

Best regards,
timmse

1 Like

As i can’t disable JetEngine because the loop is based on a custom post type created with JetEngine I guess I have to wait until they fix it :slight_smile: