M
M
mayil2018-09-05 22:21:46
WordPress
mayil, 2018-09-05 22:21:46

How to make custom fields work?

hello everyone, I broke the layout into header.php index.php footer.php but I can't use customfields - changes are not displayed how to be I did it before but now I forgot

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Chefranov, 2018-09-06
@Chefranov

When displaying, indicate the ID of the page / post
<?php the_field('text', 33); ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question