C
C
chelnokov_a2020-11-01 18:04:33
WordPress
chelnokov_a, 2020-11-01 18:04:33

How to display the desired post type with the standard WP loop?

Hello. There is such a task: to display records (standard single) on the product catalog page. If you use the standard cycle, then goods fall into it. Whether it is possible to specify as that argument in this cycle what type of records is necessary to me. Or is there some other way to display the records

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2020-11-01
@wppanda5

WP_Query
parameter 'post_type'
https://developer.wordpress.org/reference/classes/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question