Site icon Hip-Hop Website Design and Development

Mixing 2 customized publish varieties with posts output in particular sample

I am attempting to construct a construction like this (see most wonderful diagram) with two completely different CPTs, Movies and Adverts.

I need to mix the 2 publish varieties in the identical wp-query so they’re output in a selected sample: 3 movies, one advert, 3 movies, one advert — as much as a most of 16 posts. I do not know if that is even potential, or requires magic of some type to make it work.

I’ve to contemplate that on a cellular view, there might be a single column of posts, and this similar sample should be repeated i.e. 3 movies then an advert, repeat. Due to this fact utilizing two WP Queries in a 2 column format with movies on the left (3 per row) and advertisements on the the best (displaying a single advert per row), goes to finish up with it displaying a bunch of movies (left column first), after which a bunch of advertisements on the finish (i.e. the best column). Not optimum. They should be blended, someway.


For what it is value, I am utilizing JetEngine itemizing grid to show these posts, which has fairly complete WP-query settings. I’ve not discovered a approach but to specify a WP Question object. In any case, I’m very joyful to know if that is potential to do with WP-Question, whether or not or not it will work with JetEngine.