Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What post type slugs are you using for all your post types? Same question for the taxonomies.

    Thread Starter runofthemill

    (@runofthemill)

    Do you mean permalink structure?

    It’s set to “Post Name: https://teamrubiconusa.org/sample-post/”

    Note this is affecting pages as well – it’s not limited to posts.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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

    (@runofthemill)

    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

    (@tw2113)

    The BenchPresser

    Looks like “author” is going to be the culprit here.

    https://codex.www.ads-software.com/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

    (@runofthemill)

    That was indeed the culprit!

    Thanks for the prompt support ??

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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.