Posts are saved but uneditable. Using wp_insert_post() for custom post type. (2 posts)

  1. dabito
    Posted 3 years ago #

    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]

  2. dhechler
    Posted 3 years ago #

    I have the same problem! Any solution out there yet?

Topic Closed

This topic has been closed to new replies.

About this Topic