Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Funcionalidad toolbar

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

	$args = array(
		'id'     => 'analitica',
		'title'  => __( 'Analítica', 'orenxebre_toolbar' ),
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'analitics',
		'parent' => 'analitica',
		'title'  => __( 'Analitics', 'orenxebre_toolbar' ),
		'href'   => 'https://analytics.google.com/analytics/web/?hl=es&pli=1#report/defaultid/a59490054w93684971p97590530/',
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'webmastertools',
		'parent' => 'analitica',
		'title'  => __( 'Webmastertools', 'orenxebre_toolbar' ),
		'href'   => 'https://www.google.com/webmasters/tools/dashboard?hl=es&pli=1&siteUrl=httpfapaourense.es',
	);
	$wp_admin_bar->add_menu( $args );

	$args = array(
		'id'     => 'cursos-boluda',
		'parent' => 'analitica',
		'title'  => __( 'Cursos Boluda', 'orenxebre_toolbar' ),
		'href'   => 'https://boluda.com/intranet/',
	);
	$wp_admin_bar->add_menu( $args );

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