| 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> |