M
M
matros972018-02-16 15:03:42
WordPress
matros97, 2018-02-16 15:03:42

Display reviews in the middle of the page?

Tell me how you can implement this. There is a page page.php, text is displayed, and arbitrary fields and reviews (reviews should be added through the admin panel any number) and then text again. Here is the format
Text
Reviews
Text
Text

Tell me how you can do this?
I thought about using the Advanced Custom Fields plugin somehow, but there is no free version for implementing such a thing. I think to connect the feedback file in the middle, will this work or is there a better option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
its2easyy, 2018-03-06
@its2easyy

For custom post types, use the Custom Post Type UI to attach additional fields to it (although standard ones may suffice for reviews) carbon fields. After that, reviews are filled in much like regular posts in the admin panel. And for the output, wp_query is used, approximately as posts are displayed only with the "reviews" type, there are enough examples in the CTP UI docks and Carbon fileds. If you really need an example, I can throw off pieces of code to implement reviews through these plugins

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question