Not understanding how to use an ACF field for og:image
-
Hi there,
I’m unsure what I’m doing wrong here. I want to use an ACF field to populate the og:image tag of a post. When I choose Image From Custom Field, and then the name of the ACF field in the “Use Custom Field For Image”, then the result is:
When POST_ID is the attachment post ID. How do I get it to use the asset URL?
Also, if I have two different post types with different custom field IDs I want to us, how do I change this setting on per post type?
If not possible through the admin interface can I use filters or functions to achieve this result?
Thanks in advance for your help,
Mark
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Not understanding how to use an ACF field for og:image’ is closed to new replies.