Tell me, how can you display an arbitrary type of records together in ordinary records? Those. There is a ready-made site on wp with the usual types of posts.
Now you need to create a new type of posts, and display these new entries along with the usual posts.
How can this be done without plugins?
How to create a new type of posts I know. Interested in exactly how to add these new posts to the usual posts?

  • Add a condition in the withdrawal cycle - Russian Bear
  • But tell me, what condition? - word

1 answer 1

'post_type' => array( 'post', 'custom_post' ) 

Just in case: WP_Query