Answer the question
In order to leave comments, you need to log in
wordpress, acf. How to display the values of custom fields on all pages?
I write in the page template. <?php the_field('custom_field'); ?>
but the value is displayed only on the main one, when switching to internal ones there is a void. The same template is used on the main and internal pages. CHADNT?
Answer the question
In order to leave comments, you need to log in
The issue was resolved in this way.<?php the_field('custom_field,'option'); ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question