Outputting values of ACF Fields on frontend

Hey,
I want to know how to output the ACF fields(image, wysiwig, table or more) on front-end. I’ve used the {{acf:field_name}} but it worked at one place and not worked at other place. I’m confused a little bit that how to output the values through ACF. And what If I need to add any shortcode via ACF field. How to output this too?
2. Is there any extension or functionality present with the theme which allows us to share products with other users.

Hey Ketan,

Thanks for reaching out!

To know more about how ACF works on our product, you may check these articles:

On your second question, can you elaborate it more so that we can understand the functionality properly?

Thank you.

Hey, I’ve gone through the tutorials which you shared but I didn’t get what I need. I just want to display the image and content from WYSIWYG editor on the front-end of product’s single page.
for second point I just need to share the individual product via email or by copying the link of product and send it to other users

Hi Ketan,

Can you please let us know in which context it worked and in which it does not? I would also suggest you share the page URL along with the credentials so we can investigate it.
Also, we don’t have any share functionality for the products.

Thanks

Hey,
I’ve added s field group with some fields you can see the screenshot for reference.


Field which is working is the only first one i.e. Header short description. Like that is the only field which is outputting the value of the field.
Whereas all other fields are not outputting the values on front end. In which 2 text fields contains the shortcode values for some functionality.

Here in secure note I’ve attached all the necessary links please see there.

Hello Ketan,

For Basic and Content field groups, you can always display the filed using the {{dc:acf:post_field field="field_name"}} dynamic content code.

When you are using advanced field groups like Relational, Advanced or Layout, you will have to use the Looper Provider Dynamic Content to be able to display the fields.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.