Okay
  Public Ticket #3016084
possible to dynamically pass WP_Query loop to put_items()?
Closed

Comments

  • Johan started the conversation

    Hi there,

    I am using google maps (but I suspect it would apply to anything that could have items) and would like to pull items from a custom post type. I have set up a custom twig to WP_Query all items of custom post type (for ease we will call the post type homes). is it possible to pass homes.posts to put_items() and then reference the fields accordingly

  •   Max replied privately