Home Forums General Issues Auto generate title from custom fields


Auto generate title from custom fields

  • We have a custom post type that needs no title typed in by the user. It just doesn’t make sense for it to have a title. But, since WordPress requires a title and generates the URL from it as well, is there a way for our custom fields to be used to automatically generate the title? So for example, we have a field called “Building”, and another field called “Unit”…we would want the title of the post to be automatically generated on Publish and Update to “Building” + “Unit”


  • Hi @sacramento

    You can use the acf/update_value action to use the textarea value and update the post’s the_title value.

    Please take a look on google for some docs on how this is possible.

    Docs for the above action can be found on the Documentation page

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Auto generate title from custom fields’ is closed to new replies.