Title: WP_Query-&gt;get_posts changed by CPTUI
Last modified: February 2, 2017

---

# WP_Query->get_posts changed by CPTUI

 *  Resolved [runofthemill](https://wordpress.org/support/users/runofthemill/)
 * (@runofthemill)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/)
 * Hi there!
 * I just noticed a strange issue; in post pages on the back end, WP is not displaying
   posts correctly when CPTUI is active.
 * Here’s the query on the Posts admin page when CPTUI is inactive:
    [https://teamrubiconusa.box.com/s/gz4c9xf73gfoq0vni9ju8dlue95d9sow](https://teamrubiconusa.box.com/s/gz4c9xf73gfoq0vni9ju8dlue95d9sow)
 * And when CPTUI is active:
    [https://teamrubiconusa.box.com/s/xgh4ds1mnxkc0l3b4q382cp9frw1hvq7](https://teamrubiconusa.box.com/s/xgh4ds1mnxkc0l3b4q382cp9frw1hvq7)
 * I tested with all other plugins disabled, so I can eliminate that as a potential
   cause.
 * Any thoughts on what’s going on here?
 * Cheers!

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8731533)
 * What post type slugs are you using for all your post types? Same question for
   the taxonomies.
 *  Thread Starter [runofthemill](https://wordpress.org/support/users/runofthemill/)
 * (@runofthemill)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8732813)
 * Do you mean permalink structure?
 * It’s set to “Post Name: [https://teamrubiconusa.org/sample-post/&#8221](https://teamrubiconusa.org/sample-post/&#8221);
 * Note this is affecting pages as well – it’s not limited to posts.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8732840)
 * No, I am referring to the slugs used for the post types, first field in the CPTUI
   post type editor.
 * Based on the screenshots, I’m curious if you’re using “fields” as one of the 
   slugs, and part of 1.5.1 has a fix that actually blacklists that slug, since 
   it causes issues like you’re seeing.
 *  Thread Starter [runofthemill](https://wordpress.org/support/users/runofthemill/)
 * (@runofthemill)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8733151)
 * There’s two post types registered by CPTUI:
    – Author, with the slug “author”–
   Operations, with the slug “operation”
 * There aren’t any taxonomies registered by CPTUI
 * There are a few CPTs that are built into the theme, but none with the slug fields.
   Are there any other slugs that you know are problematic?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8735067)
 * Looks like “author” is going to be the culprit here.
 * [https://codex.wordpress.org/Function_Reference/register_post_type#Reserved_Post_Types](https://codex.wordpress.org/Function_Reference/register_post_type#Reserved_Post_Types)
 * Should be able to move those with almost no issue, in terms of author posts already
   created. Anywhere that’s specifying on the frontend would need manually amended.
 * We have the functionality built in to rename the post type slug, and preserve
   the content, just need to check the appropriate checkbox.
 *  Thread Starter [runofthemill](https://wordpress.org/support/users/runofthemill/)
 * (@runofthemill)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8736494)
 * That was indeed the culprit!
 * Thanks for the prompt support 🙂
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8736660)
 * Welcome, glad we were able to get that resolved as easily as we did.

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

The topic ‘WP_Query->get_posts changed by CPTUI’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/wp_query-get_posts-changed-by-cptui/#post-8736660)
 * Status: resolved