Saltar navegación

[Resuelto] Read more in exceprt shortcode doesn’t link to the page

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: The "read more" text in the wpv-post-excerpt shortcode does not link to the post.

Solution: Add a link to the "more" attribute manually:

[wpv-post-excerpt length='55' count='word' more='<a href="[wpv-post-url]">Lire la suite...</a>']

Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-excerpt

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

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)

Etiquetado: ,

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por romanB-3 hace 6 años, 3 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1139497

Hello,
I use this shortcode [wpv-post-excerpt length='55' count='word' more='Lire la suite...'] in order to display the beginning of a post, but the "Lire la suite..." is not a "a href". It's simple plain text.
Thank you.

#1139854

Hi it's not built-in to the wpv-post-excerpt shortcode, but you can add a link to the "more" attribute manually:

[wpv-post-excerpt length='55' count='word' more='<a href="[wpv-post-url]">Lire la suite...</a>']
#1140270

My issue is resolved now. Thank you!