Hi,
I am trying to pull in an image field from Toolset using the dynamic content. Looks like this:
{{dc:toolset:field field=“new-music-cover”}}
But it comes up as a broken link. Anyway I can get this to work?
Thanks
Hi,
I am trying to pull in an image field from Toolset using the dynamic content. Looks like this:
{{dc:toolset:field field=“new-music-cover”}}
But it comes up as a broken link. Anyway I can get this to work?
Thanks
Hi @wowflak,
Please kindly make sure that the field is available on the post that you want to call or use the Post ID feature and add your post ID into the code.
kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case if you still have problems.
Thank you.
Okay I sent a secure note, thanks.
Hey @wowflak,
It’s an issue with Toolset. The Image field keeps could not be saved or returns to blank.
Please contact the Toolset support as to why their Image field doesn’t save. You can try the solutions listed in our Common Issues first to determine if there’s something else in conflict.
Thanks.
Hi, I don’t think that is exactly true, if you click on the field you do see the link to the image in there. Please check again. Thanks
Hello @wowflak,
Clicking on the field does not mean that the value is coming from the database. It is actually the saved field input by the browser.
Instead of using the toolset {{dc:toolset:field field=“new-music-cover”}}
, use the dynamic content from ACF and load up the featured image of the custom post type. For example, I have applied this {{dc:post:featured_image post="3404"}}
to the broken image in your homepage and it is displaying now. Instead of adding your data to the homepage, use the latest custom post type and it’s data with dynamic content instead of using Toolset. If you use dynamic content, you no longer have to change any value in the homepage. Every time you create a new Release custom post type, as long as the custom field of this custom post type were field, the dynamic content will automatically display the latest information in your homepage.
Hope this make sense.
Thanks, this is a great idea, however I am having trouble understanding how to set that up so it automatically pulls the latest from the custom post type “release” note the slug is actually “music”. How do I tell it to do that? I see where I can navigate to a specific post as you pointed out but how does the automation happen?
Thanks
Hello @wowflak,
It will not matter if it is a release or kids’ custom post type. As long as you supply the custom post type ID, any metadata can be displayed.
The automation can only be done in archive pages or the blog index if you have made it as your homepage. For custom pages, it has to use the specific post/custom post type IDs.
Meanwhile, we recommend using ACF Pro so that your custom image cover will be uploaded and saved as a custom field. It can be displayed in the text element by adding the following:
{{dc:acf:field field="new-music-cover"}} - single post custom meta
{{dc:acf:option field="new-music-cover"}} - for Options Page
You can get the ACF Pro in X/Pro > Validation > Extensions. For more information, please check this out:
Hope this helps.
Thanks, ACF works. Also, I did contact Toolset and they are working on a fix to resolve the issue. In case anyone else has this problem. Here is the temporary fix:
Glad to hear that, and thank you for sharing the temporary fix.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.