Dashboard widget

Her er opskriften til en dashboard widget, inspireret af Olinik & Jackson “The WordPress Anthology” (2011):

function kanbanAdmin() {
	require('log-new.php');
}

// Register the new Dashboard widget
function add_kanbanAdmin(){
	wp_add_dashboard_widget('webkanban', 'Webkanban Create Log', 'kanbanAdmin' );
}

// add to the Dashboard 
add_action('wp_dashboard_setup','add_kanbanAdmin');
Enable Notifications OK No thanks

We use cookies - more information

Multimusen.dk will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies. Some of my pages use APIs - such as YouTube, LinkedIn, Google Fonts, Google Maps, Mapbox, Spotify, Jetpack, Twitter, Facebook &c.. Such plugins may set the odd cookie.

Close