Skip Navigation

[Resolved] views layout 1 large post 2 small post 1 large post 2 small posts layout

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1212877
Optimized-bm-home-content.png

Tell us what you are trying to do?

I would like to make a view using multi-content types and mimic the layout attached. 1 large image/post and 2 small image post and repeated several times 1 large 2 small 1 large 2 small 1 large 2 small... ect.

Can this be done with views, if so, how?

Thanks,

#1212992

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what if you try to use the odd/even attribute to achieve this.

For example:

  <wpv-loop>
  [wpv-item index=odd]
     /// add your two column HTML here
  [wpv-item index=even]
   /// add your large image post here
</wpv-loop>

More info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-item
=> https://toolset.com/documentation/user-guides/digging-into-view-outputs/#loop-shortcode-wpv-item-and-the-index-parameter