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:
- The topic ‘Posts are saved but uneditable. Using wp_insert_post() for custom post type.’ is closed to new replies.