Skip Navigation

[Resolved] creating next and previous links on single template with toolset blocks

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

Problem:
The user is building a content template with blocks and would like to add the next/previous pagination links to it.

Solution:
Currently, there is no block that offers the next/previous post feature. But you can still use Toolset shortcodes to implement it. Either inside a shortcode block, a Fields&Text block, or in a classic block. The shortcodes are called:

  • wpv-post-next-link
  • wpv-post-previous-link

Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554769

This support ticket is created 4 years 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
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: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by TorstenR3514 4 years ago.

Assisted by: Jamal.

Author
Posts
#1873035

Tell us what you are trying to do?
creating next and previous links on single template with toolset blocks. Is there no easier way?
Is there any documentation that you are following?
https://toolset.com/forums/topic/displaying-featured-image-of-previous-and-next-post-on-single-post-page/
Is there a similar example that we can see?

What is the link to your site?

#1873931

Hello and thank you for contacting the Toolset support.

Currently, there is no block that offers the next/previous post feature. But you can still use Toolset shortcodes to implement it. Either inside a shortcode block, a Fields&Text block, or in a classic block. The shortcodes are called:
- wpv-post-next-link
- wpv-post-previous-link

Read more about the shortcodes in this documentation article https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554769

I hope this helps. Let me know if you have any questions.

#1877627

I hope this will be better supported by blocks in the future so that I can display related images or other data from the next and previous post.