Always three posts from multiple custom post types
-
I’m having a problem with a custom query loop. I want on the homepage always a number of three posts. Some of that posts are events so sometimes there are three but there are also times that there are zero or two posts. I always want to fill in the left over spaces with other posts from other custom post types. The events are the most important so I want to say in my loop: count the number of events and if there’re less then three, show another custom post type to fill up the three.
Thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Always three posts from multiple custom post types’ is closed to new replies.