Support

Account

Home Forums General Issues Display 'Field Instructions'

Solved

Display 'Field Instructions'

  • When creating fields in ACF, there’s this ‘Field Instructions’ that’s an ‘Instructions for authors. Shown when submitting data’. Is it possible to echo this instructions on the user side? For example, echoing it in the a tag inside title.

    <a href="#" title="<?php echo the_field_instruction('text');"><?php the_field('text'); ?></a>

  • @vanduzled you can use this function to get the object: https://www.advancedcustomfields.com/resources/get_field_object/ That should contain the text you seek.

  • Currently, there is no way to do that, mainly because that description was meant as an administrative description for the activity creator. For providing students with

    <? the_field(‘text’); ?>

    i think this code work

    Mymodsapk

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.