PluginProbe
QuadMenu – Mega Menu / 1.8.8
QuadMenu – Mega Menu v1.8.8
3.3.8 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 All 88 releases
quadmenu / lib / ReduxCore / templates / panel / menu_container.tpl.php

menu_container.tpl.php in QuadMenu – Mega Menu 1.8.8, at lib/ReduxCore/templates/panel/menu_container.tpl.php

51 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for the menu container of the panel.
4 *
5 * Override this template by specifying the path where it is stored (templates_path) in your Redux config.
6 *
7 * @author Redux Framework
8 * @package ReduxFramework/Templates
9 * @version: 3.5.4
10 */
11
12 ?>
13 <div class="redux-sidebar">
14 <ul class="redux-group-menu">
15 <?php
16 foreach ( $this->parent->sections as $k => $section ) {
17 $title = isset ( $section[ 'title' ] ) ? $section[ 'title' ] : '';
18
19 $skip_sec = false;
20 foreach ( $this->parent->hidden_perm_sections as $num => $section_title ) {
21 if ( $section_title == $title ) {
22 $skip_sec = true;
23 }
24 }
25
26 if ( isset ( $section[ 'customizer_only' ] ) && $section[ 'customizer_only' ] == true ) {
27 continue;
28 }
29
30 if ( false == $skip_sec ) {
31 echo $this->parent->section_menu ( $k, $section );
32 $skip_sec = false;
33 }
34 }
35
36 /**
37 * action 'redux-page-after-sections-menu-{opt_name}'
38 *
39 * @param object $this ReduxFramework
40 */
41 do_action ( "redux-page-after-sections-menu-{$this->parent->args[ 'opt_name' ]}", $this );
42
43 /**
44 * action 'redux/page/{opt_name}/menu/after'
45 *
46 * @param object $this ReduxFramework
47 */
48 do_action ( "redux/page/{$this->parent->args[ 'opt_name' ]}/menu/after", $this );
49 ?>
50 </ul>
51 </div>