Support » Fixing WordPress » Posts are saved but uneditable. Using wp_insert_post() for custom post type.

  • Hi everyone.

    I’ve been struggling to save a custom post type from the front end and today I finally managed to get it working. However, every custom post that is saved can’t be edited, no matter what user id i use for the post_author.

    Whenever I save custom posts from backend, they work fine, but if I use the form I created for the frontend, they appear on the post list, but they are not linked to the edit screen.

    Here’s my custom post type function:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Posts are saved but uneditable. Using wp_insert_post() for custom post type.’ is closed to new replies.