Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff K

    (@kreitje)

    If you use the limit attribute it will generate pagination links for you.

    See here for an example

    There are a few attributes to use.

    1. limit – This sets the number of testimonials per page.
    2. location – Where should the pagination links be shown. Available options are top, bottom or both.
    3. prev – The next for the previous link. It defaults to a left
    double angle quote. «
    3. next – The next for the previous link. It defaults to a right double angle quote. »

    Example usage:
    [hms_testimonials limit=3 location=”both” prev = “<< ” next = ” >>”]

    Does this fix your issue?

    Thread Starter Paxjah

    (@paxjah)

    Thank you for responding so quickly! It’s not quite, I need the ‘prev’ and ‘next’ but I also want to change the display of the navigation links; instead of having ‘1,2,3,4,5’, I’d like them to display as circles or a FontAwesome icon. Would that be possible with a filter or hook?

    Plugin Author Jeff K

    (@kreitje)

    Right now you can only change the CSS (no filters or hooks). I will look at possibly adding a filter to override numbers links.

    The prev and next links have a class of “prev” and “next”. You should be able to override the styling of the links that way.

    .hms-testimonial-group .paging a {
    // set the styling for your paging links and include FontAwesome icon css
    }
    
    .hms-testimonial-group .paging a.next,
    .hms-testimonial-group .paging a.prev {
    //override the styling you just set above.
    }

    Jeff

    Plugin Author Jeff K

    (@kreitje)

    Hey Paxjah,

    I have added in filters for the pagination links. It is version 2.2.7.

    hms_testimonials_pagination_link – The main links
    hms_testimonials_pagination_next – The next link
    hms_testimonials_pagination_previous – The previous link
    hms_testimonials_pagination_current – The current page

    If you visit my demo page you will see that I am using filters to change them.

    Jeff

    Thread Starter Paxjah

    (@paxjah)

    Hi jeff!

    Thank you so sooo much for those, you has made this project absolutely perfect, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Feature Request] Navigation Links’ is closed to new replies.