Skip Navigation

[Résolu] Problemas con las comitas simples y doble comitas

This support ticket is created Il y a 1 an et 2 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 réponses, has 2 voix.

Last updated by Rafael Corts Il y a 1 an et 2 mois.

Assisted by: Luo Yang.

Auteur
Publications
#2545731

Hola Nigel, tengo una linea de codigo en un listado de archivos que me indica un error, ya tenia el codigo implementado y he querido modificar una parte para poder hacer las traduccuines y ahora al salvar no me deja.

<div href="[wpv-post-url]" class="rc_unidad_noticia">
[wpv-conditional if="( '[wpv-post-featured-image output="url"]' ne '' )"]
<div class="rc_ratio_1 rc_portada_noticia" style="background-image: url('[wpv-post-featured-image size="full" output="url"]');"></div>
[/wpv-conditional]
[wpv-conditional if="( '[wpv-post-featured-image output="url"]' eq '' )"]
<img class="rc_portada_nocicia" src="<em><u>hidden link</u></em>" alt="" width="700" height="394" />
[/wpv-conditional]
<div class="rc_unidad_categoria_titulo">
  <div class="rc_fecha_noticia"><i aria-hidden="true" class="far fa-calendar-alt"></i> [wpv-post-date format="j F, Y"]</div>

 [wpv-conditional if="( CONTAINS(#(categoria-noticia),'0') )"]
  <div class="rc_categorias_noticias"><div class="eg-subcategorias">#[wpv-post-taxonomy type="categoria-noticia"  separator="</div><div class='eg-subcategorias'>#"]</div>
  </div>
[/wpv-conditional]
  <h3>[wpv-post-title]</h3>
  <a class="rc_seguir_leyendo" href="[wpv-post-url]"><p>Seguir leyendo ...</p></a>
  </div>
  
</div>

Justo la linea de codigo de abajo si la borro me lo guarda bien pero con la linea esta me da un error y no me lo guarda, este codigo esta juto en el apartado del Loop item in Listado noticias.
Yo creo que es un tema de las comillas, pero he probado todas las combinaciones de comillas dobles o simples y nada.

<div class="rc_ratio_1 rc_portada_noticia" style="background-image: url('[wpv-post-featured-image size="full" output ="url"]');"></div>

A ver si sabes por que sucede esto.
Saludos.
Rafa Corts

#2546215

Hello,

I can answer this ticket in English, hope it is not a problem.

Where do you setup those shortcodes?
If you are using WordPress built-in Blocks editor, you can put them into WordPress built-in shortcode block, I have tried it in a fresh WP installation, it works fine, see below test site:
Login URL:
hidden link

Content template + shortcode block using the same codes as you provided above
hidden link

#2548955

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.