Skip Navigation

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

This support ticket is created hace 5 años, 8 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 5 años, 8 meses.

Asistido por: Minesh.

Autor
Mensajes
#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

Idiomas: Inglés (English )

Zona horaria: 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