ACTUALLY removed the menu widget areas.
This commit is contained in:
parent
6aa9c5f0ac
commit
3daee81a3a
@ -1,18 +0,0 @@
|
||||
<?php
|
||||
if ( !defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'menu-2' ) ): ?>
|
||||
<ul class="menu-2-widgets">
|
||||
<?php dynamic_sidebar( 'menu-2' ); ?>
|
||||
</ul>
|
||||
<?php elseif ( user_can( get_current_user_id(), 'edit_theme_options' ) ): ?>
|
||||
<ul class="menu-2-widgets">
|
||||
<li class="panel widget menu-2-widget warning">
|
||||
<?php esc_html_e( 'Sorry, but no widgets were found in this area.', 'minimalistflex' ); ?>
|
||||
<?php esc_html_e( 'This message is displayed to administrators only.', 'minimalistflex' ); ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
if ( !defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'menu' ) ): ?>
|
||||
<a id="minimalistflex-menu-goto-right" href="#menu-custom" aria-label="<?php esc_attr_e( 'Go to the right of the navigation menu, which conntains an extra widget area.', 'minimalistflex' ) ?>">></a>
|
||||
<ul class="menu-widgets">
|
||||
<?php dynamic_sidebar( 'menu' ); ?>
|
||||
</ul>
|
||||
<a id="minimalistflex-menu-goto-left" href="#minimalistflex-menu-nav-menu" aria-label="<?php esc_attr_e( 'Go to the left of the navigation menu, which is the menu and a menu widget area.', 'minimalistflex' ) ?>"><</a>
|
||||
<?php elseif ( user_can( get_current_user_id(), 'edit_theme_options' ) ): ?>
|
||||
<a id="minimalistflex-menu-goto-right" href="#menu-custom" aria-label="<?php esc_attr_e( 'Go to the right of the navigation menu, which conntains an extra widget area.', 'minimalistflex' ) ?>">></a>
|
||||
<ul class="menu-widgets">
|
||||
<li class="panel widget menu-widget warning">
|
||||
<?php esc_html_e( 'Sorry, but no widgets were found in this area.', 'minimalistflex' ); ?>
|
||||
<?php esc_html_e( 'This message is displayed to administrators only.', 'minimalistflex' ); ?>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="minimalistflex-menu-goto-left" href="#minimalistflex-menu-nav-menu" aria-label="<?php esc_attr_e( 'Go to the left of the navigation menu, which is the menu and a menu widget area.', 'minimalistflex' ) ?>"><</a>
|
||||
<?php endif; ?>
|
||||
Loading…
x
Reference in New Issue
Block a user