Max Mega Menu - Version 2.2.2

Version Description

[21/07/2016] =

  • Fix: Save button missing from menu locations
  • Fix: Compatibility with 'Profit Builder' plugin
  • Fix: Remove outline from mobile toggle
  • Fix: Make mobile toggle blocks editable as soon as they're added to the toggle block designer
  • Change: Refactor detection of mega menu type submenus
Download this release

Release Info

Developer megamenu
Plugin Icon 128x128 Max Mega Menu
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

classes/menu-item-manager.class.php CHANGED
@@ -204,12 +204,19 @@ class Mega_Menu_Menu_Item_Manager {
204
 
205
  $all_widgets = $widget_manager->get_available_widgets();
206
 
 
 
 
 
 
207
  $return = "<label for='mm_enable_mega_menu'>" . __("Sub menu display mode", "megamenu") . "</label>";
 
208
  $return .= "<select id='mm_enable_mega_menu' name='settings[type]'>";
209
- $return .= " <option value='flyout'>" . __("Flyout Menu", "megamenu") . "</option>";
210
- $return .= " <option id='megamenu' value='megamenu' " . selected( $menu_item_meta['type'], 'megamenu', false ) . ">" . __("Mega Menu", "megamenu") . "</option>";
211
- $return .= "</select>";
212
 
 
 
 
 
213
 
214
  $return .= "<select id='mm_number_of_columns' name='settings[panel_columns]'>";
215
  $return .= " <option value='1' " . selected( $menu_item_meta['panel_columns'], 1, false ) . ">1 " . __("column", "megamenu") . "</option>";
204
 
205
  $all_widgets = $widget_manager->get_available_widgets();
206
 
207
+ $submenu_options = apply_filters("megamenu_submenu_options", array(
208
+ 'flyout' => __("Flyout Menu", "megamenu"),
209
+ 'megamenu' => __("Mega Menu", "megamenu")
210
+ ), $menu_item_meta);
211
+
212
  $return = "<label for='mm_enable_mega_menu'>" . __("Sub menu display mode", "megamenu") . "</label>";
213
+
214
  $return .= "<select id='mm_enable_mega_menu' name='settings[type]'>";
 
 
 
215
 
216
+ foreach ( $submenu_options as $type => $label ) {
217
+ $return .= "<option id='{$type}' value='{$type}' " . selected( $menu_item_meta['type'], $type, false ) . ">{$label}</option>";
218
+ }
219
+ $return .= "</select>";
220
 
221
  $return .= "<select id='mm_number_of_columns' name='settings[panel_columns]'>";
222
  $return .= " <option value='1' " . selected( $menu_item_meta['panel_columns'], 1, false ) . ">1 " . __("column", "megamenu") . "</option>";
classes/nav-menus.class.php CHANGED
@@ -159,6 +159,13 @@ class Mega_Menu_Nav_Menus {
159
  wp_deregister_script('jquery.wfcolorbox');
160
  wp_deregister_style('wordfence-colorbox-style');
161
 
 
 
 
 
 
 
 
162
  wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
163
  wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/menus.css', false, MEGAMENU_VERSION );
164
 
159
  wp_deregister_script('jquery.wfcolorbox');
160
  wp_deregister_style('wordfence-colorbox-style');
161
 
162
+ // Compatibility fix for Profit Builder
163
+ wp_deregister_script('color-box-min');
164
+ wp_deregister_script('color-box');
165
+ wp_deregister_style('color-box-css');
166
+
167
+
168
+
169
  wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
170
  wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/menus.css', false, MEGAMENU_VERSION );
171
 
classes/settings.class.php CHANGED
@@ -261,13 +261,17 @@ class Mega_Menu_Settings {
261
 
262
  check_admin_referer( 'megamenu_save_settings' );
263
 
264
- $submitted_settings = apply_filters( "megamenu_submitted_settings", $_POST['settings'] );
265
 
266
- $existing_settings = get_option( 'megamenu_settings' );
267
 
268
- $new_settings = array_merge( (array)$existing_settings, $submitted_settings );
269
 
270
- update_option( 'megamenu_settings', $new_settings );
 
 
 
 
271
 
272
  // update location description
273
  if ( isset( $_POST['location'] ) && is_array( $_POST['location'] ) ) {
@@ -684,11 +688,7 @@ class Mega_Menu_Settings {
684
 
685
  <?php do_action( "megamenu_general_settings", $saved_settings ); ?>
686
 
687
- <?php
688
-
689
- submit_button();
690
-
691
- ?>
692
  </form>
693
  </div>
694
 
@@ -738,14 +738,14 @@ class Mega_Menu_Settings {
738
  <tr>
739
  <td class='mega-name'>
740
  <?php _e("Registered Menu Locations", "megamenu"); ?>
741
- <div class='mega-description'><?php _e("An overview of the menu locations supported by your theme. You can enable Max Mega Menu and adjust the settings for a specific menu location by going to Appearance > Menus."); ?></div>
742
  </td>
743
  <td class='mega-value'>
744
  <p>
745
  <?php
746
  $none = __("Your theme does not natively support menus, but you can add a new menu location using Max Mega Menu and display the menu using the Max Mega Menu widget or shortcode.", "megamenu");
747
- $one = __("Your theme supports one menu.", "megamenu");
748
- $some = __("Your theme supports {number} menus.", "megamenu");
749
 
750
  if ( ! count($locations)) {
751
  echo $none;
@@ -781,16 +781,12 @@ class Mega_Menu_Settings {
781
 
782
  <?php
783
 
 
784
  echo "<div class='mega-assigned-menu'>";
785
- echo __("Menu", "megamenu") . ": ";
786
-
787
- if ($menu_id) {
788
- echo "<a href='" . admin_url("nav-menus.php?action=edit&menu={$menu_id}") . "'>" . $this->get_menu_name_for_location( $location ) . "</a>";
789
- } else {
790
- echo "<a href='" . admin_url('nav-menus.php?action=locations') . "'>" . __("Assign a menu", "megamenu") . "</a>";
791
- }
792
-
793
  echo "</div>";
 
 
794
  ?>
795
 
796
  </h4>
@@ -859,7 +855,11 @@ class Mega_Menu_Settings {
859
  wp_nonce_url( admin_url("admin-post.php"), 'megamenu_delete_menu_location' )
860
  ) );
861
 
862
- echo "<a class='confirm mega-delete button button-secondary' href='{$delete_location_url}'>" . __("Delete location") . "</a>";
 
 
 
 
863
 
864
  }
865
 
@@ -875,21 +875,27 @@ class Mega_Menu_Settings {
875
 
876
  echo "</div>";
877
 
878
- $add_location_url = esc_url( add_query_arg(
879
- array(
880
- 'action'=>'megamenu_add_menu_location'
881
- ),
882
- wp_nonce_url( admin_url("admin-post.php"), 'megamenu_add_menu_location' )
883
- ) );
884
- echo "<br /><p><a class='button button-secondary' href='{$add_location_url}'>" . __("Add another menu location") . "</a></p>";
885
- }?>
 
 
 
 
 
886
 
887
  </td>
888
  </tr>
889
  </table>
890
 
891
-
892
  <?php do_action( "megamenu_menu_locations", $saved_settings ); ?>
 
 
893
  </form>
894
  </div>
895
 
261
 
262
  check_admin_referer( 'megamenu_save_settings' );
263
 
264
+ if ( isset( $_POST['settings'] ) && is_array( $_POST['settings'] ) ) {
265
 
266
+ $submitted_settings = apply_filters( "megamenu_submitted_settings", $_POST['settings'] );
267
 
268
+ $existing_settings = get_option( 'megamenu_settings' );
269
 
270
+ $new_settings = array_merge( (array)$existing_settings, $submitted_settings );
271
+
272
+ update_option( 'megamenu_settings', $new_settings );
273
+
274
+ }
275
 
276
  // update location description
277
  if ( isset( $_POST['location'] ) && is_array( $_POST['location'] ) ) {
688
 
689
  <?php do_action( "megamenu_general_settings", $saved_settings ); ?>
690
 
691
+ <?php submit_button(); ?>
 
 
 
 
692
  </form>
693
  </div>
694
 
738
  <tr>
739
  <td class='mega-name'>
740
  <?php _e("Registered Menu Locations", "megamenu"); ?>
741
+ <div class='mega-description'><?php _e("This is an overview of the menu locations supported by your theme. You can enable Max Mega Menu and adjust the settings for a specific menu location by going to Appearance > Menus."); ?></div>
742
  </td>
743
  <td class='mega-value'>
744
  <p>
745
  <?php
746
  $none = __("Your theme does not natively support menus, but you can add a new menu location using Max Mega Menu and display the menu using the Max Mega Menu widget or shortcode.", "megamenu");
747
+ $one = __("Your theme supports one menu location.", "megamenu");
748
+ $some = __("Your theme supports {number} menu locations.", "megamenu");
749
 
750
  if ( ! count($locations)) {
751
  echo $none;
781
 
782
  <?php
783
 
784
+ if ($menu_id) {
785
  echo "<div class='mega-assigned-menu'>";
786
+ echo "<a href='" . admin_url("nav-menus.php?action=edit&menu={$menu_id}") . "'>" . $this->get_menu_name_for_location( $location ) . "</a>";
 
 
 
 
 
 
 
787
  echo "</div>";
788
+ }
789
+
790
  ?>
791
 
792
  </h4>
855
  wp_nonce_url( admin_url("admin-post.php"), 'megamenu_delete_menu_location' )
856
  ) );
857
 
858
+ echo '<div class="megamenu_submit"><div class="mega_left">';
859
+ submit_button();
860
+ echo '</div><div class="mega_right">';
861
+ echo "<a class='confirm mega-delete' href='{$delete_location_url}'>" . __("Delete location") . "</a>";
862
+ echo '</div></div>';
863
 
864
  }
865
 
875
 
876
  echo "</div>";
877
 
878
+
879
+ }
880
+
881
+ $add_location_url = esc_url( add_query_arg(
882
+ array(
883
+ 'action'=>'megamenu_add_menu_location'
884
+ ),
885
+ wp_nonce_url( admin_url("admin-post.php"), 'megamenu_add_menu_location' )
886
+ ) );
887
+
888
+ echo "<br /><p><a class='button button-secondary' href='{$add_location_url}'>" . __("Add another menu location") . "</a></p>";
889
+
890
+ ?>
891
 
892
  </td>
893
  </tr>
894
  </table>
895
 
 
896
  <?php do_action( "megamenu_menu_locations", $saved_settings ); ?>
897
+
898
+
899
  </form>
900
  </div>
901
 
classes/style-manager.class.php CHANGED
@@ -61,7 +61,7 @@ final class Mega_Menu_Style_Manager {
61
  *
62
  */
63
  public function get_default_theme() {
64
- return array(
65
  'title' => __("Default", "megamenu"),
66
  'container_background_from' => '#222',
67
  'container_background_to' => '#222',
@@ -258,7 +258,7 @@ final class Mega_Menu_Style_Manager {
258
  #{$wrap} {
259
  clear: both;
260
  }'
261
- );
262
  }
263
 
264
 
@@ -486,7 +486,10 @@ final class Mega_Menu_Style_Manager {
486
  $dir = trailingslashit( $upload_dir['basedir'] ) . 'maxmegamenu/';
487
 
488
  WP_Filesystem( false, $upload_dir['basedir'], true );
489
- $wp_filesystem->mkdir( $dir );
 
 
 
490
 
491
  if ( ! $wp_filesystem->put_contents( $dir . $filename, $css ) ) {
492
  // File write failed.
61
  *
62
  */
63
  public function get_default_theme() {
64
+ return apply_filters("megamenu_default_theme", array(
65
  'title' => __("Default", "megamenu"),
66
  'container_background_from' => '#222',
67
  'container_background_to' => '#222',
258
  #{$wrap} {
259
  clear: both;
260
  }'
261
+ ) );
262
  }
263
 
264
 
486
  $dir = trailingslashit( $upload_dir['basedir'] ) . 'maxmegamenu/';
487
 
488
  WP_Filesystem( false, $upload_dir['basedir'], true );
489
+
490
+ if( ! $wp_filesystem->is_dir( $dir ) ) {
491
+ $wp_filesystem->mkdir( $dir );
492
+ }
493
 
494
  if ( ! $wp_filesystem->put_contents( $dir . $filename, $css ) ) {
495
  // File write failed.
css/admin/settings.css CHANGED
@@ -473,6 +473,27 @@ body[class*='mega-menu_page_maxmegamenu_'] .menu_settings h3 {
473
  border: 1px solid #dfdfdf;
474
  }
475
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
  .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section-content {
477
  padding-left: 10px;
478
  padding-right: 10px;
473
  border: 1px solid #dfdfdf;
474
  }
475
 
476
+ /*
477
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-general {
478
+ border-left: 5px solid #03A9F4;
479
+ }
480
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-menu_bar {
481
+ border-left: 5px solid #009688;
482
+ }
483
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-mega_panels {
484
+ border-left: 5px solid #FFA000;
485
+ }
486
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-flyout_menus {
487
+ border-left: 5px solid #4CAF50;
488
+ }
489
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .mega-mobile_menu {
490
+ border-left: 5px solid #C2185B;
491
+ }
492
+ .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section.mega-custom_styling {
493
+ border-left: 5px solid #607D8B;
494
+ }
495
+ */
496
+
497
  .megamenu_outer_wrap .megamenu_right .menu_settings .accordion-container .accordion-section-content {
498
  padding-left: 10px;
499
  padding-right: 10px;
css/megamenu.scss CHANGED
@@ -366,17 +366,13 @@
366
  }
367
 
368
  @for $of from 1 through 8 {
369
-
370
  @for $cols from 1 through $of {
371
-
372
- > li.mega-menu-columns-#{$cols}-of-#{$of} {
373
  width: (100% / $of) * $cols;
374
  }
375
-
376
  }
377
  }
378
 
379
-
380
  > li.mega-menu-item ul.mega-sub-menu {
381
  clear: both;
382
 
@@ -730,6 +726,7 @@
730
  -khtml-user-select: none;
731
  -moz-user-select: none;
732
  -ms-user-select: none;
 
733
 
734
  @include mobile {
735
  display: block;
366
  }
367
 
368
  @for $of from 1 through 8 {
 
369
  @for $cols from 1 through $of {
370
+ li.mega-menu-columns-#{$cols}-of-#{$of} {
 
371
  width: (100% / $of) * $cols;
372
  }
 
373
  }
374
  }
375
 
 
376
  > li.mega-menu-item ul.mega-sub-menu {
377
  clear: both;
378
 
726
  -khtml-user-select: none;
727
  -moz-user-select: none;
728
  -ms-user-select: none;
729
+ outline: none;
730
 
731
  @include mobile {
732
  display: block;
js/toggledesigner.js CHANGED
@@ -74,7 +74,10 @@ jQuery(function($) {
74
 
75
 
76
  // Show/hide block settings
77
- $( ".block-title").on('click', 'span', function() {
 
 
 
78
  var settings = $(this).parent().parent().find(".block-settings");
79
  $(".block").removeClass('mega-open');
80
 
74
 
75
 
76
  // Show/hide block settings
77
+ $( '.mega-toggle_blocks').on('click', '.block-title span', function(e) {
78
+ e.preventDefault();
79
+ e.stopPropagation();
80
+
81
  var settings = $(this).parent().parent().find(".block-settings");
82
  $(".block").removeClass('mega-open');
83
 
languages/megamenu-fa_IR.mo ADDED
Binary file
languages/megamenu-fa_IR.po ADDED
@@ -0,0 +1,1658 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Max Mega Menu\n"
4
+ "POT-Creation-Date: 2016-06-28 09:10+0430\n"
5
+ "PO-Revision-Date: 2016-07-05 19:56+0430\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: fa_IR\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.8\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-WPHeader: megamenu.php\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: classes/menu-item-manager.class.php:196
24
+ msgid "Sub Menu"
25
+ msgstr "زیر منو"
26
+
27
+ #: classes/menu-item-manager.class.php:197
28
+ msgid "Mega Menus can only be created on top level menu items."
29
+ msgstr "منوها مگا تنها می تواند در آیتم های منو سطح بالا ایجاد شده است."
30
+
31
+ #: classes/menu-item-manager.class.php:207
32
+ msgid "Sub menu display mode"
33
+ msgstr "حالت نمایش زیر منو"
34
+
35
+ #: classes/menu-item-manager.class.php:209
36
+ msgid "Flyout Menu"
37
+ msgstr "منو آبشاری"
38
+
39
+ #: classes/menu-item-manager.class.php:210
40
+ #: classes/menu-item-manager.class.php:266 classes/nav-menus.class.php:176
41
+ #: classes/settings.class.php:582
42
+ msgid "Mega Menu"
43
+ msgstr "مگامنو"
44
+
45
+ #: classes/menu-item-manager.class.php:215
46
+ msgid "column"
47
+ msgstr "ستون"
48
+
49
+ #: classes/menu-item-manager.class.php:216
50
+ #: classes/menu-item-manager.class.php:217
51
+ #: classes/menu-item-manager.class.php:218
52
+ #: classes/menu-item-manager.class.php:219
53
+ #: classes/menu-item-manager.class.php:220
54
+ #: classes/menu-item-manager.class.php:221
55
+ #: classes/menu-item-manager.class.php:222
56
+ msgid "columns"
57
+ msgstr "ستون ها"
58
+
59
+ #: classes/menu-item-manager.class.php:226
60
+ msgid "Select a Widget to add to the panel"
61
+ msgstr "یک ابزارک برای اضافه کردن به پنل انتخاب کنید"
62
+
63
+ #: classes/menu-item-manager.class.php:246 classes/widget-manager.class.php:656
64
+ msgid "Contract"
65
+ msgstr "قرارداد"
66
+
67
+ #: classes/menu-item-manager.class.php:248 classes/widget-manager.class.php:658
68
+ msgid "Expand"
69
+ msgstr "توسعه دادن"
70
+
71
+ #: classes/menu-item-manager.class.php:249 classes/widget-manager.class.php:659
72
+ msgid "Edit"
73
+ msgstr "ویرایش"
74
+
75
+ #: classes/menu-item-manager.class.php:260
76
+ msgid ""
77
+ "No widgets found. Add a widget to this area using the Widget Selector (top "
78
+ "right)"
79
+ msgstr ""
80
+ "بدون ویدجت یافت. اضافه کردن یک ویجت به این منطقه با استفاده از ویجت انتخاب "
81
+ "(بالا سمت راست)"
82
+
83
+ #: classes/menu-item-manager.class.php:287
84
+ msgid "Menu Item Settings"
85
+ msgstr "تنظیمات عناصر منو"
86
+
87
+ #: classes/menu-item-manager.class.php:291
88
+ msgid "Hide Text"
89
+ msgstr "متن مخفی"
90
+
91
+ #: classes/menu-item-manager.class.php:299
92
+ msgid "Hide Arrow"
93
+ msgstr "پنهان کردن arrow"
94
+
95
+ #: classes/menu-item-manager.class.php:307
96
+ msgid "Disable Link"
97
+ msgstr "از کار انداختن لینک"
98
+
99
+ #: classes/menu-item-manager.class.php:315
100
+ msgid "Hide Item on Mobile"
101
+ msgstr "در موبایل پنهان شود"
102
+
103
+ #: classes/menu-item-manager.class.php:323
104
+ msgid "Hide Item on Desktop"
105
+ msgstr "در دسکتاپ پنهان شود"
106
+
107
+ #: classes/menu-item-manager.class.php:331
108
+ msgid "Menu Item Align"
109
+ msgstr "چینش منو ها"
110
+
111
+ #: classes/menu-item-manager.class.php:337 classes/settings.class.php:1430
112
+ #: classes/settings.class.php:1577 classes/settings.class.php:1777
113
+ #: classes/settings.class.php:1813 classes/settings.class.php:1965
114
+ #: classes/settings.class.php:2001 classes/settings.class.php:2063
115
+ #: classes/settings.class.php:2155 classes/settings.class.php:2186
116
+ #: classes/settings.class.php:2222 classes/settings.class.php:2335
117
+ #: classes/settings.class.php:2366 classes/settings.class.php:2402
118
+ #: classes/settings.class.php:2515 classes/settings.class.php:2583
119
+ #: classes/settings.class.php:2619 classes/settings.class.php:2728
120
+ #: classes/settings.class.php:3101
121
+ msgid "Left"
122
+ msgstr "چپ"
123
+
124
+ #: classes/menu-item-manager.class.php:338 classes/settings.class.php:1435
125
+ #: classes/settings.class.php:1565 classes/settings.class.php:1765
126
+ #: classes/settings.class.php:1801 classes/settings.class.php:1953
127
+ #: classes/settings.class.php:1989 classes/settings.class.php:2051
128
+ #: classes/settings.class.php:2143 classes/settings.class.php:2174
129
+ #: classes/settings.class.php:2210 classes/settings.class.php:2323
130
+ #: classes/settings.class.php:2354 classes/settings.class.php:2390
131
+ #: classes/settings.class.php:2503 classes/settings.class.php:2571
132
+ #: classes/settings.class.php:2607 classes/settings.class.php:2716
133
+ #: classes/settings.class.php:3103
134
+ msgid "Right"
135
+ msgstr "راست"
136
+
137
+ #: classes/menu-item-manager.class.php:341
138
+ msgid ""
139
+ "Right aligned items will appear in reverse order on the right hand side of "
140
+ "the menu bar"
141
+ msgstr ""
142
+ "راست وضعیت تراز وسط قرار دارد در جهت معکوس در سمت راست نوار منو ظاهر خواهد "
143
+ "شد."
144
+
145
+ #: classes/menu-item-manager.class.php:344
146
+ #: classes/menu-item-manager.class.php:369
147
+ msgid "Option only available for top level menu items"
148
+ msgstr "گزینه فقط برای آیتم های منو سطح بالا در دسترس"
149
+
150
+ #: classes/menu-item-manager.class.php:351
151
+ msgid "Sub Menu Settings"
152
+ msgstr "تنظیمات زیر منو"
153
+
154
+ #: classes/menu-item-manager.class.php:356
155
+ msgid "Sub Menu Align"
156
+ msgstr "چینش زیر منو ها"
157
+
158
+ #: classes/menu-item-manager.class.php:362
159
+ msgid "Left edge of Parent"
160
+ msgstr "لبه سمت چپ والد"
161
+
162
+ #: classes/menu-item-manager.class.php:363
163
+ msgid "Right edge of Parent"
164
+ msgstr "لبه سمت راست والد"
165
+
166
+ #: classes/menu-item-manager.class.php:366
167
+ msgid "Right aligned flyout menus will expand to the left"
168
+ msgstr "منوی آبشاری (افتادنی) از سمت راست به سمت چپ تراز خواهد کرد"
169
+
170
+ #: classes/menu-item-manager.class.php:376
171
+ msgid "Hide Sub Menu on Mobile"
172
+ msgstr "مخفی کردن زیر منو در تلفن همراه"
173
+
174
+ #: classes/menu-item-manager.class.php:387
175
+ msgid "Settings"
176
+ msgstr "تنظیمات"
177
+
178
+ #: classes/menu-item-manager.class.php:406
179
+ msgid "Dashicons"
180
+ msgstr ""
181
+
182
+ #: classes/menu-item-manager.class.php:411
183
+ msgid "Font Awesome"
184
+ msgstr ""
185
+
186
+ #: classes/menu-item-manager.class.php:413
187
+ #: classes/menu-item-manager.class.php:418
188
+ #: classes/menu-item-manager.class.php:423
189
+ msgid "Max Mega Menu Pro"
190
+ msgstr "مگامنوی حرفه ای"
191
+
192
+ #: classes/menu-item-manager.class.php:413
193
+ msgid "Get access to over 400 Font Awesome Icons with {link}"
194
+ msgstr "دسترسی به بیش از 400 آیکن عالی فونت با {لینک}"
195
+
196
+ #: classes/menu-item-manager.class.php:416
197
+ msgid "Genericons"
198
+ msgstr "جنس ایکون ها"
199
+
200
+ #: classes/menu-item-manager.class.php:418
201
+ msgid "Choose from over 100 genericons with {link}"
202
+ msgstr "انتخاب از بیش از 100 genericons با {لینک}"
203
+
204
+ #: classes/menu-item-manager.class.php:421
205
+ msgid "Custom Icon"
206
+ msgstr "ایکون دلخواه"
207
+
208
+ #: classes/menu-item-manager.class.php:423
209
+ msgid "Select icons from your media library with {link}"
210
+ msgstr "انتخاب آیکون از کتابخانه رسانه خود را با {لینک}"
211
+
212
+ #: classes/menu-item-manager.class.php:429
213
+ msgid "Menu Item Icon"
214
+ msgstr "آیکون منو"
215
+
216
+ #: classes/menu-item-manager.class.php:460
217
+ msgid "Icon"
218
+ msgstr "آیکون "
219
+
220
+ #: classes/nav-menus.class.php:120
221
+ msgid "Max Mega Menu Settings"
222
+ msgstr "تنظیمات مگامنو"
223
+
224
+ #: classes/nav-menus.class.php:174
225
+ msgid "Launched for Menu ID"
226
+ msgstr ""
227
+
228
+ #: classes/nav-menus.class.php:175
229
+ msgid "Use these settings to enable Max Mega Menu"
230
+ msgstr "با استفاده از این تنظیمات برای فعال کردن حداکثر مگا منو"
231
+
232
+ #: classes/nav-menus.class.php:177
233
+ msgid ""
234
+ "Please enable Max Mega Menu using the settings on the left of this page."
235
+ msgstr ""
236
+ "لطفا حداکثر مگا منو با استفاده از تنظیمات در سمت چپ این صفحه را فعال کنید."
237
+
238
+ #: classes/nav-menus.class.php:178
239
+ msgid "Saving"
240
+ msgstr "ذخیره"
241
+
242
+ #: classes/nav-menus.class.php:180
243
+ msgid "Oops. Something went wrong. Please reload the page."
244
+ msgstr "اوه. چیزی را اشتباه رفت. لطفا صفحه را دوباره بارگذاری کنید."
245
+
246
+ #: classes/nav-menus.class.php:273
247
+ msgid "here"
248
+ msgstr "در اینجا"
249
+
250
+ #: classes/nav-menus.class.php:275
251
+ msgid "This theme does not register any menu locations."
252
+ msgstr "این مورد در هیچ مکان های منو ثبت نشده."
253
+
254
+ #: classes/nav-menus.class.php:276
255
+ msgid ""
256
+ "You will need to create a new menu location and use the Max Mega Menu widget "
257
+ "or shortcode to display the menu on your site."
258
+ msgstr ""
259
+ "شما نیاز به ایجاد یک مکان منو جدید و استفاده از حداکثر ویجت مگا منو و یا "
260
+ "کوتاه برای نمایش منو در سایت خود."
261
+
262
+ #: classes/nav-menus.class.php:277
263
+ msgid "Click {link} for instructions."
264
+ msgstr "{لینک} کلیک کنید برای دستورالعمل."
265
+
266
+ #: classes/nav-menus.class.php:281
267
+ msgid ""
268
+ "Please assign this menu to a theme location to enable the Mega Menu settings."
269
+ msgstr "لطفا این منو به محل موضوع اختصاص به فعال کردن تنظیمات مگا منو."
270
+
271
+ #: classes/nav-menus.class.php:321 classes/widget-manager.class.php:598
272
+ msgid "Save"
273
+ msgstr "ذخیره"
274
+
275
+ #: classes/nav-menus.class.php:342
276
+ msgid "Enable"
277
+ msgstr "فعال"
278
+
279
+ #: classes/nav-menus.class.php:348
280
+ msgid "Event"
281
+ msgstr "رویداد"
282
+
283
+ #: classes/nav-menus.class.php:351
284
+ msgid "Hover"
285
+ msgstr ""
286
+
287
+ #: classes/nav-menus.class.php:352
288
+ msgid "Click"
289
+ msgstr "کلیک"
290
+
291
+ #: classes/nav-menus.class.php:357
292
+ msgid "Effect"
293
+ msgstr "افکت"
294
+
295
+ #: classes/nav-menus.class.php:366 classes/settings.class.php:3146
296
+ msgid "None"
297
+ msgstr ""
298
+
299
+ #: classes/nav-menus.class.php:370
300
+ msgid "Fade"
301
+ msgstr ""
302
+
303
+ #: classes/nav-menus.class.php:374
304
+ msgid "Slide"
305
+ msgstr ""
306
+
307
+ #: classes/nav-menus.class.php:388
308
+ msgid "Theme"
309
+ msgstr "پوسته"
310
+
311
+ #: classes/settings.class.php:306
312
+ msgid "(Imported)"
313
+ msgstr ""
314
+
315
+ #: classes/settings.class.php:346
316
+ msgid "Copy"
317
+ msgstr "کپی"
318
+
319
+ #. Plugin Name of the plugin/theme
320
+ #: classes/settings.class.php:582 classes/settings.class.php:593
321
+ #: classes/settings.class.php:595 classes/settings.class.php:1119
322
+ msgid "Max Mega Menu"
323
+ msgstr "مگامنو"
324
+
325
+ #: classes/settings.class.php:586 classes/settings.class.php:643
326
+ #: classes/settings.class.php:1163
327
+ msgid "General Settings"
328
+ msgstr "تنظیمات عمومی"
329
+
330
+ #: classes/settings.class.php:587 classes/settings.class.php:1164
331
+ msgid "Menu Themes"
332
+ msgstr "پوسته منو"
333
+
334
+ #: classes/settings.class.php:588 classes/settings.class.php:919
335
+ #: classes/settings.class.php:1165
336
+ msgid "Tools"
337
+ msgstr "ابزار"
338
+
339
+ #: classes/settings.class.php:648
340
+ msgid "Click Event Behaviour"
341
+ msgstr "رفتار هنگام کیلیک کردن"
342
+
343
+ #: classes/settings.class.php:650
344
+ msgid ""
345
+ "Define what should happen when the event is set to 'click'. This also "
346
+ "applies to mobiles."
347
+ msgstr ""
348
+ "تعریف که این رویداد قرار است به 'کلیک کنید' چه اتفاقی باید بیافتد. این نیز "
349
+ "به تلفن همراه اعمال می شود."
350
+
351
+ #: classes/settings.class.php:655
352
+ msgid "First click will open a sub menu, second click will close the sub menu."
353
+ msgstr "اولین کلیک باز کردن یک زیر منو، کلیک دوم را به منوی فرعی را ببندید."
354
+
355
+ #: classes/settings.class.php:656
356
+ msgid "First click will open a sub menu, second click will follow the link."
357
+ msgstr "اولین کلیک باز کردن یک زیر منو، کلیک دوم از لینک دنبال خواهد داشت."
358
+
359
+ #: classes/settings.class.php:664
360
+ msgid "Mobile Menu Behaviour"
361
+ msgstr "رفتار منوی موبایل"
362
+
363
+ #: classes/settings.class.php:666
364
+ msgid "Define the sub menu toggle behaviour for the mobile menu."
365
+ msgstr "تعریف رفتار زیر منو برای منوی تلفن همراه."
366
+
367
+ #: classes/settings.class.php:671
368
+ msgid "Standard - Open sub menus will remain open until closed by the user."
369
+ msgstr ""
370
+ "استاندارد - باز منوی فرعی تا زمانی که توسط کاربر بسته باز باقی خواهد ماند."
371
+
372
+ #: classes/settings.class.php:672
373
+ msgid ""
374
+ "Accordion - Open sub menus will automatically close when another one is "
375
+ "opened."
376
+ msgstr ""
377
+
378
+ #: classes/settings.class.php:680
379
+ msgid "CSS Output"
380
+ msgstr ""
381
+
382
+ #: classes/settings.class.php:686
383
+ msgid "Save to filesystem"
384
+ msgstr ""
385
+
386
+ #: classes/settings.class.php:687
387
+ msgid "Output in &lt;head&gt;"
388
+ msgstr ""
389
+
390
+ #: classes/settings.class.php:688
391
+ msgid "Don't output CSS"
392
+ msgstr ""
393
+
394
+ #: classes/settings.class.php:691
395
+ msgid ""
396
+ "CSS will be saved to wp-content/uploads/maxmegamenu/style.css and enqueued "
397
+ "from there."
398
+ msgstr ""
399
+
400
+ #: classes/settings.class.php:692
401
+ msgid ""
402
+ "CSS will be loaded from the cache in a &lt;style&gt; tag in the &lt;head&gt; "
403
+ "of the page."
404
+ msgstr ""
405
+
406
+ #: classes/settings.class.php:693
407
+ msgid "CSS will not be output, you must enqueue the CSS for the menu manually."
408
+ msgstr ""
409
+
410
+ #: classes/settings.class.php:699
411
+ msgid "Menu Locations"
412
+ msgstr "مکان مگامنو"
413
+
414
+ #: classes/settings.class.php:704
415
+ msgid "Registered Menu Locations"
416
+ msgstr ""
417
+
418
+ #: classes/settings.class.php:705
419
+ msgid ""
420
+ "An overview of the menu locations supported by your theme. You can enable "
421
+ "Max Mega Menu and adjust the settings for a specific menu location by going "
422
+ "to Appearance > Menus."
423
+ msgstr ""
424
+
425
+ #: classes/settings.class.php:710
426
+ msgid ""
427
+ "Your theme does not natively support menus, but you can add a new menu "
428
+ "location using Max Mega Menu and display the menu using the Max Mega Menu "
429
+ "widget or shortcode."
430
+ msgstr ""
431
+ "پوسته شما منو را پشتیبانی نمی کند. اما شما می توانی یک مکان منو برای استفاده "
432
+ "افزونه مگامنو اضافه کنید و مگامنو را نمایش دهید."
433
+
434
+ #: classes/settings.class.php:711
435
+ msgid "Your theme supports one menu."
436
+ msgstr "پوسته شما فقط یک منو پشتیبانی میکند ."
437
+
438
+ #: classes/settings.class.php:712
439
+ msgid "Your theme supports {number} menus."
440
+ msgstr "پوسته شما {number} منو پشتیبانی می کند"
441
+
442
+ #: classes/settings.class.php:728
443
+ msgid "Add another menu location."
444
+ msgstr "یک مکام منو ذیگر اضافه کنید"
445
+
446
+ #: classes/settings.class.php:757
447
+ msgid "Menu"
448
+ msgstr "منو"
449
+
450
+ #: classes/settings.class.php:762
451
+ msgid "Assign a menu"
452
+ msgstr "اختصاص یک منوی"
453
+
454
+ #: classes/settings.class.php:775
455
+ msgid "Location Description"
456
+ msgstr "محل توضیحات"
457
+
458
+ #: classes/settings.class.php:776
459
+ msgid "Change the name of the location."
460
+ msgstr "نام محل را تغییر دهید."
461
+
462
+ #: classes/settings.class.php:785
463
+ msgid "Menu Display Options"
464
+ msgstr "گزینه های منو ها"
465
+
466
+ #: classes/settings.class.php:788
467
+ msgid ""
468
+ "These options are for advanced users only. Your theme should already include "
469
+ "the code required to display this menu on your site."
470
+ msgstr ""
471
+ "این گزینه فقط برای کاربران پیشرفته می باشد. موضوع خود را در حال حاضر باید "
472
+ "شامل کد مورد نیاز برای نمایش این منو را در سایت خود."
473
+
474
+ #: classes/settings.class.php:794
475
+ msgid "PHP Function"
476
+ msgstr "توابع php"
477
+
478
+ #: classes/settings.class.php:795
479
+ msgid "For use in a theme template (usually header.php)"
480
+ msgstr ""
481
+
482
+ #: classes/settings.class.php:803
483
+ msgid "Shortcode"
484
+ msgstr "کد کوتاه"
485
+
486
+ #: classes/settings.class.php:804
487
+ msgid "For use in a post or page."
488
+ msgstr "برای استفاده در یک پست یا صفحه."
489
+
490
+ #: classes/settings.class.php:812
491
+ msgid "Widget"
492
+ msgstr "ابزارک"
493
+
494
+ #: classes/settings.class.php:813
495
+ msgid "For use in a widget area."
496
+ msgstr ""
497
+
498
+ #: classes/settings.class.php:816
499
+ msgid "Add the 'Max Mega Menu' widget to a widget area."
500
+ msgstr ""
501
+
502
+ #: classes/settings.class.php:834
503
+ msgid "Delete location"
504
+ msgstr "حذف مکان"
505
+
506
+ #: classes/settings.class.php:924
507
+ msgid "Cache"
508
+ msgstr ""
509
+
510
+ #: classes/settings.class.php:925
511
+ msgid "Use this tool to clear the CSS cache."
512
+ msgstr "با این ابزار کش استایل را پاک کنید"
513
+
514
+ #: classes/settings.class.php:932
515
+ msgid "Clear CSS Cache"
516
+ msgstr "پاک کردن کش استایل مرورگر"
517
+
518
+ #: classes/settings.class.php:938
519
+ msgid "Plugin Data"
520
+ msgstr "اطلاعات افزونه"
521
+
522
+ #: classes/settings.class.php:939
523
+ msgid ""
524
+ "Delete all saved Max Mega Menu plugin data from the database. Use with "
525
+ "caution!"
526
+ msgstr "تمام اطلاعات افزونه را ازوی دیتابیس پاک می کند."
527
+
528
+ #: classes/settings.class.php:946
529
+ msgid "Delete Data"
530
+ msgstr "پاک کردن اطلاعات"
531
+
532
+ #: classes/settings.class.php:952 classes/settings.class.php:1021
533
+ msgid "Export Theme"
534
+ msgstr "خروجی پوسته"
535
+
536
+ #: classes/settings.class.php:953
537
+ msgid "Export a menu theme"
538
+ msgstr "استخراج یک پوسته منو"
539
+
540
+ #: classes/settings.class.php:981
541
+ msgid ""
542
+ "Log into the site you wish to import the theme to. Go to Mega Menu > Tools "
543
+ "and paste this into the 'Import Theme' text area:"
544
+ msgstr ""
545
+ "وارد سایت بشید و اطلاعات را درون رویز کنید در قسمت : مگامنو> ابراز و سپس کد "
546
+ "ها را قسمت درون ریزی پیاده کنید ."
547
+
548
+ #: classes/settings.class.php:990
549
+ msgid "Paste this code into your themes functions.php file:"
550
+ msgstr ""
551
+ "کد ها را درون فایل فانشن (فایل توابع پوسته ) functions.php پیاده کنید"
552
+
553
+ #: classes/settings.class.php:1017
554
+ msgid "Export Format"
555
+ msgstr "فرمت (نوع) استخراج"
556
+
557
+ #: classes/settings.class.php:1018
558
+ msgid "JSON - I want to import this theme into another site I'm developing"
559
+ msgstr ""
560
+ "JSON - می خواهم پوسته منو را به منوی سایت دیگرکه درحال توسعه است ببرم "
561
+ "(قابلیت ویرایش دارد)"
562
+
563
+ #: classes/settings.class.php:1019
564
+ msgid ""
565
+ "PHP - I want to distribute this Menu Theme in a WordPress Theme I'm "
566
+ "developing"
567
+ msgstr ""
568
+ "PHP - می خوام تم منو را به یک وردپرس دیگر ببرم ( قابلیت ویرایش ندارد )"
569
+
570
+ #: classes/settings.class.php:1031 classes/settings.class.php:1039
571
+ msgid "Import Theme"
572
+ msgstr "درون ریزی پوسته منو"
573
+
574
+ #: classes/settings.class.php:1032
575
+ msgid "Import a menu theme"
576
+ msgstr "درون ریزی یک پوسته منو"
577
+
578
+ #: classes/settings.class.php:1072
579
+ msgid "Homepage"
580
+ msgstr "صفحه خانه"
581
+
582
+ #: classes/settings.class.php:1077
583
+ msgid "Documentation"
584
+ msgstr "اسناد و راهنما ها"
585
+
586
+ #: classes/settings.class.php:1087
587
+ msgid "Upgrade to Pro - $19"
588
+ msgstr "تبدیل شدن به حرفه ای - 9 دلار = 36 هزار تومان"
589
+
590
+ #: classes/settings.class.php:1095
591
+ msgid "Core version"
592
+ msgstr ""
593
+
594
+ #: classes/settings.class.php:1099
595
+ msgid "Pro extension"
596
+ msgstr ""
597
+
598
+ #: classes/settings.class.php:1232
599
+ msgid "Failed to delete theme. The theme is in use by a menu."
600
+ msgstr "در پاک کردن شکست خوردید .این پوسته درحال استفاده است"
601
+
602
+ #: classes/settings.class.php:1236
603
+ msgid "CSS cache cleared"
604
+ msgstr "پاک کردن کش استایل"
605
+
606
+ #: classes/settings.class.php:1240
607
+ msgid "All plugin data removed"
608
+ msgstr "تمام اطلاعات افزونه را پاک کن"
609
+
610
+ #: classes/settings.class.php:1244
611
+ msgid "Theme Deleted"
612
+ msgstr "حذف پوسته"
613
+
614
+ #: classes/settings.class.php:1248
615
+ msgid "Theme Duplicated"
616
+ msgstr "کپی کردن پوسته"
617
+
618
+ #: classes/settings.class.php:1252
619
+ msgid "Changes Saved"
620
+ msgstr "تغییر دخیره"
621
+
622
+ #: classes/settings.class.php:1256
623
+ msgid "Theme Reverted"
624
+ msgstr ""
625
+
626
+ #: classes/settings.class.php:1260
627
+ msgid "New Theme Created"
628
+ msgstr "ساخت یک پوسته جدید"
629
+
630
+ #: classes/settings.class.php:1264
631
+ msgid "New Menu Location Created"
632
+ msgstr "ساخت یک مکان جدید"
633
+
634
+ #: classes/settings.class.php:1268
635
+ msgid "Menu Location Deleted"
636
+ msgstr "حذف مکان منو"
637
+
638
+ #: classes/settings.class.php:1272
639
+ msgid "Theme Imported"
640
+ msgstr "پوسته درون ریزی شد."
641
+
642
+ #: classes/settings.class.php:1276
643
+ msgid "Theme Import Failed"
644
+ msgstr "درون ریزی با شکست روبرو شد"
645
+
646
+ #: classes/settings.class.php:1280
647
+ msgid "Theme Exported"
648
+ msgstr "پوسته برون بری شد"
649
+
650
+ #: classes/settings.class.php:1383
651
+ msgid "Select theme to edit"
652
+ msgstr "انتخاب پوسته برای ویرایش"
653
+
654
+ #: classes/settings.class.php:1383 classes/settings.class.php:1384
655
+ msgid "or"
656
+ msgstr "یا"
657
+
658
+ #: classes/settings.class.php:1384
659
+ msgid "create a new theme"
660
+ msgstr "ساخت یک پوسته"
661
+
662
+ #: classes/settings.class.php:1385
663
+ msgid "duplicate this theme"
664
+ msgstr "این پوسته را کپی کنید"
665
+
666
+ #: classes/settings.class.php:1388
667
+ msgid "Editing theme"
668
+ msgstr "پوسته را ویرایش کنید"
669
+
670
+ #: classes/settings.class.php:1400
671
+ msgid "General Theme Settings"
672
+ msgstr "تنظیمات عمومی پوسته"
673
+
674
+ #: classes/settings.class.php:1404
675
+ msgid "Theme Title"
676
+ msgstr "عنوان پوسته"
677
+
678
+ #: classes/settings.class.php:1416
679
+ msgid "Arrow"
680
+ msgstr "اشاره گر ها"
681
+
682
+ #: classes/settings.class.php:1417
683
+ msgid "Select the arrow styles."
684
+ msgstr "اشاره گر را انتخاب کنید"
685
+
686
+ #: classes/settings.class.php:1420
687
+ msgid "Up"
688
+ msgstr "بالا"
689
+
690
+ #: classes/settings.class.php:1425
691
+ msgid "Down"
692
+ msgstr "پایین"
693
+
694
+ #: classes/settings.class.php:1443
695
+ msgid "Line Height"
696
+ msgstr "ارتفاع خط"
697
+
698
+ #: classes/settings.class.php:1444
699
+ msgid "Set the general line height to use in the panel contents."
700
+ msgstr "تنظیم ارتفاع خط کلی برای استفاده در محتویات پنل."
701
+
702
+ #: classes/settings.class.php:1455
703
+ msgid "Z Index"
704
+ msgstr ""
705
+
706
+ #: classes/settings.class.php:1456
707
+ msgid "Set the z-index to ensure the panels appear ontop of other content."
708
+ msgstr "تنظیم Z- index برای اطمینان از پانل در بالای مطالب دیگر ظاهر می شود."
709
+
710
+ #: classes/settings.class.php:1468
711
+ msgid "Shadow"
712
+ msgstr "سایه"
713
+
714
+ #: classes/settings.class.php:1469
715
+ msgid "Apply a shadow to mega and flyout menus."
716
+ msgstr "اعمال سایه به مگا و منوها flyout."
717
+
718
+ #: classes/settings.class.php:1472 classes/settings.class.php:1513
719
+ #: classes/settings.class.php:1525 classes/settings.class.php:1869
720
+ #: classes/settings.class.php:1892 classes/settings.class.php:2801
721
+ msgid "Enabled"
722
+ msgstr "فعال"
723
+
724
+ #: classes/settings.class.php:1477
725
+ msgid "Horizontal"
726
+ msgstr "افقی"
727
+
728
+ #: classes/settings.class.php:1483
729
+ msgid "Vertical"
730
+ msgstr "عمودی"
731
+
732
+ #: classes/settings.class.php:1489
733
+ msgid "Blur"
734
+ msgstr "تیرگی"
735
+
736
+ #: classes/settings.class.php:1495
737
+ msgid "Spread"
738
+ msgstr ""
739
+
740
+ #: classes/settings.class.php:1501 classes/settings.class.php:1699
741
+ #: classes/settings.class.php:1737 classes/settings.class.php:1790
742
+ #: classes/settings.class.php:1826 classes/settings.class.php:1874
743
+ #: classes/settings.class.php:1978 classes/settings.class.php:2076
744
+ #: classes/settings.class.php:2114 classes/settings.class.php:2199
745
+ #: classes/settings.class.php:2240 classes/settings.class.php:2278
746
+ #: classes/settings.class.php:2379 classes/settings.class.php:2420
747
+ #: classes/settings.class.php:2458 classes/settings.class.php:2596
748
+ #: classes/settings.class.php:2741 classes/settings.class.php:2779
749
+ #: classes/settings.class.php:2806
750
+ msgid "Color"
751
+ msgstr "رنگ"
752
+
753
+ #: classes/settings.class.php:1509
754
+ msgid "Hover Transitions"
755
+ msgstr ""
756
+
757
+ #: classes/settings.class.php:1510
758
+ msgid ""
759
+ "Apply hover transitions to menu items. Note: Transitions will not apply to "
760
+ "gradient backgrounds."
761
+ msgstr ""
762
+ "درخواست انتقال شناور به آیتم های منو. توجه داشته باشید: انتقال نمی خواهد به "
763
+ "پس زمینه شیب اعمال می شود."
764
+
765
+ #: classes/settings.class.php:1521
766
+ msgid "Reset Widget Styling"
767
+ msgstr "تنظیم مجدد ویجت یک ظاهر طراحی شده"
768
+
769
+ #: classes/settings.class.php:1522
770
+ msgid "Reset the styling of widgets within the mega menu?"
771
+ msgstr "تنظیم مجدد شود ظاهر طراحی شده از ویدجت در مگا منو؟"
772
+
773
+ #: classes/settings.class.php:1534
774
+ msgid "Menu Bar"
775
+ msgstr "نوار منو"
776
+
777
+ #: classes/settings.class.php:1538 classes/settings.class.php:2529
778
+ msgid "Menu Background"
779
+ msgstr "پسزمینه منو"
780
+
781
+ #: classes/settings.class.php:1539
782
+ msgid ""
783
+ "The background color for the main menu bar. Set each value to transparent "
784
+ "for a 'button' style menu."
785
+ msgstr ""
786
+ "رنگ پس زمینه برای نوار منوی اصلی. تنظیم هر یک ارزش به شفاف برای 'دکمه' منو "
787
+ "به سبک."
788
+
789
+ #: classes/settings.class.php:1542 classes/settings.class.php:1639
790
+ #: classes/settings.class.php:1656 classes/settings.class.php:1909
791
+ #: classes/settings.class.php:2300 classes/settings.class.php:2480
792
+ #: classes/settings.class.php:2533 classes/settings.class.php:2663
793
+ #: classes/settings.class.php:2680 classes/settings.class.php:2858
794
+ msgid "From"
795
+ msgstr "از"
796
+
797
+ #: classes/settings.class.php:1547 classes/settings.class.php:1644
798
+ #: classes/settings.class.php:1661 classes/settings.class.php:1914
799
+ #: classes/settings.class.php:2305 classes/settings.class.php:2485
800
+ #: classes/settings.class.php:2538 classes/settings.class.php:2668
801
+ #: classes/settings.class.php:2685 classes/settings.class.php:2863
802
+ msgid "To"
803
+ msgstr "به"
804
+
805
+ #: classes/settings.class.php:1555 classes/settings.class.php:2560
806
+ msgid "Menu Padding"
807
+ msgstr "padding منو"
808
+
809
+ #: classes/settings.class.php:1556
810
+ msgid "Padding for the main menu bar."
811
+ msgstr ""
812
+
813
+ #: classes/settings.class.php:1559 classes/settings.class.php:1759
814
+ #: classes/settings.class.php:1795 classes/settings.class.php:1947
815
+ #: classes/settings.class.php:1983 classes/settings.class.php:2045
816
+ #: classes/settings.class.php:2137 classes/settings.class.php:2168
817
+ #: classes/settings.class.php:2204 classes/settings.class.php:2317
818
+ #: classes/settings.class.php:2348 classes/settings.class.php:2384
819
+ #: classes/settings.class.php:2497 classes/settings.class.php:2565
820
+ #: classes/settings.class.php:2601 classes/settings.class.php:2710
821
+ msgid "Top"
822
+ msgstr "بالا"
823
+
824
+ #: classes/settings.class.php:1571 classes/settings.class.php:1771
825
+ #: classes/settings.class.php:1807 classes/settings.class.php:1959
826
+ #: classes/settings.class.php:1995 classes/settings.class.php:2057
827
+ #: classes/settings.class.php:2149 classes/settings.class.php:2180
828
+ #: classes/settings.class.php:2216 classes/settings.class.php:2329
829
+ #: classes/settings.class.php:2360 classes/settings.class.php:2396
830
+ #: classes/settings.class.php:2509 classes/settings.class.php:2577
831
+ #: classes/settings.class.php:2613 classes/settings.class.php:2722
832
+ msgid "Bottom"
833
+ msgstr "پایین"
834
+
835
+ #: classes/settings.class.php:1586 classes/settings.class.php:2628
836
+ msgid "Menu Border Radius"
837
+ msgstr ""
838
+
839
+ #: classes/settings.class.php:1587
840
+ msgid "Set a border radius on the main menu bar."
841
+ msgstr ""
842
+
843
+ #: classes/settings.class.php:1590 classes/settings.class.php:1838
844
+ #: classes/settings.class.php:2014 classes/settings.class.php:2632
845
+ msgid "Top Left"
846
+ msgstr "بالا چپ"
847
+
848
+ #: classes/settings.class.php:1596 classes/settings.class.php:1844
849
+ #: classes/settings.class.php:2020 classes/settings.class.php:2638
850
+ msgid "Top Right"
851
+ msgstr "بالا راست"
852
+
853
+ #: classes/settings.class.php:1602 classes/settings.class.php:1850
854
+ #: classes/settings.class.php:2026 classes/settings.class.php:2644
855
+ msgid "Bottom Right"
856
+ msgstr "پایین راست"
857
+
858
+ #: classes/settings.class.php:1608 classes/settings.class.php:1856
859
+ #: classes/settings.class.php:2032 classes/settings.class.php:2650
860
+ msgid "Bottom Left"
861
+ msgstr "پایین چپ"
862
+
863
+ #: classes/settings.class.php:1617
864
+ msgid "Menu Items Align"
865
+ msgstr "چینش عناصر منو"
866
+
867
+ #: classes/settings.class.php:1618
868
+ msgid ""
869
+ "Align <i>all</i> menu items to the left (default), centrally or to the right."
870
+ msgstr ""
871
+
872
+ #: classes/settings.class.php:1619
873
+ msgid ""
874
+ "This option will apply to all menu items. To align an individual menu item "
875
+ "to the right, edit the menu item itself and set 'Menu Item Align' to 'Right'."
876
+ msgstr ""
877
+
878
+ #: classes/settings.class.php:1630
879
+ msgid "Top Level Menu Items"
880
+ msgstr ""
881
+
882
+ #: classes/settings.class.php:1635
883
+ msgid "Menu Item Background"
884
+ msgstr ""
885
+
886
+ #: classes/settings.class.php:1636
887
+ msgid ""
888
+ "The background color for each top level menu item. Tip: Set these values to "
889
+ "transparent if you've already set a background color on the menu bar."
890
+ msgstr ""
891
+
892
+ #: classes/settings.class.php:1652
893
+ msgid "Menu Item Background (Hover)"
894
+ msgstr ""
895
+
896
+ #: classes/settings.class.php:1653
897
+ msgid "The background color for a top level menu item (on hover)."
898
+ msgstr ""
899
+
900
+ #: classes/settings.class.php:1669
901
+ msgid "Menu Item Spacing"
902
+ msgstr ""
903
+
904
+ #: classes/settings.class.php:1670
905
+ msgid "Define the size of the gap between each top level menu item."
906
+ msgstr ""
907
+
908
+ #: classes/settings.class.php:1682 classes/settings.class.php:2895
909
+ msgid "Menu Item Height"
910
+ msgstr ""
911
+
912
+ #: classes/settings.class.php:1683
913
+ msgid ""
914
+ "Define the height of each top level menu item. This value, plus the "
915
+ "container top and bottom padding values define the overall height of the "
916
+ "menu bar."
917
+ msgstr ""
918
+
919
+ #: classes/settings.class.php:1695 classes/settings.class.php:2236
920
+ #: classes/settings.class.php:2416
921
+ msgid "Font"
922
+ msgstr ""
923
+
924
+ #: classes/settings.class.php:1696
925
+ msgid "The font to use for each top level menu item."
926
+ msgstr ""
927
+
928
+ #: classes/settings.class.php:1704 classes/settings.class.php:2081
929
+ #: classes/settings.class.php:2119 classes/settings.class.php:2245
930
+ #: classes/settings.class.php:2425 classes/settings.class.php:2746
931
+ msgid "Size"
932
+ msgstr ""
933
+
934
+ #: classes/settings.class.php:1710 classes/settings.class.php:2087
935
+ #: classes/settings.class.php:2125 classes/settings.class.php:2251
936
+ #: classes/settings.class.php:2431 classes/settings.class.php:2752
937
+ msgid "Family"
938
+ msgstr ""
939
+
940
+ #: classes/settings.class.php:1715 classes/settings.class.php:2092
941
+ #: classes/settings.class.php:2256 classes/settings.class.php:2436
942
+ #: classes/settings.class.php:2757
943
+ msgid "Transform"
944
+ msgstr ""
945
+
946
+ #: classes/settings.class.php:1720 classes/settings.class.php:1742
947
+ #: classes/settings.class.php:2097 classes/settings.class.php:2261
948
+ #: classes/settings.class.php:2283 classes/settings.class.php:2441
949
+ #: classes/settings.class.php:2463 classes/settings.class.php:2762
950
+ #: classes/settings.class.php:2784
951
+ msgid "Weight"
952
+ msgstr ""
953
+
954
+ #: classes/settings.class.php:1725 classes/settings.class.php:1747
955
+ #: classes/settings.class.php:2102 classes/settings.class.php:2266
956
+ #: classes/settings.class.php:2288 classes/settings.class.php:2446
957
+ #: classes/settings.class.php:2468 classes/settings.class.php:2767
958
+ #: classes/settings.class.php:2789
959
+ msgid "Decoration"
960
+ msgstr ""
961
+
962
+ #: classes/settings.class.php:1733 classes/settings.class.php:2274
963
+ #: classes/settings.class.php:2454
964
+ msgid "Font (Hover)"
965
+ msgstr ""
966
+
967
+ #: classes/settings.class.php:1734
968
+ msgid "Set the font to use for each top level menu item (on hover)."
969
+ msgstr ""
970
+
971
+ #: classes/settings.class.php:1755
972
+ msgid "Menu Item Padding"
973
+ msgstr ""
974
+
975
+ #: classes/settings.class.php:1756
976
+ msgid "Set the padding for each top level menu item."
977
+ msgstr ""
978
+
979
+ #: classes/settings.class.php:1786
980
+ msgid "Menu Item Border"
981
+ msgstr ""
982
+
983
+ #: classes/settings.class.php:1787
984
+ msgid "Set the border to display on each top level menu item."
985
+ msgstr ""
986
+
987
+ #: classes/settings.class.php:1822
988
+ msgid "Menu Item Border (Hover)"
989
+ msgstr ""
990
+
991
+ #: classes/settings.class.php:1823
992
+ msgid "Set the hover border color."
993
+ msgstr ""
994
+
995
+ #: classes/settings.class.php:1834
996
+ msgid "Menu Item Border Radius"
997
+ msgstr ""
998
+
999
+ #: classes/settings.class.php:1835
1000
+ msgid "Set rounded corners for each top level menu item."
1001
+ msgstr ""
1002
+
1003
+ #: classes/settings.class.php:1865
1004
+ msgid "Menu Item Divider"
1005
+ msgstr ""
1006
+
1007
+ #: classes/settings.class.php:1866
1008
+ msgid "Show a small divider bar between each menu item."
1009
+ msgstr ""
1010
+
1011
+ #: classes/settings.class.php:1879
1012
+ msgid "Glow Opacity"
1013
+ msgstr ""
1014
+
1015
+ #: classes/settings.class.php:1888
1016
+ msgid "Highlight Current Item"
1017
+ msgstr ""
1018
+
1019
+ #: classes/settings.class.php:1889
1020
+ msgid "Apply the 'hover' styling to current menu items."
1021
+ msgstr ""
1022
+
1023
+ #: classes/settings.class.php:1901
1024
+ msgid "Mega Menus"
1025
+ msgstr "مگامنو"
1026
+
1027
+ #: classes/settings.class.php:1905
1028
+ msgid "Panel Background"
1029
+ msgstr "پسزمینه پنل مگامنو"
1030
+
1031
+ #: classes/settings.class.php:1906
1032
+ msgid "Set a background color for a whole panel."
1033
+ msgstr "قرار دادن یک زنگ برای پسزمینه پنل مگامنو"
1034
+
1035
+ #: classes/settings.class.php:1922
1036
+ msgid "Panel Width"
1037
+ msgstr "عرض پنل"
1038
+
1039
+ #: classes/settings.class.php:1923
1040
+ msgid "Mega Panel width."
1041
+ msgstr "عرض مگامنو"
1042
+
1043
+ #: classes/settings.class.php:1925
1044
+ msgid ""
1045
+ "A 100% wide panel will only ever be as wide as the menu itself. For a fixed "
1046
+ "panel width set this to a pixel value."
1047
+ msgstr ""
1048
+ "100٪ پنل گسترده ای تنها به عنوان گسترده ای منو به خودی خود خواهد بود. برای "
1049
+ "یک پانل عرض ثابت این به مقدار پیکسل تنظیم شده است."
1050
+
1051
+ #: classes/settings.class.php:1926
1052
+ msgid ""
1053
+ "Advanced: Enter a jQuery selector to synchronize the width and position of "
1054
+ "the sub menu with existing page element (e.g. body, #container, .page)."
1055
+ msgstr ""
1056
+ "پیشرفته: یک انتخابگر جی کوئری را برای همزمان سازی عرض و موقعیت منو زیر با "
1057
+ "عنصر صفحه موجود (به عنوان مثال بدن، #container، .page) را وارد کنید."
1058
+
1059
+ #: classes/settings.class.php:1930
1060
+ msgid "Outer Width"
1061
+ msgstr "عرض بیرونی"
1062
+
1063
+ #: classes/settings.class.php:1935
1064
+ msgid "Inner Width"
1065
+ msgstr "عرض درونی"
1066
+
1067
+ #: classes/settings.class.php:1943
1068
+ msgid "Panel Padding"
1069
+ msgstr "پدینگ پنل Panel Padding"
1070
+
1071
+ #: classes/settings.class.php:1944
1072
+ msgid ""
1073
+ "Set the padding for the whole panel. Set these values 0px if you wish your "
1074
+ "panel content to go edge-to-edge."
1075
+ msgstr ""
1076
+ "تنظیم پد برای تمام پانل. تنظیم این مقادیر روی 0px اگر شما می خواهید محتوای "
1077
+ "پانل خود را برای رفتن لبه به لبه."
1078
+
1079
+ #: classes/settings.class.php:1974
1080
+ msgid "Panel Border"
1081
+ msgstr "حاشیه چنل"
1082
+
1083
+ #: classes/settings.class.php:1975
1084
+ msgid "Set the border to display on the Mega Panel."
1085
+ msgstr "تنظیم حاشیه برای نمایش در پنل مگامنو."
1086
+
1087
+ #: classes/settings.class.php:2010
1088
+ msgid "Panel Border Radius"
1089
+ msgstr "حاشیه شعاع پنل "
1090
+
1091
+ #: classes/settings.class.php:2011
1092
+ msgid "Set rounded corners for the panel."
1093
+ msgstr "تنظیم گوشه های گرد برای پنل."
1094
+
1095
+ #: classes/settings.class.php:2041
1096
+ msgid "Widget Padding"
1097
+ msgstr "Padding ویجت"
1098
+
1099
+ #: classes/settings.class.php:2042
1100
+ msgid "Use this to define the spacing between each widget in the panel."
1101
+ msgstr "با استفاده از این تعریف فاصله بین هر یک ویجت در پنل."
1102
+
1103
+ #: classes/settings.class.php:2072
1104
+ msgid "Widget Heading Font"
1105
+ msgstr "فونت سرنویس ویجت"
1106
+
1107
+ #: classes/settings.class.php:2073
1108
+ msgid ""
1109
+ "Set the font to use Widget headers in the mega menu. Tip: set this to the "
1110
+ "same style as the Second Level Menu Item Header font to keep your styling "
1111
+ "consistent."
1112
+ msgstr ""
1113
+ "مجموعه ای از فونت استفاده هدر ویجت در مگا منو. نکته: این به همان سبک در سطح "
1114
+ "دوم منو فونت هدر تنظیم برای نگه داشتن یک ظاهر طراحی شده خود را سازگار."
1115
+
1116
+ #: classes/settings.class.php:2110
1117
+ msgid "Widget Content Font"
1118
+ msgstr "قلم محتوا ویجت"
1119
+
1120
+ #: classes/settings.class.php:2111
1121
+ msgid "Set the font to use for panel contents."
1122
+ msgstr "مجموعه ای از فونت برای استفاده از محتویات پانل."
1123
+
1124
+ #: classes/settings.class.php:2133
1125
+ msgid "Widget Heading Padding"
1126
+ msgstr "Padding سرنویس ویجت"
1127
+
1128
+ #: classes/settings.class.php:2134
1129
+ msgid "Set the padding for the widget headings."
1130
+ msgstr "تنظیم پد برای عنوان ویجت."
1131
+
1132
+ #: classes/settings.class.php:2164
1133
+ msgid "Widget Heading Margin"
1134
+ msgstr "Margin سرنویس ویجت"
1135
+
1136
+ #: classes/settings.class.php:2165
1137
+ msgid "Set the margin for the widget headings."
1138
+ msgstr ""
1139
+
1140
+ #: classes/settings.class.php:2195
1141
+ msgid "Widget Header Border"
1142
+ msgstr ""
1143
+
1144
+ #: classes/settings.class.php:2196
1145
+ msgid "Set the border for the widget headings."
1146
+ msgstr ""
1147
+
1148
+ #: classes/settings.class.php:2231
1149
+ msgid "Second Level Menu Items"
1150
+ msgstr ""
1151
+
1152
+ #: classes/settings.class.php:2237
1153
+ msgid ""
1154
+ "Set the font for second level menu items when they're displayed in a Mega "
1155
+ "Menu."
1156
+ msgstr ""
1157
+
1158
+ #: classes/settings.class.php:2275 classes/settings.class.php:2455
1159
+ msgid "Set the font style on hover."
1160
+ msgstr ""
1161
+
1162
+ #: classes/settings.class.php:2296 classes/settings.class.php:2476
1163
+ msgid "Background (Hover)"
1164
+ msgstr ""
1165
+
1166
+ #: classes/settings.class.php:2297
1167
+ msgid "Set the background hover color for second level menu items."
1168
+ msgstr ""
1169
+
1170
+ #: classes/settings.class.php:2313 classes/settings.class.php:2493
1171
+ msgid "Padding"
1172
+ msgstr ""
1173
+
1174
+ #: classes/settings.class.php:2314
1175
+ msgid "Set the padding for the second level menu items."
1176
+ msgstr ""
1177
+
1178
+ #: classes/settings.class.php:2344
1179
+ msgid "Margin"
1180
+ msgstr ""
1181
+
1182
+ #: classes/settings.class.php:2345
1183
+ msgid "Set the margin for the second level menu items."
1184
+ msgstr ""
1185
+
1186
+ #: classes/settings.class.php:2375
1187
+ msgid "Border"
1188
+ msgstr ""
1189
+
1190
+ #: classes/settings.class.php:2376
1191
+ msgid "Set the border for the second level menu items."
1192
+ msgstr ""
1193
+
1194
+ #: classes/settings.class.php:2411
1195
+ msgid "Third Level Menu Items"
1196
+ msgstr ""
1197
+
1198
+ #: classes/settings.class.php:2417
1199
+ msgid ""
1200
+ "Set the font for third level menu items when they're displayed in a Mega "
1201
+ "Menu."
1202
+ msgstr ""
1203
+
1204
+ #: classes/settings.class.php:2477
1205
+ msgid "Set the background hover color for third level menu items."
1206
+ msgstr ""
1207
+
1208
+ #: classes/settings.class.php:2494
1209
+ msgid "Set the padding for the third level menu items."
1210
+ msgstr ""
1211
+
1212
+ #: classes/settings.class.php:2525
1213
+ msgid "Flyout Menus"
1214
+ msgstr ""
1215
+
1216
+ #: classes/settings.class.php:2530
1217
+ msgid "Set the background color for the flyout menu."
1218
+ msgstr ""
1219
+
1220
+ #: classes/settings.class.php:2546
1221
+ msgid "Menu Width"
1222
+ msgstr ""
1223
+
1224
+ #: classes/settings.class.php:2547
1225
+ msgid "The width of each flyout menu. This must be a fixed pixel value."
1226
+ msgstr ""
1227
+
1228
+ #: classes/settings.class.php:2548
1229
+ msgid ""
1230
+ "Set this value to the width of your longest menu item title to stop menu "
1231
+ "items wrapping onto 2 lines."
1232
+ msgstr ""
1233
+
1234
+ #: classes/settings.class.php:2561
1235
+ msgid "Set the padding for the whole flyout menu."
1236
+ msgstr ""
1237
+
1238
+ #: classes/settings.class.php:2562
1239
+ msgid ""
1240
+ "Only suitable for single level flyout menus. If you're using multi level "
1241
+ "flyout menus set these values to 0px."
1242
+ msgstr ""
1243
+
1244
+ #: classes/settings.class.php:2592
1245
+ msgid "Menu Border"
1246
+ msgstr ""
1247
+
1248
+ #: classes/settings.class.php:2593
1249
+ msgid "Set the border for the flyout menu."
1250
+ msgstr ""
1251
+
1252
+ #: classes/settings.class.php:2629
1253
+ msgid ""
1254
+ "Set rounded corners for flyout menus. Rounded corners will be applied to all "
1255
+ "flyout menu levels."
1256
+ msgstr ""
1257
+
1258
+ #: classes/settings.class.php:2659
1259
+ msgid "Item Background"
1260
+ msgstr ""
1261
+
1262
+ #: classes/settings.class.php:2660
1263
+ msgid "Set the background color for a flyout menu item."
1264
+ msgstr ""
1265
+
1266
+ #: classes/settings.class.php:2676
1267
+ msgid "Item Background (Hover)"
1268
+ msgstr ""
1269
+
1270
+ #: classes/settings.class.php:2677
1271
+ msgid "Set the background color for a flyout menu item (on hover)."
1272
+ msgstr ""
1273
+
1274
+ #: classes/settings.class.php:2693
1275
+ msgid "Item Height"
1276
+ msgstr ""
1277
+
1278
+ #: classes/settings.class.php:2694
1279
+ msgid "The height of each flyout menu item."
1280
+ msgstr ""
1281
+
1282
+ #: classes/settings.class.php:2706
1283
+ msgid "Item Padding"
1284
+ msgstr ""
1285
+
1286
+ #: classes/settings.class.php:2707
1287
+ msgid "Set the padding for each flyout menu item."
1288
+ msgstr ""
1289
+
1290
+ #: classes/settings.class.php:2737
1291
+ msgid "Item Font"
1292
+ msgstr ""
1293
+
1294
+ #: classes/settings.class.php:2738 classes/settings.class.php:2776
1295
+ msgid "Set the font for the flyout menu items."
1296
+ msgstr ""
1297
+
1298
+ #: classes/settings.class.php:2775
1299
+ msgid "Item Font (Hover)"
1300
+ msgstr ""
1301
+
1302
+ #: classes/settings.class.php:2797
1303
+ msgid "Item Divider"
1304
+ msgstr ""
1305
+
1306
+ #: classes/settings.class.php:2798
1307
+ msgid "Show a line divider below each menu item."
1308
+ msgstr ""
1309
+
1310
+ #: classes/settings.class.php:2815
1311
+ msgid "Mobile Menu"
1312
+ msgstr ""
1313
+
1314
+ #: classes/settings.class.php:2819
1315
+ msgid "Responsive Breakpoint"
1316
+ msgstr ""
1317
+
1318
+ #: classes/settings.class.php:2820
1319
+ msgid ""
1320
+ "Set the width at which the menu turns into a mobile menu. Set to 0px to "
1321
+ "disable responsive menu."
1322
+ msgstr ""
1323
+
1324
+ #: classes/settings.class.php:2854
1325
+ msgid "Toggle Bar Background"
1326
+ msgstr ""
1327
+
1328
+ #: classes/settings.class.php:2855
1329
+ msgid "Set the background color for the mobile menu toggle bar."
1330
+ msgstr ""
1331
+
1332
+ #: classes/settings.class.php:2871
1333
+ msgid "Toggle Bar Height"
1334
+ msgstr ""
1335
+
1336
+ #: classes/settings.class.php:2872
1337
+ msgid "Set the height of the mobile menu toggle bar."
1338
+ msgstr ""
1339
+
1340
+ #: classes/settings.class.php:2883
1341
+ msgid "Mega Menu Columns"
1342
+ msgstr ""
1343
+
1344
+ #: classes/settings.class.php:2884
1345
+ msgid "Number of columns to display widgets/second level menu items in."
1346
+ msgstr ""
1347
+
1348
+ #: classes/settings.class.php:2896
1349
+ msgid "Height of each top level item in the mobile menu."
1350
+ msgstr ""
1351
+
1352
+ #: classes/settings.class.php:2908
1353
+ msgid "Custom Styling"
1354
+ msgstr ""
1355
+
1356
+ #: classes/settings.class.php:2912
1357
+ msgid "CSS Editor"
1358
+ msgstr ""
1359
+
1360
+ #: classes/settings.class.php:2913
1361
+ msgid ""
1362
+ "Define any custom CSS you wish to add to menus using this theme. You can use "
1363
+ "standard CSS or SCSS."
1364
+ msgstr ""
1365
+
1366
+ #: classes/settings.class.php:3012
1367
+ msgid "Enter a whole number (e.g. 1, 5, 100, 999)"
1368
+ msgstr ""
1369
+
1370
+ #: classes/settings.class.php:3016
1371
+ msgid "Enter a value including a unit (e.g. 10px, 10rem, 10%)"
1372
+ msgstr ""
1373
+
1374
+ #: classes/settings.class.php:3020
1375
+ msgid "Enter a valid number (e.g. 0.1, 1, 10, 999)"
1376
+ msgstr ""
1377
+
1378
+ #: classes/settings.class.php:3058
1379
+ msgid "Delete Theme"
1380
+ msgstr ""
1381
+
1382
+ #: classes/settings.class.php:3060
1383
+ msgid "Revert Theme"
1384
+ msgstr ""
1385
+
1386
+ #: classes/settings.class.php:3102
1387
+ msgid "Center"
1388
+ msgstr ""
1389
+
1390
+ #: classes/settings.class.php:3124
1391
+ msgid "1 Column"
1392
+ msgstr ""
1393
+
1394
+ #: classes/settings.class.php:3125
1395
+ msgid "2 Columns"
1396
+ msgstr ""
1397
+
1398
+ #: classes/settings.class.php:3147
1399
+ msgid "Underline"
1400
+ msgstr ""
1401
+
1402
+ #: classes/settings.class.php:3191 classes/toggle-blocks.class.php:593
1403
+ msgid "Disabled"
1404
+ msgstr ""
1405
+
1406
+ #: classes/settings.class.php:3248 classes/settings.class.php:3338
1407
+ msgid "Theme Default"
1408
+ msgstr ""
1409
+
1410
+ #: classes/settings.class.php:3249
1411
+ msgid "Light (300)"
1412
+ msgstr ""
1413
+
1414
+ #: classes/settings.class.php:3250
1415
+ msgid "Normal (400)"
1416
+ msgstr ""
1417
+
1418
+ #: classes/settings.class.php:3251
1419
+ msgid "Bold (700)"
1420
+ msgstr ""
1421
+
1422
+ #: classes/settings.class.php:3289
1423
+ msgid "Normal"
1424
+ msgstr ""
1425
+
1426
+ #: classes/settings.class.php:3290
1427
+ msgid "Capitalize"
1428
+ msgstr ""
1429
+
1430
+ #: classes/settings.class.php:3291
1431
+ msgid "Uppercase"
1432
+ msgstr ""
1433
+
1434
+ #: classes/settings.class.php:3292
1435
+ msgid "Lowercase"
1436
+ msgstr ""
1437
+
1438
+ #: classes/settings.class.php:3312
1439
+ msgid "Custom Styling Tips"
1440
+ msgstr ""
1441
+
1442
+ #: classes/settings.class.php:3314
1443
+ msgid ""
1444
+ "converts to the ID selector of the menu wrapper, e.g. div#mega-menu-wrap-"
1445
+ "primary"
1446
+ msgstr ""
1447
+
1448
+ #: classes/settings.class.php:3315
1449
+ msgid "converts to the ID selector of the menu, e.g. ul#mega-menu-primary"
1450
+ msgstr ""
1451
+
1452
+ #: classes/settings.class.php:3316
1453
+ msgid ""
1454
+ "Use @import rules to import CSS from other plugins or your theme directory, "
1455
+ "e.g:"
1456
+ msgstr ""
1457
+
1458
+ #: classes/settings.class.php:3448
1459
+ msgid "Are you sure?"
1460
+ msgstr ""
1461
+
1462
+ #: classes/style-manager.class.php:66
1463
+ msgid "Default"
1464
+ msgstr ""
1465
+
1466
+ #: classes/style-manager.class.php:564
1467
+ msgid ""
1468
+ "Warning: CSS compilation failed. Please check your changes or revert the "
1469
+ "theme."
1470
+ msgstr ""
1471
+
1472
+ #: classes/toggle-blocks.class.php:195
1473
+ msgid "Toggle Bar Designer"
1474
+ msgstr ""
1475
+
1476
+ #: classes/toggle-blocks.class.php:196
1477
+ msgid "Configure the contents of the mobile toggle bar"
1478
+ msgstr ""
1479
+
1480
+ #: classes/toggle-blocks.class.php:404
1481
+ msgid "Add block to toggle bar"
1482
+ msgstr ""
1483
+
1484
+ #: classes/toggle-blocks.class.php:405 classes/toggle-blocks.class.php:538
1485
+ msgid "Menu Toggle"
1486
+ msgstr ""
1487
+
1488
+ #: classes/toggle-blocks.class.php:406 classes/toggle-blocks.class.php:495
1489
+ msgid "Spacer"
1490
+ msgstr ""
1491
+
1492
+ #: classes/toggle-blocks.class.php:497
1493
+ msgid "Spacer Settings"
1494
+ msgstr ""
1495
+
1496
+ #: classes/toggle-blocks.class.php:501
1497
+ msgid "Width"
1498
+ msgstr ""
1499
+
1500
+ #: classes/toggle-blocks.class.php:503 classes/toggle-blocks.class.php:571
1501
+ #: classes/widget-manager.class.php:593
1502
+ msgid "Delete"
1503
+ msgstr ""
1504
+
1505
+ #: classes/toggle-blocks.class.php:540
1506
+ msgid "Menu Toggle Settings"
1507
+ msgstr ""
1508
+
1509
+ #: classes/toggle-blocks.class.php:544
1510
+ msgid "Closed Text"
1511
+ msgstr ""
1512
+
1513
+ #: classes/toggle-blocks.class.php:547
1514
+ msgid "Open Text"
1515
+ msgstr ""
1516
+
1517
+ #: classes/toggle-blocks.class.php:550
1518
+ msgid "Closed Icon"
1519
+ msgstr ""
1520
+
1521
+ #: classes/toggle-blocks.class.php:554
1522
+ msgid "Open Icon"
1523
+ msgstr ""
1524
+
1525
+ #: classes/toggle-blocks.class.php:558
1526
+ msgid "Text Color"
1527
+ msgstr ""
1528
+
1529
+ #: classes/toggle-blocks.class.php:562
1530
+ msgid "Icon Color"
1531
+ msgstr ""
1532
+
1533
+ #: classes/toggle-blocks.class.php:566
1534
+ msgid "Icon Position"
1535
+ msgstr ""
1536
+
1537
+ #: classes/toggle-blocks.class.php:567
1538
+ msgid "Before"
1539
+ msgstr ""
1540
+
1541
+ #: classes/toggle-blocks.class.php:568
1542
+ msgid "After"
1543
+ msgstr ""
1544
+
1545
+ #: classes/widget-manager.class.php:81
1546
+ msgid "Mega Menu Widgets"
1547
+ msgstr ""
1548
+
1549
+ #: classes/widget-manager.class.php:82
1550
+ msgid "Do not manually edit this area."
1551
+ msgstr ""
1552
+
1553
+ #: classes/widget-manager.class.php:121
1554
+ #, php-format
1555
+ msgid "Saved %s"
1556
+ msgstr ""
1557
+
1558
+ #: classes/widget-manager.class.php:123
1559
+ #, php-format
1560
+ msgid "Failed to save %s"
1561
+ msgstr ""
1562
+
1563
+ #: classes/widget-manager.class.php:144 classes/widget-manager.class.php:167
1564
+ #, php-format
1565
+ msgid "Updated %s (new columns: %d)"
1566
+ msgstr ""
1567
+
1568
+ #: classes/widget-manager.class.php:146 classes/widget-manager.class.php:169
1569
+ #, php-format
1570
+ msgid "Failed to update %s"
1571
+ msgstr ""
1572
+
1573
+ #: classes/widget-manager.class.php:193
1574
+ #, php-format
1575
+ msgid "Failed to add %s to %d"
1576
+ msgstr ""
1577
+
1578
+ #: classes/widget-manager.class.php:213
1579
+ #, php-format
1580
+ msgid "Deleted %s"
1581
+ msgstr ""
1582
+
1583
+ #: classes/widget-manager.class.php:215
1584
+ #, php-format
1585
+ msgid "Failed to delete %s"
1586
+ msgstr ""
1587
+
1588
+ #: classes/widget-manager.class.php:239
1589
+ #, php-format
1590
+ msgid "Moved (%s)"
1591
+ msgstr ""
1592
+
1593
+ #: classes/widget-manager.class.php:241
1594
+ msgid "Didn't move items"
1595
+ msgstr ""
1596
+
1597
+ #: classes/widget-manager.class.php:594
1598
+ msgid "Close"
1599
+ msgstr "بستن :"
1600
+
1601
+ #: classes/widget.class.php:21
1602
+ msgid "Outputs a menu for a selected theme location."
1603
+ msgstr ""
1604
+
1605
+ #: classes/widget.class.php:97
1606
+ msgid "Title:"
1607
+ msgstr "عنوان :"
1608
+
1609
+ #: classes/widget.class.php:100
1610
+ msgid "Menu Location:"
1611
+ msgstr "مکان مگامنو"
1612
+
1613
+ #: classes/widget.class.php:109
1614
+ msgid "No menu locations found"
1615
+ msgstr ""
1616
+
1617
+ #: megamenu.php:147
1618
+ msgid "Go Pro"
1619
+ msgstr "خرید افزونه حرفه ای"
1620
+
1621
+ #: megamenu.php:762
1622
+ msgid ""
1623
+ "Max Mega Menu is not compatible with your version of WordPress. Please "
1624
+ "upgrade WordPress to the latest version or disable Max Mega Menu."
1625
+ msgstr ""
1626
+
1627
+ #: megamenu.php:774
1628
+ msgid "click here"
1629
+ msgstr "اینجا کلیک کنید"
1630
+
1631
+ #: megamenu.php:777
1632
+ #, php-format
1633
+ msgid "Thanks for installing Max Mega Menu! Please %s to get started."
1634
+ msgstr ""
1635
+
1636
+ #: megamenu.php:798
1637
+ msgid "clear the CSS cache"
1638
+ msgstr ""
1639
+
1640
+ #: megamenu.php:801
1641
+ #, php-format
1642
+ msgid ""
1643
+ "Max Mega Menu has been updated. Please %s to ensure maximum compatibility "
1644
+ "with the latest version."
1645
+ msgstr ""
1646
+
1647
+ #. Plugin URI of the plugin/theme
1648
+ #. Author URI of the plugin/theme
1649
+ msgid "https://www.maxmegamenu.com"
1650
+ msgstr ""
1651
+
1652
+ #. Description of the plugin/theme
1653
+ msgid "Mega Menu for WordPress."
1654
+ msgstr "مگامنو برای وردپرس "
1655
+
1656
+ #. Author of the plugin/theme
1657
+ msgid "Tom Hemsley"
1658
+ msgstr "نویسنده : Tom Hemsley | ترجمه : ایمن فراست"
megamenu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.maxmegamenu.com
6
  * Description: Mega Menu for WordPress.
7
- * Version: 2.2.1
8
  * Author: Tom Hemsley
9
  * Author URI: https://www.maxmegamenu.com
10
  * License: GPL-2.0+
@@ -26,7 +26,7 @@ final class Mega_Menu {
26
  /**
27
  * @var string
28
  */
29
- public $version = '2.2.1';
30
 
31
 
32
  /**
@@ -112,11 +112,11 @@ final class Mega_Menu {
112
  do_action( 'admin_enqueue_scripts', 'widgets.php' );
113
  do_action( 'admin_print_styles-widgets.php' );
114
 
115
- do_action("megamenu_nav_menus_scripts", $hook );
116
  }
117
 
118
  if ( strpos( $hook, 'maxmegamenu' ) !== false ) {
119
- do_action("megamenu_admin_scripts", $hook );
120
  }
121
 
122
  }
@@ -281,8 +281,7 @@ final class Mega_Menu {
281
  'mega_menu_settings' => MEGAMENU_PATH . 'classes/settings.class.php',
282
  'mega_menu_widget' => MEGAMENU_PATH . 'classes/widget.class.php',
283
  'mega_menu_toggle_blocks' => MEGAMENU_PATH . 'classes/toggle-blocks.class.php',
284
- 'scssc' => MEGAMENU_PATH . 'classes/scssc.inc.php',
285
-
286
  );
287
 
288
  }
@@ -410,7 +409,7 @@ final class Mega_Menu {
410
  foreach ( $items as $item ) {
411
 
412
  // only look for widgets on top level items
413
- if ( $item->depth === 0 && $item->megamenu_settings['type'] == 'megamenu' ) {
414
 
415
  $panel_widgets = $widget_manager->get_widgets_for_menu_id( $item->ID, $args->menu );
416
 
@@ -430,18 +429,18 @@ final class Mega_Menu {
430
  ) );
431
 
432
  $menu_item = array(
433
- 'type' => 'widget',
434
- 'in_megamenu' => true,
435
- 'title' => $widget['id'],
436
- 'content' => $widget_manager->show_widget( $widget['id'] ),
437
- 'menu_item_parent' => $item->ID,
438
- 'db_id' => 0, // This menu item does not have any childen
439
- 'ID' => $widget['id'],
440
- 'menu_order' => $next_order - $total_widgets_in_menu + $widget_position,
441
- 'megamenu_order' => $widget['order'],
442
- 'megamenu_settings' => $widget_settings,
443
- 'depth' => 1,
444
- 'classes' => array(
445
  "menu-item",
446
  "menu-item-type-widget",
447
  "menu-widget-class-" . $widget_manager->get_widget_class( $widget['id'] )
@@ -516,8 +515,8 @@ final class Mega_Menu {
516
  * @return array
517
  */
518
  public function setup_menu_items( $items, $args ) {
519
-
520
  // apply depth
 
521
  $parents = array();
522
 
523
  foreach ( $items as $key => $item ) {
@@ -535,29 +534,24 @@ final class Mega_Menu {
535
  }
536
  }
537
 
 
538
  // apply saved metadata to each menu item
539
  foreach ( $items as $item ) {
540
-
541
  $saved_settings = array_filter( (array) get_post_meta( $item->ID, '_megamenu', true ) );
542
 
543
  $item->megamenu_settings = array_merge( Mega_Menu_Nav_Menus::get_menu_item_defaults(), $saved_settings );
544
  $item->megamenu_order = isset( $item->megamenu_settings['mega_menu_order'][$item->menu_item_parent] ) ? $item->megamenu_settings['mega_menu_order'][$item->menu_item_parent] : 0;
545
- $item->in_megamenu = false;
546
  $item->menu_order = $item->menu_order * 1000;
547
 
548
- // add in_megamenu
549
  if ( $item->depth == 1 ) {
550
-
551
  $parent_settings = array_filter( (array) get_post_meta( $item->menu_item_parent, '_megamenu', true ) );
552
 
553
- if ( isset( $parent_settings['type'] ) && $parent_settings['type'] == 'megamenu' ) {
554
-
555
- $item->in_megamenu = true;
556
-
557
  }
558
-
559
  }
560
-
561
  }
562
 
563
  return $items;
@@ -579,7 +573,7 @@ final class Mega_Menu {
579
  // reorder menu items within mega menus based on internal ordering
580
  foreach ( $items as $item ) {
581
  // items ordered with 'forced' ordering
582
- if ( $item->in_megamenu && isset( $item->megamenu_order ) && $item->megamenu_order !== 0 ) {
583
  $parent_post = get_post( $item->menu_item_parent );
584
  $item->menu_order = $parent_post->menu_order * 1000 + $item->megamenu_order;
585
  }
@@ -645,7 +639,7 @@ final class Mega_Menu {
645
  }
646
 
647
  // add column classes for second level menu items displayed in mega menus
648
- if ( $item->in_megamenu === true ) {
649
 
650
  $parent_settings = array_filter( (array) get_post_meta( $item->menu_item_parent, '_megamenu', true ) );
651
  $parent_settings = array_merge( Mega_Menu_Nav_Menus::get_menu_item_defaults(), $parent_settings );
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.maxmegamenu.com
6
  * Description: Mega Menu for WordPress.
7
+ * Version: 2.2.2
8
  * Author: Tom Hemsley
9
  * Author URI: https://www.maxmegamenu.com
10
  * License: GPL-2.0+
26
  /**
27
  * @var string
28
  */
29
+ public $version = '2.2.2';
30
 
31
 
32
  /**
112
  do_action( 'admin_enqueue_scripts', 'widgets.php' );
113
  do_action( 'admin_print_styles-widgets.php' );
114
 
115
+ do_action( 'megamenu_nav_menus_scripts', $hook );
116
  }
117
 
118
  if ( strpos( $hook, 'maxmegamenu' ) !== false ) {
119
+ do_action( 'megamenu_admin_scripts', $hook );
120
  }
121
 
122
  }
281
  'mega_menu_settings' => MEGAMENU_PATH . 'classes/settings.class.php',
282
  'mega_menu_widget' => MEGAMENU_PATH . 'classes/widget.class.php',
283
  'mega_menu_toggle_blocks' => MEGAMENU_PATH . 'classes/toggle-blocks.class.php',
284
+ 'scssc' => MEGAMENU_PATH . 'classes/scssc.inc.php'
 
285
  );
286
 
287
  }
409
  foreach ( $items as $item ) {
410
 
411
  // only look for widgets on top level items
412
+ if ( $item->depth === 0 && $item->megamenu_settings['type'] == 'megamenu' || $item->depth === 1 && $item->parent_submenu_type == 'tabbed' ) {
413
 
414
  $panel_widgets = $widget_manager->get_widgets_for_menu_id( $item->ID, $args->menu );
415
 
429
  ) );
430
 
431
  $menu_item = array(
432
+ 'type' => 'widget',
433
+ 'parent_submenu_type' => 'megamenu',
434
+ 'title' => $widget['id'],
435
+ 'content' => $widget_manager->show_widget( $widget['id'] ),
436
+ 'menu_item_parent' => $item->ID,
437
+ 'db_id' => 0, // This menu item does not have any childen
438
+ 'ID' => $widget['id'],
439
+ 'menu_order' => $next_order - $total_widgets_in_menu + $widget_position,
440
+ 'megamenu_order' => $widget['order'],
441
+ 'megamenu_settings' => $widget_settings,
442
+ 'depth' => 1,
443
+ 'classes' => array(
444
  "menu-item",
445
  "menu-item-type-widget",
446
  "menu-widget-class-" . $widget_manager->get_widget_class( $widget['id'] )
515
  * @return array
516
  */
517
  public function setup_menu_items( $items, $args ) {
 
518
  // apply depth
519
+ // @todo work out a better way to do this. Suggestions welcome..!
520
  $parents = array();
521
 
522
  foreach ( $items as $key => $item ) {
534
  }
535
  }
536
 
537
+
538
  // apply saved metadata to each menu item
539
  foreach ( $items as $item ) {
 
540
  $saved_settings = array_filter( (array) get_post_meta( $item->ID, '_megamenu', true ) );
541
 
542
  $item->megamenu_settings = array_merge( Mega_Menu_Nav_Menus::get_menu_item_defaults(), $saved_settings );
543
  $item->megamenu_order = isset( $item->megamenu_settings['mega_menu_order'][$item->menu_item_parent] ) ? $item->megamenu_settings['mega_menu_order'][$item->menu_item_parent] : 0;
544
+ $item->parent_submenu_type = 'flyout';
545
  $item->menu_order = $item->menu_order * 1000;
546
 
547
+ // add parent mega menu type
548
  if ( $item->depth == 1 ) {
 
549
  $parent_settings = array_filter( (array) get_post_meta( $item->menu_item_parent, '_megamenu', true ) );
550
 
551
+ if ( isset( $parent_settings['type'] ) ) {
552
+ $item->parent_submenu_type = $parent_settings['type'];
 
 
553
  }
 
554
  }
 
555
  }
556
 
557
  return $items;
573
  // reorder menu items within mega menus based on internal ordering
574
  foreach ( $items as $item ) {
575
  // items ordered with 'forced' ordering
576
+ if ( $item->parent_submenu_type == 'megamenu' && isset( $item->megamenu_order ) && $item->megamenu_order !== 0 ) {
577
  $parent_post = get_post( $item->menu_item_parent );
578
  $item->menu_order = $parent_post->menu_order * 1000 + $item->megamenu_order;
579
  }
639
  }
640
 
641
  // add column classes for second level menu items displayed in mega menus
642
+ if ( $item->parent_submenu_type == 'megamenu' ) {
643
 
644
  $parent_settings = array_filter( (array) get_post_meta( $item->menu_item_parent, '_megamenu', true ) );
645
  $parent_settings = array_merge( Mega_Menu_Nav_Menus::get_menu_item_defaults(), $parent_settings );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: megamenu
3
  Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
4
  Requires at least: 3.8
5
  Tested up to: 4.5
6
- Stable tag: 2.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -40,15 +40,16 @@ Documentation & Demo: https://www.maxmegamenu.com
40
  ####Pro Features:
41
 
42
  > * Sticky Menu
43
- > * WooCommerce cart total in menu
44
- > * Easy Digital Downloads cart total in menu
45
  > * Vertical Menus
46
- > * FontAwesome Icons
 
47
  > * Custom Item Styling
 
 
 
48
  > * Google Fonts
49
- > * Genericon Icons
50
- > * Custom Icons (from Media Library)
51
  > * Roles & Restrictions
 
52
  > * Automatic updates
53
  > * Priority Support
54
  >
@@ -62,6 +63,10 @@ Translations:
62
 
63
  == Frequently Asked Questions ==
64
 
 
 
 
 
65
  Getting started:
66
 
67
  https://www.maxmegamenu.com/documentation/getting-started/installation/
@@ -92,6 +97,14 @@ See https://www.maxmegamenu.com for more screenshots
92
 
93
  == Changelog ==
94
 
 
 
 
 
 
 
 
 
95
  = 2.2.1 =
96
 
97
  * Fix: Self closing div tag in toggle blocks
3
  Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
4
  Requires at least: 3.8
5
  Tested up to: 4.5
6
+ Stable tag: 2.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
40
  ####Pro Features:
41
 
42
  > * Sticky Menu
 
 
43
  > * Vertical Menus
44
+ > * Accordion Menus
45
+ > * FontAwesome, Genericon & Custom Icons
46
  > * Custom Item Styling
47
+ > * Menu Logo
48
+ > * Search box
49
+ > * WooCommerce & EDD support
50
  > * Google Fonts
 
 
51
  > * Roles & Restrictions
52
+ > * Search, icon and logo mobile toggle blocks
53
  > * Automatic updates
54
  > * Priority Support
55
  >
63
 
64
  == Frequently Asked Questions ==
65
 
66
+ Troubleshooting:
67
+
68
+ https://www.maxmegamenu.com/documentation/troubleshooting/
69
+
70
  Getting started:
71
 
72
  https://www.maxmegamenu.com/documentation/getting-started/installation/
97
 
98
  == Changelog ==
99
 
100
+ = 2.2.2 [21/07/2016] =
101
+
102
+ * Fix: Save button missing from menu locations
103
+ * Fix: Compatibility with 'Profit Builder' plugin
104
+ * Fix: Remove outline from mobile toggle
105
+ * Fix: Make mobile toggle blocks editable as soon as they're added to the toggle block designer
106
+ * Change: Refactor detection of mega menu type submenus
107
+
108
  = 2.2.1 =
109
 
110
  * Fix: Self closing div tag in toggle blocks