Skip to content

Commit 535c45a

Browse files
authored
1 parent 26a280a commit 535c45a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

class-wp-bootstrap-navwalker.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0
198198
}
199199
}
200200

201+
$atts['aria-current'] = $item->current ? 'page' : '';
202+
201203
// update atts of this item based on any custom linkmod classes.
202204
$atts = self::update_atts_for_linkmod_type( $atts, $linkmod_classes );
203205
// Allow filtering of the $atts array before using it.

0 commit comments

Comments
 (0)