Numeric Pagination
-
I would like to change the circle pagination to numbers. The code below was in a thread from three years ago and is not working.
The code below, I added to the functions.php.
function easingslider_numbered_pagination( $slideshow ) { ?> <div class="easingsliderlite-pagination <?php echo esc_attr( $slideshow->navigation->pagination_position ) .' '. esc_attr( $slideshow->navigation->pagination_location ); ?>"> <?php foreach ( $slideshow->slides as $index => $slide ) : ?> <div class="easingsliderlite-icon inactive" style="background-image: none !important;"><?php echo ( $index + 1 ); ?></div> <?php endforeach; ?> </div> <?php } add_action( 'easingsliderlite_pagination', 'easingslider_numbered_pagination' );
Thank you in advance for your help!
Katie
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Numeric Pagination’ is closed to new replies.