Home Forums ACF PRO Insert into theme – but how?


Insert into theme – but how?

  • Hi, I am totally new to AFC and have a presale question. I am wondering how to integrate the code into my theme? So that I can display the values.

    Where I have to insert it? Into functions.php? Or into different template.php files? Or will I get php files from ACF and have to upload them only?

    I can’t find an answer in the documention.

  • Hi @Pepperle

    Please read over the getting started chapter in the docs. ACF will create the interfaces for you to add data to a post. Then you will need to edit your theme files to output the data in HTML.

    You can also go ahead and start using the free version here:


  • I am sure, it’s my poor english. But this was not the answer, I was searching. I read and read through the doc before starting this thread, but an answer of the question where I insert the code snippets is not in the docs.

    One answer I found there (and a lot more on youtube videos):

    In short, the best way: Build a child theme (that’s always the ideal way). Add a new individual template file. For a faq page e.g. you could build and add a page-faq.php, see also If you have fields that should be displayed on every page you can also use the page.php. Insert the code snippets.

    The localization in the acf fields editing is NOT the localization, where the fields are displayed (in Frontpage), but rather where the (input) fields are shown in admin backend.

    The second way to display ACF in Frontent is using a shortcode, this is documented in ACF docs.

  • Hi @Pepperle

    Perhaps I misunderstood your question.

    Please see the ‘Getting Started’ chapter in the docs:

    There are articles such as ‘Displaying values in your theme’

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

The topic ‘Insert into theme – but how?’ is closed to new replies.