Title: Working with WPAPI
Last modified: August 11, 2020

---

# Working with WPAPI

 *  [gonstoll](https://wordpress.org/support/users/gonstoll/)
 * (@gonstoll)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/working-with-wpapi/)
 * Hello! I’m having a problem display the gallery via WPAPI. I’ve inpsected the
   HTML code generated and it seems that the tags in the content retrieved via WPAPI
   does not have attributes that make the plugin work. Any workaround with this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/working-with-wpapi/#post-13238057)
 * The gallery must be part of the HTML output sent by the server. Anything which
   will be added later using JavaScript will not be seen by the plugin, since it
   works as a content filter for the output buffer of WordPress.
 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/working-with-wpapi/#post-13238071)
 * However – I’m interested in the technical details of your solution, maybe this
   can be solved with additional hooks, so even content requested using Ajax can
   be handled properly. If you want to get in touch with me you find my e-mail address
   on my website: [https://arnowelzel.de/en/about-me](https://arnowelzel.de/en/about-me)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Working with WPAPI’ is closed to new replies.

 * ![](https://ps.w.org/lightbox-photoswipe/assets/icon-256x256.png?rev=2906302)
 * [Lightbox with PhotoSwipe](https://wordpress.org/plugins/lightbox-photoswipe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-photoswipe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-photoswipe/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-photoswipe/reviews/)

## Tags

 * [WPAPI](https://wordpress.org/support/topic-tag/wpapi/)

 * 2 replies
 * 2 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/working-with-wpapi/#post-13238071)
 * Status: not resolved