P
P
partyzanx2018-06-10 18:28:08
WordPress
partyzanx, 2018-06-10 18:28:08

How to display span in php?

I am using advancedcustomfields plugin

<?php if (the_field('articles_structure')) echo '<span class="entrys_structure">' . the_field('articles_structure') . '</span>' ?>

For some reason it doesn't display , but displays only the value of the field<span class="entrys_structure"> и </span>the_field('articles_structure')

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