PluginProbe
QuadMenu – Mega Menu / trunk
QuadMenu – Mega Menu vtrunk
3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 All 87 releases
quadmenu / templates / layout / alert.php

alert.php in QuadMenu – Mega Menu trunk, at templates/layout/alert.php

15 lines 881 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $_wp_registered_nav_menus;
3 ?>
4 <nav id="quadmenu">
5 <div class="quadmenu-alert">
6 <h4><?php esc_html_e( 'Something went wrong', 'quadmenu' ); ?></h4>
7 <?php if ( ! isset( $args->theme_location ) || empty( ! empty( $_wp_registered_nav_menus[ $args->theme_location ] ) ) ) : ?>
8 <p><?php esc_html_e( 'Please include a valid theme location in your php functions. For example:', 'quadmenu' ); ?></p>
9 <p><?php printf( '<code>&lt;?php quadmenu(array(theme_location => &quot;%1$s&quot;)); ?&gt;</code>', key( $_wp_registered_nav_menus ) ); ?></p>
10 <?php else : ?>
11 <p><?php printf( __( 'This theme location is not active. Please go to <a href="%1$s" target="_blank">Configuration</a> tab and activate the <b>%2$s</b> theme location.', 'quadmenu' ), Plugin::taburl( '0' ), $_wp_registered_nav_menus[ $args->theme_location ] ); ?></p>
12 <?php endif; ?>
13 </div>
14 </nav>
15