diff --git a/functions.php b/functions.php index f64fc6d..4994c28 100644 --- a/functions.php +++ b/functions.php @@ -93,14 +93,23 @@ function custom_toolbar() { $wp_admin_bar->add_menu( $args ); $args = array( - 'id' => 'child6-menu', + 'id' => 'child7-menu', 'parent' => 'parent-menu', 'title' => __( 'WP/LR Sync (Galleries)', 'yuzu-child' ), 'href' => 'https://' . '$_SERVER["HTTP_HOST"]' . '/wordpress/wp-admin/admin.php?page=wplr-collections-tags-menu', ); $wp_admin_bar->add_menu( $args ); + + $args = array( + 'id' => 'child8-menu', + 'parent' => 'parent-menu', + 'title' => __( 'Themes', 'yuzu-child' ), + 'href' => 'https://' . '$_SERVER["HTTP_HOST"]' . '/wordpress/wp-admin/themes.php', + ); + $wp_admin_bar->add_menu( $args ); } + if ( current_user_can( 'administrator' ) ) { add_action( 'wp_before_admin_bar_render', 'custom_toolbar', 999 ); }