Skip to content

Commit

Permalink
Local navigation: Use has-separator class for "personal" navigation…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Jul 9, 2024
1 parent 19c679e commit 9661a4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
5 changes: 3 additions & 2 deletions wp-content/themes/pub/wporg-learn-2024/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ function add_site_navigation_menus( $menus ) {
'url' => '/online-workshops/',
),
array(
'label' => __( 'My courses', 'wporg-learn' ),
'url' => get_my_courses_page_url(),
'label' => __( 'My courses', 'wporg-learn' ),
'url' => get_my_courses_page_url(),
'className' => 'has-separator',
),
);

Expand Down
15 changes: 0 additions & 15 deletions wp-content/themes/pub/wporg-learn-2024/src/style/_local-nav.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

@import "card-grid";
@import "jetpack";
@import "local-nav";
@import "sensei";
@import "sidebar";
@import "search";
Expand Down

0 comments on commit 9661a4e

Please sign in to comment.