Answer the question
In order to leave comments, you need to log in
Wordpress how to display php loop on a page?
Good afternoon.
Tell me if it is possible to implement the following task on the page created in wordpress:
- There are records in category "A"
- There is a page created in the wordpress page editor
It is necessary that on this page a cycle from category A, thumbnails of all records were pulled out and displayed in the right place .
At the same time, the ACF plugin function will be activated on the page
<?php $image = get_field('object_img'); if( !empty($image) ): ?> <img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question