Title: Forms – Post Action – Post author
Last modified: June 13, 2024

---

# Forms – Post Action – Post author

 *  Resolved [dviolante](https://wordpress.org/support/users/dviolante/)
 * (@dviolante)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/forms-post-action-post-author/)
 * Hello!, Im creating a website where alumni are going to register on this site
   to create their own profile and this will be a Custom Post. I need that this 
   new Post, the author be this New registered user when the post is created.
 * Acutally in my Form i have a Post Action / Create Post, in Save i have in Post
   author: **Current User **(i also tried **Current Post Author**), but when a user
   filled up the form, the Post is created correctly but in the Author stays Blank.
   No user is assigned to this new Custom Post.
 * Is any way to solve this?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforms-post-action-post-author%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/forms-post-action-post-author/#post-17831016)
 * Hello,
 * Thanks for the feedback!
 * The “Current User” setting in the Post Action will use the currently logged user
   and set it as the Author of the post. The “Current Post Author” will use the 
   Post Author of the Post/Page where the form is displayed and set it as the Post
   Author of the created post.
 * If the visitor who creates the post is not logged in, and if you use the “Current
   User” setting, it is normal that there is no Post Author set.
 * If you have 2 Actions in form, ie: “Create User” and “Create Post”, then you 
   can enable the setting “Log User Once Created” in the “Create User” action, and
   set “Current User” in the “Create Post”.
 * If you don’t want to log user once created, then you can use the Template Tag`{
   action:user:ID}` in the Post Action “Post Author” instead ([see documentation](https://www.acf-extended.com/features/modules/forms/tags#action-output-user)),
   to retrieve the User ID of the previous “Create User” action.
 * Hope it helps!
 * Have a nice day!
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘Forms – Post Action – Post author’ is closed to new replies.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/forms-post-action-post-author/#post-17831016)
 * Status: resolved