Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Toolbar Menus

// Add Toolbar Menus
function weddings_custom_toolbar() {
	global $wp_admin_bar;

	$args = array(
		'id'     => 'weddings-management',
		'title'  => __( 'Weddings Management', 'weddings' ),
		'href'   => '#',
		'group'  => true,
		'meta'   => array(
			'html'     => 'All Weddings',
		),
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'booked',
		'title'  => __( 'Booked', 'weddings' ),
		'href'   => '#',
		'meta'   => array(
			'html'     => 'Booked',
		),
	);
	$wp_admin_bar->add_menu( $args );

}
add_action( 'wp_before_admin_bar_render', 'weddings_custom_toolbar', 999 );