• hunterfox3

    (@hunterfox3)


    Small question. After creating a field group, is there a simple way to show the field value in a post template?

Viewing 1 replies (of 1 total)
  • patroba

    (@patroba)

    Hi @hunterfox3,

    Thanks for reaching out! Yes, there is a very straightforward way to do this. If you’re editing your PHP post template files directly, you can use the built-in the_field('field_name') function to output the value right onto the page. Alternatively, if you’re using the WordPress block editor or a specific page builder, you can display the value using the ACF shortcode [acf field="yfield_name"].

    You can read more about the different functions and methods available in our official documentation here: https://www.advancedcustomfields.com/resources/displaying-custom-field-values-in-your-theme/

    If you try those out and are still having trouble getting your text to appear, please feel free to open a direct support ticket with us so we can investigate your specific setup further!

    Best regards,
    Patroba

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.