Post Author not working as expected
-
First of all thank you for a great plugin that works and is easy to understand, especially after viewing your excellent youtube tutorials.
Background: My application is on a site with registered users who would be allowed to upload posts with a PDF attachment. Non registered users will not be served the contact form.
In the contact form I use the field [text User default:user_login] which could also have a hidden attribute and I link this field in the Form to Post tab to Post Author. However, this information is not included in the post meta. The data base shows post_author = 0 in the wp_posts database instead of the user’s ID as found in the wp_users database
It would be great if you could search the database wp_users with the post author passed to your plugin and insert the user’s ID into post_author field of wp_posts when creating the post.
thanks and regards
Anton
- The topic ‘Post Author not working as expected’ is closed to new replies.