Skip Navigation

[Resuelto] The loop of markers is not working ok

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

Asistido por: Minesh.

Autor
Mensajes
#2169265
ERROR MAP.png

Hello,

I builded this map enlace oculto that shows a group of CPT "Members Profiles".

The map is working fine, but the list of members profiles is not working ok.

Some of the members profiles are not showing the title and link information.

This is the view enlace oculto

And this is the loop:

<wpv-loop>

[wpv-map-marker map_id="members-map" marker_id="marker-[wpv-post-id]" marker_title="[wpv-post-title]" marker_field="wpcf-address"]
<div class="row info-members mx-0 py-0 px-0 mb-0">
<div class="col-4 px-0">
[wpv-conditional if="( $(wpcf-profile-picture) ne '' )"][types field='profile-picture' title='%%TITLE%%' alt='%%ALT%%' size='full' class='circle-img d-table mx-auto p-1 img-responsive' style="max-width: 80px;"][/types][/wpv-conditional] [wpv-conditional if="( $(wpcf-profile-picture) eq '' )"]<img src="enlace oculto" width="80px" height="80px" class="circle-img d-table mx-auto p-1 img-responsive" />[/wpv-conditional]
</div>
<div class="col-8">
[wpv-post-link]<br/>
<small>Address: [types field='address'][/types]</small>
</div>
</div>
[/wpv-map-marker]

<div class="row info-members mx-0 py-0 mb-0">
<div class="col-4 px-0">

[wpv-conditional if="( $(wpcf-profile-picture) ne '' )"]
[types field='profile-picture' title='%%TITLE%%' alt='%%ALT%%' size='full' class='circle-img d-table mx-auto p-1 img-responsive' style="max-width: 80px;"]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-profile-picture) eq '' )"]
[/wpv-conditional]

</div>
<div class="col-8"> *****THIS COLUMN IS MISSING ON MOST OF THE LISTING POSTS BUT WORKS IN OTHERS*****
[wpv-post-link]<br/>
<small>Address: [types field='address'][/types]</small>
</div>
</div>

</wpv-loop>

#2169955

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check now. Within the view, the image shortcode was not closed that is why the title was not get displayed. I fixed that. As you can see now Types shortcodes is closed with [/types] for the "profile-picture" field.

[wpv-conditional if="( $(wpcf-profile-picture) ne '' )"]
               [types field='profile-picture' title='%%TITLE%%' alt='%%ALT%%' size='full' class='circle-img d-table mx-auto p-1 img-responsive' style="max-width: 80px;"][/types]
               [/wpv-conditional]  

I can see now the title are get displayed. The Address field is not displayed because address field is not having any value.