Skip Navigation

[Gelöst] Add class to [wpv-pager-nav-links]

This support ticket is created vor 7 Jahre, 2 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 Antwort, has 2 Stimmen.

Last updated by Beda vor 7 Jahre, 2 Monate.

Assigned support staff: Beda.

Author
Artikel
#346354

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 🙂

  • #346493

    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.