Title: Content not loading
Last modified: September 12, 2017

---

# Content not loading

 *  Resolved [rampau](https://wordpress.org/support/users/rampau/)
 * (@rampau)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/)
 * Hi, the plugin was working fine until a few days ago that just stop working, 
   maybe is the new wordpress version. But i’ve been trying to fix it following 
   instructions that i’ve found on github and the other comments with no luck.
 * I’ve the modal-link class to my links and i’ve managed to use the slug in the
   href instead of the entire url. But still not working, only load the frame and
   the loading wheel. But nothing else.
 * I’m using Total theme and Visual Composer.
 * Thank you!!

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

 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9495063)
 * Can you please share the url to the page where it’s not working as well as the
   specific link that is the modal link? Also, the slug of the page you’re trying
   to open in the modal?
 *  [miller.seth.c](https://wordpress.org/support/users/millersethc/)
 * (@millersethc)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9496644)
 * I also receive this problem. It never loads. I also saw in another post that 
   it needs to just be the slug, but when I input the slug doesn’t work. It just
   has a loading icon spinning in the middle of a blank white screen.
 *  Thread Starter [rampau](https://wordpress.org/support/users/rampau/)
 * (@rampau)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9496761)
 * I think i figure it out!
 * The problem appeared to be that what i was trying to open is a custom post type,
   so the plugin could not load it. I found that changing “post” for “whatever-the-
   custom-post-type-name-is” in “wp-post-modal/public/class-wp-post-modal-public.
   php” line 168 solved it.
 * I’m not using the plugin anywhere else, so that solution works for me. Maybe 
   if someone is using both post and custom-post-type, changing that line is probably
   not gonna work.
 * Hope that helps anyone!
    Thank you!
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9496899)
 * [@rampau](https://wordpress.org/support/users/rampau/): great! you can also add
   your CPTs to the array. No need to replace “post”.
 * [@millersethc](https://wordpress.org/support/users/millersethc/): one way to 
   confirm you are using the correct slug is to test whether the API is returning
   the correct response. If you go to: [http://example.com/wp-json/wp-post-modal/v1/any-post-type?slug=](http://example.com/wp-json/wp-post-modal/v1/any-post-type?slug=)**
   SLUG** (replace the slug with your slug), you should be able to see the API response.
 * For example, you see the “post_content” response here which is the one that will
   be used in the Popup: [https://wp-post-modal.allureprojects.com/wp-json/wp-post-modal/v1/any-post-type?slug=home](https://wp-post-modal.allureprojects.com/wp-json/wp-post-modal/v1/any-post-type?slug=home)
 *  [miller.seth.c](https://wordpress.org/support/users/millersethc/)
 * (@millersethc)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9497123)
 * I was also using custom post type, so that’s the problem. However, thank you 
   for showing me the link to test if the API was returning the correct response,
   that also was helpful. I’ll see if I can reconfigure it to work with my custom
   post type by checking if the custom post type exists and then if it does to work
   in the php file. Thank you again!
    Seth
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9497347)
 * Seth, great! If you need any more help, please don’t hesitate to reach out through
   the contact form on my site: [https://allurewebsolutions.com/contact](https://allurewebsolutions.com/contact)

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

The topic ‘Content not loading’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-post-modal.svg)
 * [WP Post Popup](https://wordpress.org/plugins/wp-post-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-post-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-post-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-post-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-post-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-post-modal/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/content-not-loading-3/#post-9497347)
 * Status: resolved