Add ability to modify ul classes
The second parameter to the function was not being utilized. I have made it output any classes passed to the class tag of the list.
This commit is contained in:
parent
36aa3366b2
commit
522bb8fdf2
|
@ -35,7 +35,7 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
|
||||||
|
|
||||||
<nav aria-label="<?php echo $args['screen_reader_text']; ?>">
|
<nav aria-label="<?php echo $args['screen_reader_text']; ?>">
|
||||||
|
|
||||||
<ul class="pagination">
|
<ul class="<?php echo esc_attr($class); ?>">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
foreach ( $links as $key => $link ) {
|
foreach ( $links as $key => $link ) {
|
||||||
|
|
Reference in New Issue