Using Shortcode for dynamic data shortcode

  • Hi Team GS,
    we want to achieve – Dynamic data inside query loop. Dynamic data is custom field with a shortcode from a gallery.
    So custom field looks like this – cf [gallery] value [<!– wp:pgcsimplygalleryblock/galleries {“galleryId”:”7716″} /–>]
    So how can we render this input to show the gallery on the frontend?
    Thanks in advance.

  • ok, already got it.
    Put the shortcode into the customfield, lets say [pgc_simply_gallery id=”7716″]
    get the dynamic data from > Text
    and change the Text from p to div.

  • Glad to hear that 🙂

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