Title: Post type issue
Last modified: April 21, 2021

---

# Post type issue

 *  [Barton](https://wordpress.org/support/users/thebarton/)
 * (@thebarton)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/post-type-issue/)
 * Taking a look at the code, the get_post_types() function is used. That’s having
   issues where it loads every post type by slug. That can pose major problems for
   people.
 * Anyway to adjust the post types that work with it?

The topic ‘Post type issue’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [Barton](https://wordpress.org/support/users/thebarton/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/post-type-issue/)
 * Status: not resolved