Nel tutorial di oggi imparerete come aggiungere un calendario all’interno del wp_nav_menu mostrandolo come sotto-menu.
add_filter(‘wp_nav_menu_items’,‘add_calendar’, 10, 2);
function add_calendar($items, $args) {
if( $args->theme_location == ‘header-navigation’ )
return $items . ‘
‘;
}
fonte: www.sastgroup.com ? Vai al post originale






