Help? "Author" not being saved?
-
It looks to me like Frontend Uploader is easily the best way to publish to WordPress from the public website; thank you!
In anonymous and member posting, using Frontend Uploader, the author’s name (which is included in the default form) is not being saved to my new posts, and I really need that.
In frontend-uploader.php, I find the following code:
// Save the author name if it was filled and post was created successfully $author = isset( $_POST['post_author'] ) ? sanitize_text_field( $_POST['post_author'] ) : ''; if ( $author ) add_post_meta( $post_id, 'author_name', $author );Question: How can I call the author’s name to either be attached to the post, or included in the email sent to the admin (willing to set that manually if I have to)???
Is there something wrong with this code above? Any ideas at all?
FWIW, the shortcode I’m using for my form is:
[fu-upload-form category=”#ofcategory” post_type=”mycustomposttypename” form_layout=”post_image”].
The topic ‘Help? "Author" not being saved?’ is closed to new replies.