Skip Navigation

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

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 1 month ago. 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)

This topic contains 2 replies, has 2 voices.

Last updated by romanB-3 6 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#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!