• Resolved Donleavy

    (@donleavy)


    I have created a post type and I have created a post and published it. Everything looks fine in the backend, but when I click the permalink, I get a 404. No post to be shown. What’s wrong? The WP installation is new and using the Undsgn theme.

    Br, Donleavy

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

    (@tw2113)

    The BenchPresser

    What’s the post type slug that you chose? Have you tried the permalink with pretty permalinks disabled?

    Thread Starter Donleavy

    (@donleavy)

    I am not sure what you mean by choosing a post type slug. I created the post and then I am clicking on the permalink available in the top of the post. I installed your plugin to use the pie calendar plugin (they recommend doing that on their site), and the post link is also not working in the calendar.

    • This reply was modified 5 months ago by Donleavy.
    • This reply was modified 5 months ago by Donleavy.
    • This reply was modified 5 months ago by Donleavy.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Based on the screenshot, the post type slug, aka the name field and first input listed, is concerts. Wanted to make sure it wasn’t potentially something generic-ish that could be conflicting with something else internally for WordPress.

    Beyond that, I’m honestly not sure why you’re getting a 404 error without potentially knowing what the actual query is for it.

    Thread Starter Donleavy

    (@donleavy)

    So, is there anything I can do to make it work?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    It’s something related to the query for content, which isn’t anything we have settings for with CPTUI specifically.

    As a test, have you tried a different post type to see if the same behavior is happening? I often use movie for a dummy post type for my development time, as an example.

    Thread Starter Donleavy

    (@donleavy)

    Ok, somehow the issue suddenly vanished and all the posts are showing. I asked Pie Calendar support and they wrote this:

    Usually this is caused by permalinks needing to be refreshed. This is common after creating a new CPT. You can go to Settings > Permalinks and re-save them twice and the issue should be resolved.

    Br, Dl

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Interesting, because we do try to programmatically flush those upon content type save.

    Regardless, glad to hear things are showing up now. Let us know if you need anything else.

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

You must be logged in to reply to this topic.