fuzendesign Posted November 20, 2021 Share Posted November 20, 2021 Referencing this page: https://processwire.com/api/ref/markup-pager-nav/ 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 More sharing options...
DV-JF Posted November 20, 2021 Share Posted November 20, 2021 $options = array( ... 'nextItemLabel' => "<span>next</span>", 'previousItemLabel' => "<span>prev</span>", ... ); Are you sure, that they are not rendered? What happens if you change the code like this above? Link to comment Share on other sites More sharing options...
fuzendesign Posted November 20, 2021 Author Share Posted November 20, 2021 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now