Hi,
I'm using Zurb Foundation framework on my site. I would like to assign class "pagination" to [wpv-pager-nav-links] . Something like [wpv-pager-nav-links class="pagination"]
So the shortcode generates
<ul class="pagination">
etc..
I can do it with jQuery, but native support would be much better.
Thank you 🙂
Thank you for contacting us here in the Support Forum
Unfortunately the [wpv-pager-nav-links] ShortCode accepts 4 arguments:
https://toolset.com/documentation/views-shortcodes/#wpv-pager-nav-links
https://toolset.com/documentation/user-guides/views-pagination/
Those are:
- anchor_text (opt): 'anchor_text'
Displays this text instead of the number only
- step (opt): 'step'
The amount of pages to skip in pagination links.
- ellipsis (opt): 'ellipsis'
The placeholder for skipped pages.
- reach (opt): 'reach'
The amount of of preceding and following pages of the current link.
There is no possibility to add a Class argument as it would also conflict with current Views Pagination Styles.
Putting them in list though should be possible, by wrapping the ShortCode in a list.
Please let me know if you need further infos about this.
Thank you for your patience.