Let's say I want to show 30 posts: 10 of type "A", 10 of type "B" and 10 of type "C". Sorted by post date. How do I do that? I mean I can do $args = array( 'posts_per_page' => 30, 'type' => array("A", "B", "C"),); $posts = get_posts( $args ); But it will bring … Continue reading WordPress. Get equal number of posts of each content type
The post WordPress. Get equal number of posts of each content type appeared first on Clan VPS Host.