Jump to content

[Markup Suggestion] For MarkupPagerNav class


Recommended Posts

Referencing this page:


The options array for UIKit should read as follows for nextItemLabel & previousItemLabel:

// Change options for Uikit "uk-pagination" navigation
$options = array(
	'nextItemLabel' => "<span uk-pagination-next></span>",
	'previousItemLabel' => "<span uk-pagination-previous></span>",

Otherwise with UIKit 3 the arrows don’t render.

Link to comment
Share on other sites

I’m positive they weren’t rendering. I’ve been coding my page for days and couldn’t figure out why there was no output for them.

My code makes the left and right arrows appear. (see screenshot)

And your code shows 'prev' and 'next'. (see screenshot)

I took the code I used from UIKit’s most recent docs. Either execution works for me. Thanks for adding your input.


Screen Shot 2021-11-20 at 2.53.55 PM.png

Screen Shot 2021-11-20 at 2.55.13 PM.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...