Dynamic content reference

I have taken over a website which has custom post types with custom fields but they were not created using ACF. I can successfully create the looper provider and display standard fields such as excerpt and title but i need to be able to reference the custom fields.
The custom post type has been created within function php with the name testimonials and the custom fileds are “customer name”, “source” and “link”
I can display dynamic data on my page using {{dc:post:excerpt fallback=“No excerpt”}} or {{dc:post:title}}
{{dc:post:the_content}} as my query is specifically targeting the testimonial custom posts but i don’t seem to be able to specifically display the custom fields. Do i need to write a custom query to make sure i am retrieving the custom fields in the query as your built in query builder might not include custom fields or should i be using a specific syntax to display custom fields.
I know you cant give specific help on customization but any advice is much appreciated.
many thanks
Richard

Hi Richard,

Thanks for reaching out.
If I am able to understand your problem correctly that you are trying to get the custom field values through the Dynamic Content tags. If that is the case, you need to use the following syntax.

{{dc:post:meta key="source"}} 

Hope it helps.
Thanks

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