Title: Using ACF fields as post title
Last modified: February 26, 2024

---

# Using ACF fields as post title

 *  Resolved [Riccardo79](https://wordpress.org/support/users/riccardo79/)
 * (@riccardo79)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/using-acf-fields-as-post-title/)
 * Hello everyone, I’m asing you if anyone knows how I can solve this issue, I found
   some answers in the web but no-one worked for me.
   I’m using custom fields (via
   ACF plugin) in a custom post type. I’d like that when I create a new post with
   custom fields filled with proper values, the post title is automatically set 
   depending on the custom fields velues.I.E. If I have a field called “description”
   and another called “year”, when I click on “publish”, its title should be automatically
   set to something like “description – year”.I tried a few suggestions I found 
   on the web but the title remains blank (maybe the custom fields are not yet saved
   into db when I click on publish the post and run the function that set title?).
   Anyone knows hoy to fix this, or knows what is the correct hook I have to use
   to get this problem solved?
 * Note: It should be nice that the title is set only the first time a post is created,
   but if this is not possible, I can accept that title is updated every time I 
   update the post.
 * Thanks in advance for your suggestons

Viewing 1 replies (of 1 total)

 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/using-acf-fields-as-post-title/#post-17519818)
 * Hi there!
 * ACF Support Team here. This forum is generally used by ACF users to help each
   other out.
 * However, we would love to continue investigating and troubleshooting this issue,
   please can you create a ticket using our ​[support](https://www.advancedcustomfields.com/contact/)
   form and we can look into it further.

Viewing 1 replies (of 1 total)

The topic ‘Using ACF fields as post title’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/using-acf-fields-as-post-title/#post-17519818)
 * Status: resolved