Skip Navigation

[Resolved] Split: Split: Display on Single post page "previous" and "next" for custom post type template – change post prev-next link and featured image size

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2658405

What will happen to the other questions

3) the display is also a bit odd since I had to use for the Title linked shortcode "[wpv-post-previous-link]" respectively [wpv-post-next-link] ... It has by design the small chevron.... How can I change it (remove, replace or modify that chevron)

4) I have managed to find another interresting resolved issue (from your colleague Waqar) to use intead the featured image with the respective post link. But it doesn't indicate where should use that code (I have pasted below) to get it working... That code is also very interesting since I can tweak the featured image size!!!
How can I modify the previous from code ?

#2658407

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

3) the display is also a bit odd since I had to use for the Title linked shortcode "[wpv-post-previous-link]" respectively [wpv-post-next-link] ... It has by design the small chevron.... How can I change it (remove, replace or modify that chevron)
===>
I shared the post prev and post next link shortcode doc before but here you go again:
More info:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554769
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554770

You can format the post-prev and post-next link label as required using its associated attributes.

4) I have managed to find another interresting resolved issue (from your colleague Waqar) to use intead the featured image with the respective post link. But it doesn't indicate where should use that code (I have pasted below) to get it working... That code is also very interesting since I can tweak the featured image size!!!
===>
Here is the link of the doc for post featured image shortcode:
- https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-featured-image

You can use the attribute as required to format your post featured image.

#2661411

Hi Minesh,
I would like to have the featured image also linked to the Post URL
Is this possible?

#2661701

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You can link the featured image by wrapping the featured image using the anchor tag.

For example:

For previous post image:

<a href="[wpv-post-url item='[ts_get_adjacent_post_id previous='true']']">[wpv-post-featured-image size='custom' width='350' height='250' link=  %%LINK%%" item="[ts_get_adjacent_post_id previous='true']" ]</a>

For next post image:

<a href="[wpv-post-url item='[ts_get_adjacent_post_id']">[wpv-post-featured-image size='custom' width='350' height='250' link=  %%LINK%%" item="[ts_get_adjacent_post_id]" ]</a>
#2663039

Hi Minesh,
This solution has resolved my request to have the post link also used in the featured image
You can close this split request