Skip Navigation

[Resolved] Add class to [wpv-pager-nav-links]

This support ticket is created 8 years, 5 months 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
- - 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 reply, has 2 voices.

Last updated by Beda 8 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#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.

    This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.