Support

Account

Home Forums Front-end Issues Can't get the_field value to show up in the front-end Reply To: Can't get the_field value to show up in the front-end

  • Hi @joshcoledesign

    The the_field() function will echo the value when you use it. If you want to pass the value to a variable, please use the get_field() function instead. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/.

    I hope this helps 🙂