Post meta shortcode returns ID
homepage › Forums › Support / Help › Post meta shortcode returns ID
This topic contains 3 replies, has 2 voices, and was last updated by Jérôme Obbiet 2 years, 5 months ago.
I have a custom field in a custom post type. When I enter the custom field key into the mtw_post_meta shortcode it returns the ID of the image I am trying to retrieve not the actual image. Any ideas why this may be happening?
How is create your custom field? ACF ?
Yes I used ACF to create the custom fields. Thanks for your reply.
sorry, anyway if you have an ID use the Featured image widget.
and type the meta key in custom field option
But if you want to return the url there is an option in the ACF the return id, url or object
then with url you should use “insert html” in Muse
<img src="[ mtw_post_meta ... ]" />
You must be logged in to reply to this topic.
Create an Account
There are no stupid questions! Let's talk
join the mailing list
Find us on Adobe Muse Resources
© Copyright 2017-2018 MWuse
join us only $1 /month
ACCESS TO ALL WIDGETS & THEMES
(BY MUSE TO WORDPRESS)
You will be free to leave and to continue using the downloaded themes and widgets.
Help shape the future of MWuse
● Widget's Resources
● Purpose widgets or a themes
Bugs / Issues
Issues on Github are used to track bugs. As issues are created, they’ll appear on Github in a searchable and filterable list.
It's a great tool for us to help you.
Discover / Installation / Tutorials / Shortcodes / FAQ / News / mwuse.com - Powered by Muse and WordPress
Back to home