C
C
Chao2282019-02-01 00:42:45
CMS
Chao228, 2019-02-01 00:42:45

How to implement dynamic text on a page in WordPress?

In short: the company gave a test task - you need to pull the layout on WP with the ability to edit any text on the site through the admin panel, it turned out to make a dynamic text using a loop:

<?php if (have_posts()): while (have_posts()): the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>

, but only in one place on the page and only one piece of text, but how to make it possible to edit all the text on the page? It seems to be easy, but I haven't been able to catch up for a week (

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