Support

Account

Home Forums Gutenberg Query Loop Single Post Popup Modal

Solving

Query Loop Single Post Popup Modal

  • I’ve created a custom post type in ACF and displayed that on the front end using the Query Loop block. I’m using the Gutenberg editor in the 2024 theme. The default behavior is when a post in the loop is clicked it opens the single post page but what I would like is to have the single post page open in a popup modal. Does anyone know how I can do this? Is it possible to apply a data-id to the ACF posts in the loop grid so I can add some PHP/JS to make it open in a modal?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.