Answer the question
In order to leave comments, you need to log in
How to display a preview of a custom WP post in the product card?
Good afternoon. There is a custom post type "Reviews". I need to display 3 reviews in the product card. Which I can choose when creating a product from the list of added entries (reviews). Please tell me how to implement this. I would be very grateful for help. Thank you.
At the current stage. Through acf, I made a field for the product through which I can choose which records will be attached to this field. Through the <?php echo get_field('otzivi') ?> function,
I output to the page.
The word Array is displayed on the page. How to work further from this. Do you need a cycle?
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