• Hello!

    Tell me please why when displays any custom post, appears the message “page not found”.

    I added to function.php code to create custom posts. Then create a custom post via the admin panel and then in the already created custom post press the button “view post” and turn the page not found” address created record.
    Archive page for this type of custom post generated normally.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try going to your permalink settings.

    Take note of your current permalink setting.
    Then, switch it to something new… and save.
    Now, switch it back to the original value.. and save again.

    You should now be able to access your custom post type.

    This happens when you don’t flush the rewrite rules after registering a custom post type.

    Thread Starter osdal

    (@osdal)

    Thanks a lot!
    It’s all right 🙂

    Thread Starter osdal

    (@osdal)

    Thanks a lot!
    It’s all right 🙂

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

The topic ‘Display of custom post’ is closed to new replies.