of course I selected the right ACF. My question was how to set post title with the ACF(vendor’s name) as. As you can see here, my listing detail page has vendor’s name; however, it shows ‘no title’ in breadscrumb. https://snipboard.io/xFiSXM.jpg
If I go back to WP dashboard, the post’s title is ‘no title’. https://snipboard.io/ef5TSY.jpg
If I run a search, it shows ‘no title’ too.https://snipboard.io/RmcbX2.jpg
It’s obvious these two places show only the post title, so I want to set the post title with the ACF(vendor’s name) whenever the user submits a new listing.
I hope this is clear.
This is the page where a user can submit a new listing. https://weliveinus.com/listing-details/ It has one ACF to get the vendor’s name. I want to set this ACF as the title of the post but don’t know how.https://snipboard.io/AcZ9VP.jpg The ACF is tdcf_vendor_title https://snipboard.io/x6Fyh1.jpg
Hello @zhangleji !
I understand your issue and you can achieve what you need.
Add your ACF vendor variable here: https://prnt.sc/mIsA6XTy5Uz1 and the title will be added automatically from the vendor name field.
Thank you!
also, when I display multiple images in the listing detail page(each image is uploaded via Form File Upload with one ACF field), can I use something like image box to make it more organized? If yes, how to set the ACF field in the image box? I didn’t see any place to set it.
Hi,
You need to have for each image a new custom field -> https://i.imgur.com/G2fbwtY.png -> https://i.imgur.com/F6Tr4eY.png
In the version 12.4 will be added a new option Galerry to add images to Cpt.
Thank you!