Skip Navigation

[Resolved] Need help with the [wpv-pager-nav-links] shortcode

This support ticket is created 7 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
- 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 replies, has 2 voices.

Last updated by Robert Campbell 7 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#578338

I've created a slider which is working fine but I want to replace the selector anchor text with small images of each of the main slide images .I tried

[wpv-filter-start hide="false"]
[wpv-filter-controls]
[wpv-pager-nav-links anchor_text="[wpv-post-featured-image]"]
[/wpv-filter-controls]
[wpv-filter-end]

but the images do not appear. I only get the four dots.
You can see the slider at the top of hidden link
Can you advise how to get images to appear so that they can be used to as selectors please.

Regards

Robert

#578433

Dear Robert,

The attribute "anchor_text" of shortcode [wpv-pager-nav-links] does not support image value, see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-pager-nav-links
'anchor_text'
Displays this text instead of the number only

It can only display a text, it can not display image, so there isn't such a feature within shortcode [wpv-pager-nav-links], in your case, you can try with some custom CSS codes, for example:

li.wpv-pagination-nav-links-item a{
  background-image: url(<em><u>hidden link</u></em>);
  background-repeat: no-repeat;
}
#578843

Thanks Luo, that's good advice.

Regards

Robert