Saltar navegación

[Resuelto] Since updating layouts my custom field is not returning expected results.

This support ticket is created hace 5 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 0 respuestas, tiene 1 mensaje.

Última actualización por chrisC-25 hace 5 años, 6 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1304401

Hello,

I have a layout for artists that inserts the artist name if it contains an apostrophe into a piece of code that retrieves tour dates. Since updating the Layouts plugin this stopped working. There is a field also for names without an apostrophe, the need for the other field for artists with apostrophes was because it would not work with the code. Example here:
enlace oculto

It is not loading the tour dates.

Here is the code:

<p>[wpv-conditional if="( $(wpcf-tour-dates) eq '1' )"][x_custom_headline type="left" level="h4" looks_like="h4" accent="true" class="my-accent"]Tour Dates[/x_custom_headline]<a class="bit-widget-initializer" data-artist-name="[wpv-post-title output="sanitize"]" data-display-local-dates="false" data-display-past-dates="false" data-auto-style="false" data-text-color="#000000" data-link-color="rgba(71, 194, 235, 0.95)" data-popup-background-color="#FFFFFF" data-font="raleway,Helvetica Neue,Helvetica,Arial,sans-serif" data-background-color="transparent" data-display-logo="false" data-display-limit="10" data-link-text-color="#FFFFFF"></a>[/wpv-conditional]</p>
<p>[wpv-conditional if="( NOT(empty($(wpcf-tour-name))) )"][x_custom_headline type="left" level="h4" looks_like="h4" accent="true" class="my-accent"]Tour Dates[/x_custom_headline]<a class="bit-widget-initializer" data-artist-name="[types field='tour-name'][/types]" data-display-local-dates="false" data-display-past-dates="false" data-auto-style="false" data-text-color="#000000" data-link-color="rgba(71, 194, 235, 0.95)" data-popup-background-color="#FFFFFF" data-font="raleway,Helvetica Neue,Helvetica,Arial,sans-serif" data-background-color="transparent" data-display-logo="false" data-display-limit="10" data-link-text-color="#FFFFFF"></a>[/wpv-conditional]</p>

Thanks