Y
Y
Yuri Kulaxyz2019-02-22 21:47:52
CMS
Yuri Kulaxyz, 2019-02-22 21:47:52

Why is wordpress custom fields not displaying?

Here is the code I wrote in the index.php file

<p class="name-tariff"><?php the_field('tarif_type_1'); ?></p>

And here are the settings directly in the VP: 5c704393cf8be067758811.png
At the same time, it does not display on the main page of the site, I tried it through var_dump, the function returns null.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question