Sauter la navigation

[Résolu] Since updating layouts my custom field is not returning expected results.

This support ticket is created Il y a 5 années et 6 mois. 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)

Ce sujet contient 0 réponses, a 1 voix.

Dernière mise à jour par chrisC-25 Il y a 5 années et 6 mois.

Assisté par: Christian Cox.

Auteur
Publications
#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:
lien caché

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