> 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'
);
}
/**
* Acts as a clearfix for cases where the traditional CSS solution does not
* necessarily work. The driving case for this is when the navbar is hooked
* to the end of the floater area or main zone.
*/
function force_clear()
{
echo '