> Menus screen.
*/
function admin_notice_menus()
{
// Only display the notice if on the Appearance >> Menus screen.
if ( \ski\question::is_admin_screen( 'nav-menus' ) )
{
echo '
'.
'
'.
__( 'BluePrint-Q supports a full Bootstrap two-level menu system in the main Navigation area. It '.
'also supports single-level menus within any other widgetized areas. To assign these menus, '.
'please use the Theme Customizer.',
'bpq' ).
'
'.
'
';
}
}
/**
* Responsible for altering menus in the administration area.
*/
function admin_menus()
{
// Add a link to the BluePrint-Q landing page.
add_theme_page(
__( 'Welcome to BluePrint-Q', 'bpq' ),
__( 'BluePrint-Q', 'bpq' ),
'edit_theme_options',
'bpq',
'bpq\admin_display_landing'
);
}
/**
* In navigation menus, typically, a theme would differentiate the current
* page item from all other items in the menu - to do this, we add a special
* class to the