S
S
Sergey2018-05-05 10:42:26
WordPress
Sergey, 2018-05-05 10:42:26

Adding and selecting WP variables?

Good afternoon, I'm learning to stretch my layout on WP, is it possible somehow in the admin panel to make separate phone / paragraph fields and then display these pieces in the places I need, for example:
<p class="text"> <?php get_paragraph1(); ?> </p>
<div class="phone> <?php get_phone2(); ?> </div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Teploukhov, 2018-05-05
@1Sergey1

Plugin ACF
You will output like this
<h3><?php the_field('get_paragraph1') ?></h3>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question