We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d356e5 + 4191a3d commit 2d79696Copy full SHA for 2d79696
theme/template-parts/blocks/navigation-link.php
@@ -109,8 +109,13 @@ class="mdc-tab-indicator
109
<?php else : ?>
110
<a
111
href="<?php echo esc_url( $attributes['url'] ); ?>"
112
- class="mdc-list-item"
113
- >
+ class="mdc-list-item
+ <?php
114
+ if ( $is_active ) {
115
+ echo 'mdc-list-item--activated';
116
+ }
117
+ ?>
118
+ ">
119
<span className="mdc-list-item__text">
120
<?php echo wp_kses_post( $attributes['label'] ); ?>
121
</span>
0 commit comments