Home › Forums › General Issues › Modify shortcode to display field label? › Reply To: Modify shortcode to display field label?
Hi
Ok, but I have tested a plugin “Custom Content Shortcode”
And with that I can set the fields field name in the shortcode like so [field field_name out=field-label]
Much more convenient than hardcode the field name in the functions.php
I can go with that plugin. But I’d rather not if it’s possible without another plugin.
Regards
Olle
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.