Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Menú Toolbar Mis Proyectos

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

	$args = array(
		'id'     => 'rucarpe_toolbar_webs',
		'title'  => __( 'Proyectos de rucarpe', 'rucarpe_menu_toolbar_webs' ),
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'rucarpe-com',
		'parent' => 'rucarpe_toolbar_webs',
		'title'  => __( 'Rucarpe.com', 'rucarpe_menu_toolbar_webs' ),
		'href'   => 'https://rucarpe.com',
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'gente-pro-es',
		'parent' => 'rucarpe_toolbar_webs',
		'title'  => __( 'GentePro.es', 'rucarpe_menu_toolbar_webs' ),
		'href'   => 'https://gentepro.es',
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'laacademia-pro',
		'parent' => 'rucarpe_toolbar_webs',
		'title'  => __( 'LaAcademia.pro', 'rucarpe_menu_toolbar_webs' ),
		'href'   => 'https://laacademia.pro',
	);
	$wp_admin_bar->add_menu( $args );

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