WP Mobile Menu - Version 2.3

Version Description

  • New! - Google Fonts in the menu items
  • New! - Background image in the menu panels
  • New! - Google Fonts in the menu items
  • New! - Naked Header with transparent background
  • New! - Option to disable Url in the header
  • Improved! - Right/left Menu Panel Width in percentage(%) and not only in Pixels(px)
  • Improved! - Improved mechanism to automatically hide the menus of the themes
  • Improved! - Improved Anchor Linking
  • Improved! - Increased the maximum width trigger, to keep the menu visible in larger resolutions
  • Improved! - Auto close open sub menus when expandin a new sub menu
  • Improved! - General css fixes
Download this release

Release Info

Developer takanakui
Plugin Icon 128x128 WP Mobile Menu
Version 2.3
Comparing to
See all releases

Code changes from version 2.2 to 2.3

Files changed (281) hide show
  1. changelog.txt +24 -12
  2. css/animation.css +0 -0
  3. css/mobmenu.css +18 -15
  4. freemius/.gitignore +0 -0
  5. freemius/LICENSE.txt +0 -0
  6. freemius/README.md +0 -0
  7. freemius/assets/css/admin/account.css +0 -0
  8. freemius/assets/css/admin/add-ons.css +0 -0
  9. freemius/assets/css/admin/common.css +0 -0
  10. freemius/assets/css/admin/connect.css +0 -0
  11. freemius/assets/css/admin/deactivation-feedback.css +0 -0
  12. freemius/assets/css/admin/debug.css +0 -0
  13. freemius/assets/css/common.css +0 -0
  14. freemius/assets/img/plugin-icon.png +0 -0
  15. freemius/assets/js/jquery.ba-postmessage.js +0 -0
  16. freemius/assets/js/jquery.ba-postmessage.min.js +0 -0
  17. freemius/assets/js/nojquery.ba-postmessage.js +0 -0
  18. freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
  19. freemius/assets/js/postmessage.js +0 -0
  20. freemius/assets/scss/_colors.scss +0 -0
  21. freemius/assets/scss/_functions.scss +0 -0
  22. freemius/assets/scss/_load.scss +0 -0
  23. freemius/assets/scss/_mixins.scss +0 -0
  24. freemius/assets/scss/_start.scss +0 -0
  25. freemius/assets/scss/_vars.scss +0 -0
  26. freemius/assets/scss/admin/account.scss +0 -0
  27. freemius/assets/scss/admin/add-ons.scss +0 -0
  28. freemius/assets/scss/admin/common.scss +0 -0
  29. freemius/assets/scss/admin/connect.scss +0 -0
  30. freemius/assets/scss/admin/deactivation-feedback.scss +0 -0
  31. freemius/assets/scss/admin/debug.scss +0 -0
  32. freemius/composer.json +0 -0
  33. freemius/config.php +0 -0
  34. freemius/includes/class-freemius-abstract.php +0 -0
  35. freemius/includes/class-freemius.php +0 -0
  36. freemius/includes/class-fs-api.php +0 -0
  37. freemius/includes/class-fs-logger.php +0 -0
  38. freemius/includes/class-fs-plugin-updater.php +0 -0
  39. freemius/includes/class-fs-security.php +0 -0
  40. freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
  41. freemius/includes/debug/debug-bar-start.php +0 -0
  42. freemius/includes/entities/class-fs-entity.php +0 -0
  43. freemius/includes/entities/class-fs-plugin-info.php +0 -0
  44. freemius/includes/entities/class-fs-plugin-license.php +0 -0
  45. freemius/includes/entities/class-fs-plugin-plan.php +0 -0
  46. freemius/includes/entities/class-fs-plugin-tag.php +0 -0
  47. freemius/includes/entities/class-fs-plugin.php +0 -0
  48. freemius/includes/entities/class-fs-pricing.php +0 -0
  49. freemius/includes/entities/class-fs-scope-entity.php +0 -0
  50. freemius/includes/entities/class-fs-site.php +0 -0
  51. freemius/includes/entities/class-fs-subscription.php +0 -0
  52. freemius/includes/entities/class-fs-user.php +0 -0
  53. freemius/includes/fs-core-functions.php +0 -0
  54. freemius/includes/fs-essential-functions.php +0 -0
  55. freemius/includes/fs-plugin-info-dialog.php +0 -0
  56. freemius/includes/i18n.php +0 -0
  57. freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
  58. freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
  59. freemius/includes/managers/class-fs-cache-manager.php +0 -0
  60. freemius/includes/managers/class-fs-key-value-storage.php +0 -0
  61. freemius/includes/managers/class-fs-license-manager.php +0 -0
  62. freemius/includes/managers/class-fs-option-manager.php +0 -0
  63. freemius/includes/managers/class-fs-plan-manager.php +0 -0
  64. freemius/includes/managers/class-fs-plugin-manager.php +0 -0
  65. freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
  66. freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
  67. freemius/includes/sdk/Exceptions/Exception.php +0 -0
  68. freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
  69. freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
  70. freemius/includes/sdk/Freemius.php +0 -0
  71. freemius/includes/sdk/FreemiusBase.php +0 -0
  72. freemius/includes/sdk/LICENSE.txt +0 -0
  73. freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
  74. freemius/start.php +0 -0
  75. freemius/templates/account.php +0 -0
  76. freemius/templates/add-ons.php +0 -0
  77. freemius/templates/admin-notice.php +0 -0
  78. freemius/templates/all-admin-notice.php +0 -0
  79. freemius/templates/checkout.php +0 -0
  80. freemius/templates/connect.php +0 -0
  81. freemius/templates/contact.php +0 -0
  82. freemius/templates/deactivation-feedback-modal.php +0 -0
  83. freemius/templates/debug.php +0 -0
  84. freemius/templates/debug/api-calls.php +0 -0
  85. freemius/templates/debug/logger.php +0 -0
  86. freemius/templates/debug/scheduled-crons.php +0 -0
  87. freemius/templates/email.php +0 -0
  88. freemius/templates/firewall-issues-js.php +0 -0
  89. freemius/templates/plugin-icon.php +0 -0
  90. freemius/templates/plugin-info/description.php +0 -0
  91. freemius/templates/plugin-info/features.php +0 -0
  92. freemius/templates/plugin-info/screenshots.php +0 -0
  93. freemius/templates/powered-by.php +0 -0
  94. freemius/templates/pricing.php +0 -0
  95. freemius/templates/sticky-admin-notice-js.php +0 -0
  96. includes/style.php +93 -48
  97. js/mobmenu-admin.js +0 -250
  98. js/mobmenu.js +64 -50
  99. mobmenu.php +282 -50
  100. readme.txt +65 -16
  101. titan-framework/.gitignore +0 -0
  102. titan-framework/.jshintrc +0 -0
  103. titan-framework/.scrutinizer.yml +0 -0
  104. titan-framework/.tm_properties +0 -0
  105. titan-framework/.travis.yml +0 -0
  106. titan-framework/README.md +0 -0
  107. titan-framework/bin/install-wp-tests.sh +0 -0
  108. titan-framework/bower.json +0 -0
  109. titan-framework/composer.json +0 -0
  110. titan-framework/css/admin-styles.css +0 -0
  111. titan-framework/css/admin-theme-customizer-styles.css +0 -0
  112. titan-framework/css/class-option-date.css +0 -0
  113. titan-framework/css/class-option-font.css +0 -0
  114. titan-framework/gulpfile.js +0 -0
  115. titan-framework/inc/edd-licensing/EDD_SL_Plugin_Updater.php +0 -0
  116. titan-framework/inc/edd-licensing/theme-updater-class.php +0 -0
  117. titan-framework/inc/scssphp/LICENSE.md +0 -0
  118. titan-framework/inc/scssphp/README.md +0 -0
  119. titan-framework/inc/scssphp/composer.json +0 -0
  120. titan-framework/inc/scssphp/scss.inc.php +0 -0
  121. titan-framework/js/ace-min-noconflict/ace.js +0 -0
  122. titan-framework/js/ace-min-noconflict/mode-css.js +0 -0
  123. titan-framework/js/ace-min-noconflict/mode-html.js +0 -0
  124. titan-framework/js/ace-min-noconflict/mode-javascript.js +0 -0
  125. titan-framework/js/ace-min-noconflict/mode-json.js +0 -0
  126. titan-framework/js/ace-min-noconflict/mode-less.js +0 -0
  127. titan-framework/js/ace-min-noconflict/mode-lua.js +0 -0
  128. titan-framework/js/ace-min-noconflict/mode-markdown.js +0 -0
  129. titan-framework/js/ace-min-noconflict/mode-mysql.js +0 -0
  130. titan-framework/js/ace-min-noconflict/mode-php.js +0 -0
  131. titan-framework/js/ace-min-noconflict/mode-plain_text.js +0 -0
  132. titan-framework/js/ace-min-noconflict/mode-python.js +0 -0
  133. titan-framework/js/ace-min-noconflict/mode-ruby.js +0 -0
  134. titan-framework/js/ace-min-noconflict/mode-sass.js +0 -0
  135. titan-framework/js/ace-min-noconflict/mode-scss.js +0 -0
  136. titan-framework/js/ace-min-noconflict/mode-sh.js +0 -0
  137. titan-framework/js/ace-min-noconflict/mode-text.js +0 -0
  138. titan-framework/js/ace-min-noconflict/mode-xml.js +0 -0
  139. titan-framework/js/ace-min-noconflict/snippets/css.js +0 -0
  140. titan-framework/js/ace-min-noconflict/snippets/html.js +0 -0
  141. titan-framework/js/ace-min-noconflict/snippets/javascript.js +0 -0
  142. titan-framework/js/ace-min-noconflict/snippets/json.js +0 -0
  143. titan-framework/js/ace-min-noconflict/snippets/less.js +0 -0
  144. titan-framework/js/ace-min-noconflict/snippets/lua.js +0 -0
  145. titan-framework/js/ace-min-noconflict/snippets/markdown.js +0 -0
  146. titan-framework/js/ace-min-noconflict/snippets/mysql.js +0 -0
  147. titan-framework/js/ace-min-noconflict/snippets/php.js +0 -0
  148. titan-framework/js/ace-min-noconflict/snippets/plain_text.js +0 -0
  149. titan-framework/js/ace-min-noconflict/snippets/python.js +0 -0
  150. titan-framework/js/ace-min-noconflict/snippets/ruby.js +0 -0
  151. titan-framework/js/ace-min-noconflict/snippets/sass.js +0 -0
  152. titan-framework/js/ace-min-noconflict/snippets/scss.js +0 -0
  153. titan-framework/js/ace-min-noconflict/snippets/sh.js +0 -0
  154. titan-framework/js/ace-min-noconflict/snippets/text.js +0 -0
  155. titan-framework/js/ace-min-noconflict/snippets/xml.js +0 -0
  156. titan-framework/js/ace-min-noconflict/theme-ambiance.js +0 -0
  157. titan-framework/js/ace-min-noconflict/theme-chaos.js +0 -0
  158. titan-framework/js/ace-min-noconflict/theme-chrome.js +0 -0
  159. titan-framework/js/ace-min-noconflict/theme-clouds.js +0 -0
  160. titan-framework/js/ace-min-noconflict/theme-clouds_midnight.js +0 -0
  161. titan-framework/js/ace-min-noconflict/theme-cobalt.js +0 -0
  162. titan-framework/js/ace-min-noconflict/theme-crimson_editor.js +0 -0
  163. titan-framework/js/ace-min-noconflict/theme-dawn.js +0 -0
  164. titan-framework/js/ace-min-noconflict/theme-dreamweaver.js +0 -0
  165. titan-framework/js/ace-min-noconflict/theme-eclipse.js +0 -0
  166. titan-framework/js/ace-min-noconflict/theme-github.js +0 -0
  167. titan-framework/js/ace-min-noconflict/theme-idle_fingers.js +0 -0
  168. titan-framework/js/ace-min-noconflict/theme-iplastic.js +0 -0
  169. titan-framework/js/ace-min-noconflict/theme-katzenmilch.js +0 -0
  170. titan-framework/js/ace-min-noconflict/theme-kr_theme.js +0 -0
  171. titan-framework/js/ace-min-noconflict/theme-kuroir.js +0 -0
  172. titan-framework/js/ace-min-noconflict/theme-merbivore.js +0 -0
  173. titan-framework/js/ace-min-noconflict/theme-merbivore_soft.js +0 -0
  174. titan-framework/js/ace-min-noconflict/theme-mono_industrial.js +0 -0
  175. titan-framework/js/ace-min-noconflict/theme-monokai.js +0 -0
  176. titan-framework/js/ace-min-noconflict/theme-pastel_on_dark.js +0 -0
  177. titan-framework/js/ace-min-noconflict/theme-solarized_dark.js +0 -0
  178. titan-framework/js/ace-min-noconflict/theme-solarized_light.js +0 -0
  179. titan-framework/js/ace-min-noconflict/theme-sqlserver.js +0 -0
  180. titan-framework/js/ace-min-noconflict/theme-terminal.js +0 -0
  181. titan-framework/js/ace-min-noconflict/theme-textmate.js +0 -0
  182. titan-framework/js/ace-min-noconflict/theme-tomorrow.js +0 -0
  183. titan-framework/js/ace-min-noconflict/theme-tomorrow_night.js +0 -0
  184. titan-framework/js/ace-min-noconflict/theme-tomorrow_night_blue.js +0 -0
  185. titan-framework/js/ace-min-noconflict/theme-tomorrow_night_bright.js +0 -0
  186. titan-framework/js/ace-min-noconflict/theme-tomorrow_night_eighties.js +0 -0
  187. titan-framework/js/ace-min-noconflict/theme-twilight.js +0 -0
  188. titan-framework/js/ace-min-noconflict/theme-vibrant_ink.js +0 -0
  189. titan-framework/js/ace-min-noconflict/theme-xcode.js +0 -0
  190. titan-framework/js/ace-min-noconflict/worker-css.js +0 -0
  191. titan-framework/js/ace-min-noconflict/worker-html.js +0 -0
  192. titan-framework/js/ace-min-noconflict/worker-javascript.js +0 -0
  193. titan-framework/js/ace-min-noconflict/worker-json.js +0 -0
  194. titan-framework/js/ace-min-noconflict/worker-lua.js +0 -0
  195. titan-framework/js/ace-min-noconflict/worker-php.js +0 -0
  196. titan-framework/js/ace-min-noconflict/worker-xml.js +0 -0
  197. titan-framework/js/admin-styling.js +1 -0
  198. titan-framework/js/dev/admin-styling.js +3 -0
  199. titan-framework/js/dev/jquery-ui-timepicker-addon.js +0 -0
  200. titan-framework/js/dev/serialize.js +0 -0
  201. titan-framework/js/dev/wp-color-picker-alpha.js +0 -0
  202. titan-framework/js/jquery-ui-timepicker-addon.js +0 -0
  203. titan-framework/js/min/admin-styling-min.js +1 -1
  204. titan-framework/js/min/jquery-ui-timepicker-addon-min.js +0 -0
  205. titan-framework/js/min/serialize-min.js +0 -0
  206. titan-framework/js/min/wp-color-picker-alpha-min.js +0 -0
  207. titan-framework/js/serialize.js +0 -0
  208. titan-framework/js/wp-color-picker-alpha.js +0 -0
  209. titan-framework/languages/titan-framework-de_DE.mo +0 -0
  210. titan-framework/languages/titan-framework-de_DE.po +0 -0
  211. titan-framework/languages/titan-framework-en_US.mo +0 -0
  212. titan-framework/languages/titan-framework-en_US.po +0 -0
  213. titan-framework/languages/titan-framework-es_ES.mo +0 -0
  214. titan-framework/languages/titan-framework-es_ES.po +0 -0
  215. titan-framework/languages/titan-framework-fr_FR.mo +0 -0
  216. titan-framework/languages/titan-framework-fr_FR.po +0 -0
  217. titan-framework/languages/titan-framework-it_IT.mo +0 -0
  218. titan-framework/languages/titan-framework-it_IT.po +0 -0
  219. titan-framework/languages/titan-framework-pt_BR.mo +0 -0
  220. titan-framework/languages/titan-framework-pt_BR.po +0 -0
  221. titan-framework/languages/titan-framework-tr_TR.mo +0 -0
  222. titan-framework/languages/titan-framework-tr_TR.po +0 -0
  223. titan-framework/languages/titan-framework.pot +0 -0
  224. titan-framework/lib/class-admin-notification.php +0 -0
  225. titan-framework/lib/class-admin-page.php +0 -0
  226. titan-framework/lib/class-admin-tab.php +0 -0
  227. titan-framework/lib/class-customizer.php +0 -0
  228. titan-framework/lib/class-meta-box.php +0 -0
  229. titan-framework/lib/class-option-ajax-button.php +0 -0
  230. titan-framework/lib/class-option-checkbox.php +0 -0
  231. titan-framework/lib/class-option-code.php +0 -0
  232. titan-framework/lib/class-option-color.php +0 -0
  233. titan-framework/lib/class-option-custom.php +0 -0
  234. titan-framework/lib/class-option-date.php +0 -0
  235. titan-framework/lib/class-option-edd-license.php +0 -0
  236. titan-framework/lib/class-option-editor.php +0 -0
  237. titan-framework/lib/class-option-enable.php +0 -0
  238. titan-framework/lib/class-option-font.php +0 -0
  239. titan-framework/lib/class-option-gallery.php +0 -0
  240. titan-framework/lib/class-option-heading.php +0 -0
  241. titan-framework/lib/class-option-iframe.php +0 -0
  242. titan-framework/lib/class-option-multicheck-categories.php +0 -0
  243. titan-framework/lib/class-option-multicheck-pages.php +0 -0
  244. titan-framework/lib/class-option-multicheck-posts.php +0 -0
  245. titan-framework/lib/class-option-multicheck.php +0 -0
  246. titan-framework/lib/class-option-note.php +0 -0
  247. titan-framework/lib/class-option-number.php +0 -0
  248. titan-framework/lib/class-option-radio-image.php +0 -0
  249. titan-framework/lib/class-option-radio-palette.php +0 -0
  250. titan-framework/lib/class-option-radio.php +0 -0
  251. titan-framework/lib/class-option-save.php +0 -0
  252. titan-framework/lib/class-option-select-categories.php +0 -0
  253. titan-framework/lib/class-option-select-pages.php +0 -0
  254. titan-framework/lib/class-option-select-posts.php +0 -0
  255. titan-framework/lib/class-option-select.php +0 -0
  256. titan-framework/lib/class-option-separator.php +0 -0
  257. titan-framework/lib/class-option-sortable.php +0 -0
  258. titan-framework/lib/class-option-text.php +0 -0
  259. titan-framework/lib/class-option-textarea.php +0 -0
  260. titan-framework/lib/class-option-upload.php +0 -0
  261. titan-framework/lib/class-option.php +0 -0
  262. titan-framework/lib/class-titan-css.php +0 -0
  263. titan-framework/lib/class-titan-framework.php +0 -0
  264. titan-framework/lib/class-wp-customize-control.php +0 -0
  265. titan-framework/lib/functions-googlefonts.php +0 -0
  266. titan-framework/lib/functions-utils.php +0 -0
  267. titan-framework/lib/iframe-font-preview.php +0 -0
  268. titan-framework/package.json +0 -0
  269. titan-framework/phpunit.xml.dist +0 -0
  270. titan-framework/readme.txt +0 -0
  271. titan-framework/ruleset.xml +0 -0
  272. titan-framework/tests/bootstrap.php +0 -0
  273. titan-framework/tests/helpers/shims.php +0 -0
  274. titan-framework/tests/test-option-color.php +0 -0
  275. titan-framework/tests/test-option-text.php +0 -0
  276. titan-framework/tests/test-sample.php +0 -0
  277. titan-framework/tests/test-titan-framework-checker.php +0 -0
  278. titan-framework/tests/test-titan-framework.php +0 -0
  279. titan-framework/titan-framework-checker.php +0 -0
  280. titan-framework/titan-framework-embedder.php +0 -0
  281. titan-framework/titan-framework.php +0 -0
changelog.txt CHANGED
@@ -8,22 +8,34 @@ Version 2.0
8
 
9
  - Major Update
10
  - New options Framework ( Titan Framework )
11
- - Fremius Framework
12
-
13
  Version 2.1
14
 
15
- - Css Nav Issue fix
16
- - Include Fremius has plugin author
17
- - Fix uninstall hook
18
-
19
  Version 2.2
20
 
21
- - New field to specific and alternative URL for the logo link
22
- - Css Fixes
23
- - Changed Icon prefixing to avoid conflicts
24
- - Fixed Fatal error in mob menu.php
25
-
26
-
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
 
29
  -----------------------------------------------------------
8
 
9
  - Major Update
10
  - New options Framework ( Titan Framework )
11
+ - Fremius Framework
12
+
13
  Version 2.1
14
 
15
+ - Css Nav Issue fix
16
+ - Include Fremius has plugin author
17
+ - Fix uninstall hook
18
+
19
  Version 2.2
20
 
21
+ - New field to specific and alternative URL for the logo link
22
+ - Css Fixes
23
+ - Changed Icon prefixing to avoid conflicts
24
+ - Fixed Fatal error in mob menu.php
25
+
26
+ Version 2.3
27
+
28
+ - New! - Google Fonts in the menu items
29
+ - New! - Background image in the menu panels
30
+ - New! - Google Fonts in the menu items
31
+ - New! - Naked Header with transparent background
32
+ - New! - Option to disable Url in the header
33
+ - Improved! - Right/left Menu Panel Width in percentage(%) and not only in Pixels(px)
34
+ - Improved! - Improved mechanism to automatically hide the menus of the themes
35
+ - Improved! - Improved Anchor Linking
36
+ - Improved! - Increased the maximum width trigger, to keep the menu visible in larger resolutions
37
+ - Improved! - Auto close open sub menus when expandin a new sub menu
38
+ - Improved! - General css fixes
39
 
40
 
41
  -----------------------------------------------------------
css/animation.css CHANGED
File without changes
css/mobmenu.css CHANGED
@@ -108,11 +108,7 @@ body.admin-bar .mobmenu{
108
  display:none;
109
  left: 15px;
110
  }
111
- /*
112
- .show-sub-menu {
113
- display:block!important;
114
-
115
- }*/
116
 
117
  .mob-expand-submenu {
118
  position: relative;
@@ -134,11 +130,6 @@ body.admin-bar .mobmenu{
134
  left: 15px;
135
  }
136
 
137
- #mobmenuright li:hover > ul {
138
- display:block;
139
- padding-left: 30px;
140
- }
141
-
142
  .rightmbottom, .rightmtop {
143
  padding-left: 10px;
144
  padding-right: 10px;
@@ -162,8 +153,8 @@ body.admin-bar .mobmenu{
162
 
163
  .mobmenu_content li {
164
  list-style: none;
165
- border-bottom: solid 1px rgba(255,255,255,0.1);
166
  }
 
167
  .mob_menu_left_panel_anim{
168
  -webkit-transition: all .30s ease-in-out !important;
169
  transition: all .30s ease-in-out !important;
@@ -205,13 +196,12 @@ body.admin-bar .mobmenu{
205
  -webkit-transition: all .30s ease-in-out !important;
206
  overflow:hidden;
207
 
208
- }
209
 
210
  .leftmbottom h2{
211
  font-weight: bold;
212
- background-color: gray;
213
- padding-left: 5px;
214
- color: #fff;
215
  }
216
  .mobmenu .mob-icon-cancel, .show-nav-left .mobmenu .mob-icon-menu, .show-nav-right .mobmenu .mob-icon-menu {
217
  display:none;
@@ -240,3 +230,16 @@ body.admin-bar .mobmenu{
240
  .hide {
241
  display: none!important;
242
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  display:none;
109
  left: 15px;
110
  }
111
+
 
 
 
 
112
 
113
  .mob-expand-submenu {
114
  position: relative;
130
  left: 15px;
131
  }
132
 
 
 
 
 
 
133
  .rightmbottom, .rightmtop {
134
  padding-left: 10px;
135
  padding-right: 10px;
153
 
154
  .mobmenu_content li {
155
  list-style: none;
 
156
  }
157
+
158
  .mob_menu_left_panel_anim{
159
  -webkit-transition: all .30s ease-in-out !important;
160
  transition: all .30s ease-in-out !important;
196
  -webkit-transition: all .30s ease-in-out !important;
197
  overflow:hidden;
198
 
199
+ }
200
 
201
  .leftmbottom h2{
202
  font-weight: bold;
203
+ background-color: transparent;
204
+ color: inherit;
 
205
  }
206
  .mobmenu .mob-icon-cancel, .show-nav-left .mobmenu .mob-icon-menu, .show-nav-right .mobmenu .mob-icon-menu {
207
  display:none;
230
  .hide {
231
  display: none!important;
232
  }
233
+
234
+ .mob-menu-left-bg-holder, .mob-menu-right-bg-holder{
235
+ width: 100%;
236
+ height: 100%;
237
+ position: absolute;
238
+ z-index: -50;
239
+ background-size: cover!important;
240
+ background-position: 0 0;
241
+ background-repeat: no-repeat;
242
+ top: 0;
243
+ left: 0;
244
+ }
245
+
freemius/.gitignore CHANGED
File without changes
freemius/LICENSE.txt CHANGED
File without changes
freemius/README.md CHANGED
File without changes
freemius/assets/css/admin/account.css CHANGED
File without changes
freemius/assets/css/admin/add-ons.css CHANGED
File without changes
freemius/assets/css/admin/common.css CHANGED
File without changes
freemius/assets/css/admin/connect.css CHANGED
File without changes
freemius/assets/css/admin/deactivation-feedback.css CHANGED
File without changes
freemius/assets/css/admin/debug.css CHANGED
File without changes
freemius/assets/css/common.css CHANGED
File without changes
freemius/assets/img/plugin-icon.png CHANGED
File without changes
freemius/assets/js/jquery.ba-postmessage.js CHANGED
File without changes
freemius/assets/js/jquery.ba-postmessage.min.js CHANGED
File without changes
freemius/assets/js/nojquery.ba-postmessage.js CHANGED
File without changes
freemius/assets/js/nojquery.ba-postmessage.min.js CHANGED
File without changes
freemius/assets/js/postmessage.js CHANGED
File without changes
freemius/assets/scss/_colors.scss CHANGED
File without changes
freemius/assets/scss/_functions.scss CHANGED
File without changes
freemius/assets/scss/_load.scss CHANGED
File without changes
freemius/assets/scss/_mixins.scss CHANGED
File without changes
freemius/assets/scss/_start.scss CHANGED
File without changes
freemius/assets/scss/_vars.scss CHANGED
File without changes
freemius/assets/scss/admin/account.scss CHANGED
File without changes
freemius/assets/scss/admin/add-ons.scss CHANGED
File without changes
freemius/assets/scss/admin/common.scss CHANGED
File without changes
freemius/assets/scss/admin/connect.scss CHANGED
File without changes
freemius/assets/scss/admin/deactivation-feedback.scss CHANGED
File without changes
freemius/assets/scss/admin/debug.scss CHANGED
File without changes
freemius/composer.json CHANGED
File without changes
freemius/config.php CHANGED
File without changes
freemius/includes/class-freemius-abstract.php CHANGED
File without changes
freemius/includes/class-freemius.php CHANGED
File without changes
freemius/includes/class-fs-api.php CHANGED
File without changes
freemius/includes/class-fs-logger.php CHANGED
File without changes
freemius/includes/class-fs-plugin-updater.php CHANGED
File without changes
freemius/includes/class-fs-security.php CHANGED
File without changes
freemius/includes/debug/class-fs-debug-bar-panel.php CHANGED
File without changes
freemius/includes/debug/debug-bar-start.php CHANGED
File without changes
freemius/includes/entities/class-fs-entity.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-info.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-license.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-plan.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-tag.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin.php CHANGED
File without changes
freemius/includes/entities/class-fs-pricing.php CHANGED
File without changes
freemius/includes/entities/class-fs-scope-entity.php CHANGED
File without changes
freemius/includes/entities/class-fs-site.php CHANGED
File without changes
freemius/includes/entities/class-fs-subscription.php CHANGED
File without changes
freemius/includes/entities/class-fs-user.php CHANGED
File without changes
freemius/includes/fs-core-functions.php CHANGED
File without changes
freemius/includes/fs-essential-functions.php CHANGED
File without changes
freemius/includes/fs-plugin-info-dialog.php CHANGED
File without changes
freemius/includes/i18n.php CHANGED
File without changes
freemius/includes/managers/class-fs-admin-menu-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-admin-notice-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-cache-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-key-value-storage.php CHANGED
File without changes
freemius/includes/managers/class-fs-license-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-option-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-plan-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-plugin-manager.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/ArgumentNotExistException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/EmptyArgumentException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/Exception.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/InvalidArgumentException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/OAuthException.php CHANGED
File without changes
freemius/includes/sdk/Freemius.php CHANGED
File without changes
freemius/includes/sdk/FreemiusBase.php CHANGED
File without changes
freemius/includes/sdk/LICENSE.txt CHANGED
File without changes
freemius/includes/supplements/fs-essential-functions-1.1.7.1.php CHANGED
File without changes
freemius/start.php CHANGED
File without changes
freemius/templates/account.php CHANGED
File without changes
freemius/templates/add-ons.php CHANGED
File without changes
freemius/templates/admin-notice.php CHANGED
File without changes
freemius/templates/all-admin-notice.php CHANGED
File without changes
freemius/templates/checkout.php CHANGED
File without changes
freemius/templates/connect.php CHANGED
File without changes
freemius/templates/contact.php CHANGED
File without changes
freemius/templates/deactivation-feedback-modal.php CHANGED
File without changes
freemius/templates/debug.php CHANGED
File without changes
freemius/templates/debug/api-calls.php CHANGED
File without changes
freemius/templates/debug/logger.php CHANGED
File without changes
freemius/templates/debug/scheduled-crons.php CHANGED
File without changes
freemius/templates/email.php CHANGED
File without changes
freemius/templates/firewall-issues-js.php CHANGED
File without changes
freemius/templates/plugin-icon.php CHANGED
File without changes
freemius/templates/plugin-info/description.php CHANGED
File without changes
freemius/templates/plugin-info/features.php CHANGED
File without changes
freemius/templates/plugin-info/screenshots.php CHANGED
File without changes
freemius/templates/powered-by.php CHANGED
File without changes
freemius/templates/pricing.php CHANGED
File without changes
freemius/templates/sticky-admin-notice-js.php CHANGED
File without changes
includes/style.php CHANGED
@@ -17,13 +17,40 @@
17
  $titan = TitanFramework::getInstance( 'mobmenu' );
18
  // Determine the Width of the Footer li elements base on the admin options
19
 
 
20
  // Check if the Mobile Menu is enable in the plugin options
21
  if ( 'yes' == $titan->getOption( 'enabled' ) ){
22
 
 
 
 
 
 
 
 
 
 
 
23
  $trigger_res = $titan->getOption( 'width_trigger' );
24
  $right_menu_width = $titan->getOption( 'right_menu_width' ) . 'px';
25
- $left_menu_width = $titan->getOption( 'left_menu_width' ) . 'px';
 
 
 
 
 
 
 
26
 
 
 
 
 
 
 
 
 
 
27
  ?>
28
 
29
  <style>
@@ -34,71 +61,90 @@
34
  <?php echo $titan->getOption('hide_elements'); ?> {
35
  display:none !important;
36
  }
 
 
 
 
 
 
 
37
 
38
  .mobmenu, .mob-menu-left-panel, .mob-menu-right-panel{
39
  display: block;
40
- }
41
-
42
  .mobmenur-container .mobmenu-right-bt{
43
- color: <?php echo $titan->getOption('right_menu_icon_color'); ?> !important;
44
  }
45
  .mobmenul-container .mobmenu-left-bt{
46
- color: <?php echo $titan->getOption('left_menu_icon_color'); ?> !important;
47
  }
48
  #mobmenuleft li a , #mobmenuleft li a:visited {
49
- font-family:"Open sans" , arial, sans-serif;
50
- color: <?php echo $titan->getOption('left_panel_text_color');?> !important;
51
 
52
  }
53
  .mobmenu_content h2, .mobmenu_content h3{
54
- font-size: 18px;
55
- font-family:"Open sans" , arial, sans-serif;
56
- padding-left: 20px;
57
- color: <?php echo $titan->getOption('left_panel_text_color');?> !important;
58
  }
59
 
60
  .mobmenu_content #mobmenuleft li:hover, .mobmenu_content #mobmenuright li:hover {
61
- background-color: <?php echo $titan->getOption("left_panel_hover_bgcolor");?> !important;
62
  }
63
 
64
  .mobmenu_content #mobmenuright li:hover {
65
- background-color: <?php echo $titan->getOption("right_panel_hover_bgcolor");?> !important;
66
  }
67
 
68
  .mobmenu_content #mobmenuleft .sub-menu {
69
- background-color: <?php echo $titan->getOption("left_panel_submenu_bgcolor");?> !important;
70
  margin: 0;
71
- color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> !important;
72
  width: 100%;
73
 
74
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  .mobmenu_content #mobmenuleft .sub-menu a {
77
- color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> !important;
78
  }
79
 
80
  .mobmenu_content #mobmenuright .sub-menu a{
81
- color: <?php echo $titan->getOption("right_panel_submenu_text_color");?> !important;
82
  }
83
 
84
  .mobmenu_content #mobmenuright .sub-menu {
85
- background-color: <?php echo $titan->getOption("right_panel_submenu_bgcolor");?> !important;
86
  margin: 0;
87
- color: <?php echo $titan->getOption("right_panel_submenu_text_color");?> !important;
88
  }
89
 
90
  #mobmenuleft li a:hover {
91
- font-family:"Open sans" , arial, sans-serif;
92
- color: <?php echo $titan->getOption("left_panel_hover_text_color");?> !important;
93
 
94
  }
95
 
96
  #mobmenuright li a , #mobmenuright li a:visited{
97
- color: <?php echo $titan->getOption('right_panel_text_color');?> !important;
98
  }
99
 
100
  #mobmenuright li a:hover {
101
- color: <?php echo $titan->getOption('right_panel_hover_text_color');?> !important;
102
  }
103
 
104
  .mobmenul-container{
@@ -120,7 +166,7 @@
120
 
121
  .mob_menu_header_div{
122
 
123
- background-color: <?php echo $titan->getOption('header_bg_color'); ?>;
124
  height: <?php echo $titan->getOption('header_height'); ?>px;
125
  width: 100%;
126
  font-weight:bold;
@@ -134,37 +180,37 @@
134
  }
135
 
136
  .mobmenu-push-wrap{
137
- padding-top: <?php echo $titan->getOption('header_height'); ?>px;
138
  }
139
 
140
  .mob-menu-left-panel{
141
  background-color: <?php echo $titan->getOption('left_panel_bg_color'); ?>;
142
  width: <?php echo $left_menu_width; ?>;
143
- -webkit-transform: translateX(-<?php echo $left_menu_width; ?>);
144
- -moz-transform: translateX(-<?php echo $left_menu_width; ?>);
145
- -ms-transform: translateX(-<?php echo $left_menu_width; ?>);
146
- -o-transform: translateX(-<?php echo $left_menu_width; ?>);
147
- transform: translateX(-<?php echo $left_menu_width; ?>);
148
  }
149
 
150
  .mob-menu-right-panel{
151
  background-color: <?php echo $titan->getOption('right_panel_bg_color'); ?>;
152
  width: <?php echo $right_menu_width; ?>;
153
- -webkit-transform: translateX( <?php echo $right_menu_width; ?> );
154
- -moz-transform: translateX( <?php echo $right_menu_width; ?> );
155
- -ms-transform: translateX( <?php echo $right_menu_width; ?> );
156
- -o-transform: translateX( <?php echo $right_menu_width; ?> );
157
- transform: translateX( <?php echo $right_menu_width; ?> );
158
  }
159
 
160
  /* Will animate the content to the right 275px revealing the hidden nav */
161
  .show-nav-left .mobmenu-push-wrap, .show-nav-left .mob_menu_header_div {
162
 
163
- -webkit-transform: translate(<?php echo $left_menu_width; ?>, 0);
164
- -moz-transform: translate(<?php echo $left_menu_width; ?>, 0);
165
- -ms-transform: translate(<?php echo $left_menu_width; ?>, 0);
166
- -o-transform: translate(<?php echo $left_menu_width; ?>, 0);
167
- transform: translate(<?php echo $left_menu_width; ?>, 0);
168
 
169
  -webkit-transform: translate3d(<?php echo $left_menu_width; ?>, 0, 0);
170
  -moz-transform: translate3d(<?php echo $left_menu_width; ?>, 0, 0);
@@ -175,11 +221,11 @@
175
 
176
  .show-nav-right .mobmenu-push-wrap , .show-nav-right .mob_menu_header_div{
177
 
178
- -webkit-transform: translate(-<?php echo $right_menu_width; ?>, 0);
179
- -moz-transform: translate(-<?php echo $right_menu_width; ?>, 0);
180
- -ms-transform: translate(-<?php echo $right_menu_width; ?>, 0);
181
- -o-transform: translate(-<?php echo $right_menu_width; ?>, 0);
182
- transform: translate(-<?php echo $right_menu_width; ?>, 0);
183
 
184
  -webkit-transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
185
  -moz-transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
@@ -188,9 +234,8 @@
188
  transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
189
  }
190
 
191
- .headertext{
192
- color: <?php echo $titan->getOption('header_text_color'); ?> !important;
193
- font-size: <?php echo $titan->getOption('header_font_size');?>px;
194
  }
195
 
196
 
17
  $titan = TitanFramework::getInstance( 'mobmenu' );
18
  // Determine the Width of the Footer li elements base on the admin options
19
 
20
+
21
  // Check if the Mobile Menu is enable in the plugin options
22
  if ( 'yes' == $titan->getOption( 'enabled' ) ){
23
 
24
+
25
+
26
+ if ( $titan->getOption('enabled_naked_header') ) {
27
+ $header_bg_color = 'transparent';
28
+ $wrap_padding_top = '0';
29
+ } else {
30
+ $header_bg_color = $titan->getOption('header_bg_color');
31
+ $wrap_padding_top = $titan->getOption('header_height');
32
+ }
33
+
34
  $trigger_res = $titan->getOption( 'width_trigger' );
35
  $right_menu_width = $titan->getOption( 'right_menu_width' ) . 'px';
36
+
37
+ if( $titan->getOption( 'right_menu_width_units' ) ) {
38
+ $right_menu_width = $titan->getOption( 'right_menu_width' ) . 'px';
39
+ $right_menu_width_translate = $right_menu_width;
40
+ } else {
41
+ $right_menu_width = $titan->getOption( 'right_menu_width_percentage' ) . '%';
42
+ $right_menu_width_translate = '100%';
43
+ }
44
 
45
+
46
+ if( $titan->getOption( 'left_menu_width_units' ) ) {
47
+ $left_menu_width = $titan->getOption( 'left_menu_width' ) . 'px';
48
+ $left_menu_width_translate = $left_menu_width;
49
+ } else {
50
+ $left_menu_width = $titan->getOption( 'left_menu_width_percentage' ) . '%';
51
+ $left_menu_width_translate = '100%';
52
+ }
53
+
54
  ?>
55
 
56
  <style>
61
  <?php echo $titan->getOption('hide_elements'); ?> {
62
  display:none !important;
63
  }
64
+ nav{
65
+ display:none!important;
66
+ }
67
+
68
+ #mobmenuright li a{
69
+ padding-left: 35px;
70
+ }
71
 
72
  .mobmenu, .mob-menu-left-panel, .mob-menu-right-panel{
73
  display: block;
74
+ }
 
75
  .mobmenur-container .mobmenu-right-bt{
76
+ color: <?php echo $titan->getOption('right_menu_icon_color'); ?> ;
77
  }
78
  .mobmenul-container .mobmenu-left-bt{
79
+ color: <?php echo $titan->getOption('left_menu_icon_color'); ?> ;
80
  }
81
  #mobmenuleft li a , #mobmenuleft li a:visited {
82
+ color: <?php echo $titan->getOption('left_panel_text_color');?> ;
 
83
 
84
  }
85
  .mobmenu_content h2, .mobmenu_content h3{
86
+ color: <?php echo $titan->getOption('left_panel_text_color');?> ;
 
 
 
87
  }
88
 
89
  .mobmenu_content #mobmenuleft li:hover, .mobmenu_content #mobmenuright li:hover {
90
+ background-color: <?php echo $titan->getOption("left_panel_hover_bgcolor");?>;
91
  }
92
 
93
  .mobmenu_content #mobmenuright li:hover {
94
+ background-color: <?php echo $titan->getOption("right_panel_hover_bgcolor");?> ;
95
  }
96
 
97
  .mobmenu_content #mobmenuleft .sub-menu {
98
+ background-color: <?php echo $titan->getOption("left_panel_submenu_bgcolor");?> ;
99
  margin: 0;
100
+ color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> ;
101
  width: 100%;
102
 
103
  }
104
+ .mob-menu-left-bg-holder{
105
+ background: url(<?php echo wp_get_attachment_url( $titan->getOption("left_menu_bg_image") );?>);
106
+ opacity: <?php echo $titan->getOption("left_menu_bg_opacity") / 100 ; ?>;
107
+ background-attachment: fixed ;
108
+ background-position: center top ;
109
+ -webkit-background-size: cover ;
110
+ -moz-background-size: cover ;
111
+ background-size: cover ;
112
+ }
113
+ .mob-menu-right-bg-holder{
114
+ background: url(<?php echo wp_get_attachment_url( $titan->getOption("right_menu_bg_image") );?>);
115
+ opacity: <?php echo $titan->getOption("right_menu_bg_opacity") / 100 ; ?>;
116
+ background-attachment: fixed ;
117
+ background-position: center top ;
118
+ -webkit-background-size: cover ;
119
+ -moz-background-size: cover ;
120
+ background-size: cover ;
121
+ }
122
 
123
  .mobmenu_content #mobmenuleft .sub-menu a {
124
+ color: <?php echo $titan->getOption("left_panel_submenu_text_color");?> ;
125
  }
126
 
127
  .mobmenu_content #mobmenuright .sub-menu a{
128
+ color: <?php echo $titan->getOption("right_panel_submenu_text_color");?> ;
129
  }
130
 
131
  .mobmenu_content #mobmenuright .sub-menu {
132
+ background-color: <?php echo $titan->getOption("right_panel_submenu_bgcolor");?> ;
133
  margin: 0;
134
+ color: <?php echo $titan->getOption("right_panel_submenu_text_color");?> ;
135
  }
136
 
137
  #mobmenuleft li a:hover {
138
+ color: <?php echo $titan->getOption("left_panel_hover_text_color");?> ;
 
139
 
140
  }
141
 
142
  #mobmenuright li a , #mobmenuright li a:visited{
143
+ color: <?php echo $titan->getOption('right_panel_text_color');?> ;
144
  }
145
 
146
  #mobmenuright li a:hover {
147
+ color: <?php echo $titan->getOption('right_panel_hover_text_color');?> ;
148
  }
149
 
150
  .mobmenul-container{
166
 
167
  .mob_menu_header_div{
168
 
169
+ background-color: <?php echo $header_bg_color; ?>;
170
  height: <?php echo $titan->getOption('header_height'); ?>px;
171
  width: 100%;
172
  font-weight:bold;
180
  }
181
 
182
  .mobmenu-push-wrap{
183
+ padding-top: <?php echo $wrap_padding_top; ?>px;
184
  }
185
 
186
  .mob-menu-left-panel{
187
  background-color: <?php echo $titan->getOption('left_panel_bg_color'); ?>;
188
  width: <?php echo $left_menu_width; ?>;
189
+ -webkit-transform: translateX(-<?php echo $left_menu_width_translate; ?>);
190
+ -moz-transform: translateX(-<?php echo $left_menu_width_translate; ?>);
191
+ -ms-transform: translateX(-<?php echo $left_menu_width_translate; ?>);
192
+ -o-transform: translateX(-<?php echo $left_menu_width_translate; ?>);
193
+ transform: translateX(-<?php echo $left_menu_width_translate; ?>);
194
  }
195
 
196
  .mob-menu-right-panel{
197
  background-color: <?php echo $titan->getOption('right_panel_bg_color'); ?>;
198
  width: <?php echo $right_menu_width; ?>;
199
+ -webkit-transform: translateX( <?php echo $right_menu_width_translate; ?> );
200
+ -moz-transform: translateX( <?php echo $right_menu_width_translate; ?> );
201
+ -ms-transform: translateX( <?php echo $right_menu_width_translate; ?> );
202
+ -o-transform: translateX( <?php echo $right_menu_width_translate; ?> );
203
+ transform: translateX( <?php echo $right_menu_width_translate; ?> );
204
  }
205
 
206
  /* Will animate the content to the right 275px revealing the hidden nav */
207
  .show-nav-left .mobmenu-push-wrap, .show-nav-left .mob_menu_header_div {
208
 
209
+ -webkit-transform: translate(<?php echo $left_menu_width_translate; ?>, 0);
210
+ -moz-transform: translate(<?php echo $left_menu_width_translate; ?>, 0);
211
+ -ms-transform: translate(<?php echo $left_menu_width_translate; ?>, 0);
212
+ -o-transform: translate(<?php echo $left_menu_width_translate; ?>, 0);
213
+ transform: translate(<?php echo $left_menu_width_translate; ?>, 0);
214
 
215
  -webkit-transform: translate3d(<?php echo $left_menu_width; ?>, 0, 0);
216
  -moz-transform: translate3d(<?php echo $left_menu_width; ?>, 0, 0);
221
 
222
  .show-nav-right .mobmenu-push-wrap , .show-nav-right .mob_menu_header_div{
223
 
224
+ -webkit-transform: translate(-<?php echo $right_menu_width_translate; ?>, 0);
225
+ -moz-transform: translate(-<?php echo $right_menu_width_translate; ?>, 0);
226
+ -ms-transform: translate(-<?php echo $right_menu_width_translate; ?>, 0);
227
+ -o-transform: translate(-<?php echo $right_menu_width_translate; ?>, 0);
228
+ transform: translate(-<?php echo $right_menu_width_translate; ?>, 0);
229
 
230
  -webkit-transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
231
  -moz-transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
234
  transform: translate3d(-<?php echo $right_menu_width; ?>, 0, 0);
235
  }
236
 
237
+ .mobmenu .headertext{
238
+ color: <?php echo $titan->getOption('header_text_color'); ?> ;
 
239
  }
240
 
241
 
js/mobmenu-admin.js DELETED
@@ -1,250 +0,0 @@
1
-
2
- jQuery(document).ready(function() {
3
-
4
-
5
-
6
-
7
- jQuery('.wp-color-picker-field').wpColorPicker();
8
- jQuery("#mobmenu-admin-tabs").tabs();
9
-
10
-
11
- jQuery('#upload_image_licon').click(function(e) {
12
-
13
- e.preventDefault();
14
- mob_menu_save_image('#mobmenu_left_icon');
15
-
16
- //If the uploader object has already been created, reopen the dialog
17
- /*
18
- if (custom_uploader) {
19
- custom_uploader.open();
20
- return;
21
- }*/
22
- /*
23
- //Extend the wp.media object
24
- custom_uploader = wp.media.frames.file_frame = wp.media({
25
- title: 'Choose Image',
26
- button: {
27
- text: 'Choose Image'
28
- },
29
- multiple: false
30
- });
31
-
32
- attachment = null;
33
-
34
- //When a file is selected, grab the URL and set it as the text field's value
35
- custom_uploader.on('select', function() {
36
- attachment = custom_uploader.state().get('selection').first().toJSON();
37
- jQuery('#mobmenu_left_icon').val(attachment.url);
38
- });
39
-
40
- //Open the uploader dialog
41
- custom_uploader.open();
42
- */
43
- });
44
-
45
-
46
-
47
-
48
-
49
- jQuery('#upload_image_ft_1sticon').click(function(e) {
50
-
51
- e.preventDefault();
52
- mob_menu_save_image('#mobmenu_footer_1sticon');
53
- /*
54
- //Extend the wp.media object
55
- custom_uploader = wp.media.frames.file_frame = wp.media({
56
- title: 'Choose Image',
57
- button: {
58
- text: 'Choose Image'
59
- },
60
- multiple: false
61
- });
62
-
63
- attachment = null;
64
-
65
- //When a file is selected, grab the URL and set it as the text field's value
66
- custom_uploader.on('select', function() {
67
- attachment = custom_uploader.state().get('selection').first().toJSON();
68
- jQuery('#mobmenu_footer_1sticon').val(attachment.url);
69
- });
70
-
71
- //Open the uploader dialog
72
- custom_uploader.open();
73
- */
74
- });
75
-
76
- jQuery('#upload_image_ft_2ndicon').click(function(e) {
77
-
78
- e.preventDefault();
79
- mob_menu_save_image('#mobmenu_footer_2ndicon');
80
-
81
- /*
82
- //Extend the wp.media object
83
- custom_uploader = wp.media.frames.file_frame = wp.media({
84
- title: 'Choose Image',
85
- button: {
86
- text: 'Choose Image'
87
- },
88
- multiple: false
89
- });
90
-
91
- attachment = null;
92
- //When a file is selected, grab the URL and set it as the text field's value
93
- custom_uploader.on('select', function() {
94
- attachment = custom_uploader.state().get('selection').first().toJSON();
95
- jQuery('#mobmenu_footer_2ndicon').val(attachment.url);
96
- });
97
-
98
- //Open the uploader dialog
99
- custom_uploader.open();
100
- */
101
- });
102
-
103
-
104
-
105
- jQuery('#upload_image_ft_3rdicon').click(function(e) {
106
-
107
- e.preventDefault();
108
- mob_menu_save_image('#mobmenu_footer_3rdicon');
109
-
110
- /*
111
- //Extend the wp.media object
112
- custom_uploader = wp.media.frames.file_frame = wp.media({
113
- title: 'Choose Image',
114
- button: {
115
- text: 'Choose Image'
116
- },
117
- multiple: false
118
- });
119
-
120
- attachment = null;
121
-
122
- //When a file is selected, grab the URL and set it as the text field's value
123
- custom_uploader.on('select', function() {
124
- attachment = custom_uploader.state().get('selection').first().toJSON();
125
- jQuery('#mobmenu_footer_3rdicon').val(attachment.url);
126
- });
127
-
128
- //Open the uploader dialog
129
- custom_uploader.open();
130
- */
131
- });
132
-
133
-
134
- jQuery('#upload_image_ft_4thicon').click(function(e) {
135
-
136
- e.preventDefault();
137
- mob_menu_save_image('#mobmenu_footer_4thicon');
138
-
139
- /*
140
- //Extend the wp.media object
141
- custom_uploader = wp.media.frames.file_frame = wp.media({
142
- title: 'Choose Image',
143
- button: {
144
- text: 'Choose Image'
145
- },
146
- multiple: false
147
- });
148
-
149
- attachment = null;
150
-
151
- //When a file is selected, grab the URL and set it as the text field's value
152
- custom_uploader.on('select', function() {
153
- attachment = custom_uploader.state().get('selection').first().toJSON();
154
- jQuery('#mobmenu_footer_3rdicon').val(attachment.url);
155
- });
156
-
157
- //Open the uploader dialog
158
- custom_uploader.open();
159
- */
160
- });
161
-
162
-
163
-
164
-
165
-
166
-
167
- jQuery('#upload_image_ricon').click(function(e) {
168
-
169
- e.preventDefault();
170
- mob_menu_save_image('#mobmenu_right_icon');
171
- /*
172
- //Extend the wp.media object
173
- custom_uploader = wp.media.frames.file_frame = wp.media({
174
- title: 'Choose Image',
175
- button: {
176
- text: 'Choose Image'
177
- },
178
- multiple: false
179
- });
180
-
181
- attachment = null;
182
-
183
- //When a file is selected, grab the URL and set it as the text field's value
184
- custom_uploader.on('select', function() {
185
- attachment = custom_uploader.state().get('selection').first().toJSON();
186
- jQuery('#mobmenu_right_icon').val(attachment.url);
187
- });
188
-
189
- //Open the uploader dialog
190
- custom_uploader.open();
191
- */
192
- });
193
-
194
-
195
- jQuery('#upload_image_button').click(function(e) {
196
-
197
- e.preventDefault();
198
- mob_menu_save_image('#mobmenu_site_logo_img');
199
-
200
- /*
201
-
202
- //Extend the wp.media object
203
- custom_uploader = wp.media.frames.file_frame = wp.media({
204
- title: 'Choose Image',
205
- button: {
206
- text: 'Choose Image'
207
- },
208
- multiple: false
209
- });
210
-
211
- attachment = null;
212
-
213
- //When a file is selected, grab the URL and set it as the text field's value
214
- custom_uploader.on('select', function() {
215
- attachment = custom_uploader.state().get('selection').first().toJSON();
216
- jQuery('#mobmenu_site_logo_img').val(attachment.url);
217
- });
218
-
219
- //Open the uploader dialog
220
- custom_uploader.open();
221
- */
222
- });
223
-
224
-
225
-
226
- });
227
-
228
- function mob_menu_save_image(targetvar){
229
-
230
-   var custom_uploader;
231
-
232
- custom_uploader = wp.media.frames.file_frame = wp.media({
233
- title: 'Choose Image',
234
- button: {
235
- text: 'Choose Image'
236
- },
237
- multiple: false
238
- });
239
-
240
- attachment = null;
241
-
242
- //When a file is selected, grab the URL and set it as the text field's value
243
- custom_uploader.on('select', function() {
244
- attachment = custom_uploader.state().get('selection').first().toJSON();
245
- jQuery(targetvar).val(attachment.url);
246
- });
247
-
248
- //Open the uploader dialog
249
- custom_uploader.open();
250
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/mobmenu.js CHANGED
@@ -1,31 +1,31 @@
1
 
2
  /*
3
- *
4
- * Javascript Functions
5
- * ------------------------------------------------
6
- * WP Mobile Menu
7
- * Copyright WP Mobile Menu 2016 - http://www.wpmobilemenu.com
8
- *
9
- *
10
- *
11
- */
12
-
13
- "use strict";
14
-
15
- jQuery(document).ready(function() {
16
-
17
- if ( jQuery( 'body' ).find( '.mobmenu-push-wrap' ).length <= 0 ) {
18
-
19
- jQuery( 'body' ).wrapInner( '<div class="mobmenu-push-wrap"></div>' );
20
- jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob-menu-left-panel' ).detach() );
21
- jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob-menu-right-panel' ).detach() );
22
- jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob_menu_header_div' ).detach() );
23
- jQuery( '#wpadminbar' ).appendTo( 'body' );
24
-
25
- }
26
-
27
- jQuery( document ).on( 'click', '.mobmenu-left-bt' , function ( ) {
28
- jQuery('body').toggleClass('show-nav-left');
29
 
30
  if ( jQuery( 'body' ).hasClass( 'show-nav-left') ){
31
  jQuery( 'body' ).css( 'overflow', 'hidden');
@@ -33,39 +33,53 @@
33
  jQuery( 'body' ).css( 'overflow', '');
34
  }
35
 
36
- });
37
 
38
- jQuery( document ).on( 'click', '.mobmenu-right-bt' , function ( ) {
39
- jQuery('body').toggleClass('show-nav-right');
40
-
 
 
41
  if ( jQuery( 'body' ).hasClass( 'show-nav-right') ){
42
  jQuery( 'body' ).css( 'overflow', 'hidden');
43
  } else {
44
  jQuery( 'body' ).css( 'overflow', '');
45
  }
46
- });
 
 
 
47
 
48
- jQuery('.mobmenu_content .sub-menu').each( function(){
49
- jQuery( this ).before('<div class="mob-expand-submenu"><i class="mob-icon-down-open"></i><i class="mob-icon-up-open hide"></i></div>');
 
50
 
51
- });
52
-
53
- jQuery( document ).on( 'click', '.mob-expand-submenu' , function ( ) {
54
-
55
- jQuery( this ).find('.mob-icon-down-open').toggleClass('hide');
 
 
 
 
 
 
56
  jQuery( this ).find('.mob-icon-up-open').toggleClass('hide');
57
-
58
- if ( !jQuery( this ).next().hasClass( 'show-sub-menu' ) ){
59
- //jQuery(this).next().slideDown();
60
- jQuery(this).next().fadeIn("slow");
61
- } else {
62
- //jQuery(this).next().slideUp();
63
- jQuery(this).next().hide();
64
- }
 
 
65
 
66
- jQuery(this).next().toggleClass( 'show-sub-menu');
67
-
68
- });
69
 
70
 
71
- });
1
 
2
  /*
3
+ *
4
+ * Javascript Functions
5
+ * ------------------------------------------------
6
+ * WP Mobile Menu
7
+ * Copyright WP Mobile Menu 2016 - http://www.wpmobilemenu.com
8
+ *
9
+ *
10
+ *
11
+ */
12
+
13
+ "use strict";
14
+
15
+ jQuery(document).ready(function() {
16
+
17
+ if ( jQuery( 'body' ).find( '.mobmenu-push-wrap' ).length <= 0 ) {
18
+
19
+ jQuery( 'body' ).wrapInner( '<div class="mobmenu-push-wrap"></div>' );
20
+ jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob-menu-left-panel' ).detach() );
21
+ jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob-menu-right-panel' ).detach() );
22
+ jQuery( '.mobmenu-push-wrap' ).after( jQuery( '.mob_menu_header_div' ).detach() );
23
+ jQuery( '#wpadminbar' ).appendTo( 'body' );
24
+
25
+ }
26
+
27
+ jQuery( document ).on( 'click', '.mobmenu-left-bt, .mob-menu-left-panel .mobmenu_content a' , function ( ) {
28
+ jQuery('body').toggleClass('show-nav-left');
29
 
30
  if ( jQuery( 'body' ).hasClass( 'show-nav-left') ){
31
  jQuery( 'body' ).css( 'overflow', 'hidden');
33
  jQuery( 'body' ).css( 'overflow', '');
34
  }
35
 
36
+ });
37
 
38
+ jQuery( document ).on( 'click', '.mobmenu-right-bt, .mob-menu-right-panel .mobmenu_content a' , function ( ) {
39
+
40
+
41
+ jQuery('body').toggleClass('show-nav-right');
42
+
43
  if ( jQuery( 'body' ).hasClass( 'show-nav-right') ){
44
  jQuery( 'body' ).css( 'overflow', 'hidden');
45
  } else {
46
  jQuery( 'body' ).css( 'overflow', '');
47
  }
48
+ });
49
+
50
+ jQuery('.mobmenu_content .sub-menu').each( function(){
51
+ jQuery( this ).before('<div class="mob-expand-submenu"><i class="mob-icon-down-open"></i><i class="mob-icon-up-open hide"></i></div>');
52
 
53
+ });
54
+
55
+ jQuery( document ).on( 'click', '.mob-expand-submenu' , function ( ) {
56
 
57
+ // Only autoclose when it isn't the opened sub menu
58
+ if( jQuery( this ).next()[0] != jQuery('.show-sub-menu')[0] ) {
59
+
60
+ jQuery( '.show-sub-menu' ).hide();
61
+ jQuery( '.show-sub-menu' ).prev().find('.mob-icon-down-open').toggleClass('hide');
62
+ jQuery( '.show-sub-menu' ).prev().find('.mob-icon-up-open').toggleClass('hide');
63
+ jQuery( '.show-sub-menu' ).toggleClass( 'show-sub-menu');
64
+
65
+ }
66
+
67
+ jQuery( this ).find('.mob-icon-down-open').toggleClass('hide');
68
  jQuery( this ).find('.mob-icon-up-open').toggleClass('hide');
69
+
70
+ if ( !jQuery( this ).next().hasClass( 'show-sub-menu' ) ) {
71
+
72
+ jQuery(this).next().fadeIn( 'slow' );
73
+
74
+ } else {
75
+
76
+ jQuery(this).next().hide();
77
+
78
+ }
79
 
80
+ jQuery(this).next().toggleClass( 'show-sub-menu');
81
+
82
+ });
83
 
84
 
85
+ });
mobmenu.php CHANGED
@@ -2,16 +2,15 @@
2
 
3
  /*
4
  Plugin Name: Mobile Menu
5
- Plugin URI: http://mobilemenu.jedipress.com/
6
- Description: Transform your website with a user friendly, dedicated and responsive mobile menu.
7
- Version: 2.2
8
  Author: Takanakui
9
  Author URI: http://www.jedipress.com
10
  License: GPLv2
11
  */
12
 
13
 
14
- // Create a helper function for easy SDK access.
15
  function mm_fs() {
16
  global $mm_fs;
17
 
@@ -35,6 +34,7 @@ function mm_fs() {
35
  return $mm_fs;
36
  }
37
 
 
38
  // Init Freemius.
39
  $mm_fs = mm_fs();
40
 
@@ -60,6 +60,7 @@ add_action( 'wp_loaded', 'mob_menu_register_sidebar' );
60
  //Enqueu Html to the Footer
61
  if ( !is_admin() ){
62
  add_action( 'wp_footer', 'mob_menu_markup');
 
63
  }
64
 
65
  add_action( 'tf_create_options', 'wp_mobile_menu_create_options' );
@@ -148,7 +149,7 @@ function wp_mobile_menu_create_options() {
148
  'type' => 'number',
149
  'desc' => 'Specify the width that will trigger the display of the mobile menu',
150
  'default' => get_option( 'mobmenu_opt_res_trigger' , '1024' ),
151
- 'max' => '1200',
152
  'min' => '479',
153
  'unit' => 'px'
154
 
@@ -192,6 +193,18 @@ function wp_mobile_menu_create_options() {
192
  'default' => get_option( 'mobmenu_opt_site_logo_img' )
193
 
194
  ) );
 
 
 
 
 
 
 
 
 
 
 
 
195
 
196
  //Alternative Site URL
197
  $header_tab->createOption( array(
@@ -203,6 +216,17 @@ function wp_mobile_menu_create_options() {
203
 
204
  ) );
205
 
 
 
 
 
 
 
 
 
 
 
 
206
  //Header Height
207
  $header_tab->createOption( array(
208
  'name' => 'Header Height',
@@ -237,8 +261,9 @@ function wp_mobile_menu_create_options() {
237
  'desc' => 'Enter the desired text for the Mobile Header',
238
  'default' => get_option('mobmenu_opt_header_text', ''),
239
  ) );
240
-
241
  //Header Text Font Size
 
242
  $header_tab->createOption( array(
243
  'name' => 'Header Text Font Size',
244
  'id' => 'header_font_size',
@@ -251,6 +276,38 @@ function wp_mobile_menu_create_options() {
251
 
252
  ) );
253
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
 
255
  $menus = get_terms( 'nav_menu', array( 'hide_empty' => true ) );
256
  $menus_options = array();
@@ -271,6 +328,54 @@ function wp_mobile_menu_create_options() {
271
 
272
  ) );
273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  // Icon Image/text Option
275
  $left_menu_tab->createOption( array(
276
  'name' => 'Menu Icon',
@@ -292,19 +397,44 @@ function wp_mobile_menu_create_options() {
292
 
293
  ) );
294
 
 
 
 
 
 
 
 
 
 
 
 
295
  //Left Menu Panel Width
296
  $left_menu_tab->createOption( array(
297
- 'name' => 'Left Menu Panel Width',
298
  'id' => 'left_menu_width',
299
  'type' => 'number',
300
  'desc' => 'Enter the Left Menu Panel Width',
301
  'default' => '270',
302
- 'max' => '450',
303
  'min' => '0',
304
  'unit' => 'px'
305
 
306
  ) );
307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  //Left Menu Icon Top Margin
309
  $left_menu_tab->createOption( array(
310
  'name' => 'Icon Top Margin',
@@ -363,18 +493,89 @@ function wp_mobile_menu_create_options() {
363
 
364
  ) );
365
 
366
- //Right Menu Panel Width
367
- $right_menu_tab->createOption( array(
368
- 'name' => 'Right Menu Panel Width',
369
- 'id' => 'right_menu_width',
370
- 'type' => 'number',
371
- 'desc' => 'Enter the Right Menu Panel Width',
372
- 'default' => '270',
373
- 'max' => '450',
374
- 'min' => '0',
375
- 'unit' => 'px'
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
 
379
  //Right Menu Icon Top Margin
380
  $right_menu_tab->createOption( array(
@@ -409,7 +610,8 @@ function wp_mobile_menu_create_options() {
409
  'id' => 'header_bg_color',
410
  'type' => 'color',
411
  'desc' => '',
412
- 'default' => get_option( 'mobmenu_opt_header_bgcolor' , '#616161' ),
 
413
  ) );
414
 
415
  //Header Text color
@@ -418,7 +620,8 @@ function wp_mobile_menu_create_options() {
418
  'id' => 'header_text_color',
419
  'type' => 'color',
420
  'desc' => '',
421
- 'default' => get_option( 'mobmenu_opt_header_textcolor', '#FFF' ),
 
422
  ) );
423
 
424
  // Header Left Menu Section
@@ -434,7 +637,8 @@ function wp_mobile_menu_create_options() {
434
  'id' => 'left_menu_icon_color',
435
  'type' => 'color',
436
  'desc' => '',
437
- 'default' => '#ffffff',
 
438
  ) );
439
 
440
  //Left Panel Background color
@@ -443,7 +647,8 @@ function wp_mobile_menu_create_options() {
443
  'id' => 'left_panel_bg_color',
444
  'type' => 'color',
445
  'desc' => '',
446
- 'default' => get_option( 'mobmenu_opt_left_menu_bgcolor', '#455A64' )
 
447
  ) );
448
 
449
  //Left Panel Text color
@@ -452,7 +657,8 @@ function wp_mobile_menu_create_options() {
452
  'id' => 'left_panel_text_color',
453
  'type' => 'color',
454
  'desc' => '',
455
- 'default' => get_option( 'mobmenu_opt_left_text_color', '#FFF' ),
 
456
  ) );
457
 
458
  //Left Panel Background Hover Color
@@ -461,7 +667,8 @@ function wp_mobile_menu_create_options() {
461
  'id' => 'left_panel_hover_bgcolor',
462
  'type' => 'color',
463
  'desc' => '',
464
- 'default' => get_option( 'mobmenu_opt_left_bg_color_hover', '#F0F8FF' ),
 
465
  ) );
466
 
467
  //Left Panel Text color Hover
@@ -470,7 +677,8 @@ function wp_mobile_menu_create_options() {
470
  'id' => 'left_panel_hover_text_color',
471
  'type' => 'color',
472
  'desc' => '',
473
- 'default' => get_option( 'mobmenu_opt_left_text_color_hover', '#455A64' ),
 
474
  ) );
475
 
476
 
@@ -480,7 +688,8 @@ function wp_mobile_menu_create_options() {
480
  'id' => 'left_panel_submenu_bgcolor',
481
  'type' => 'color',
482
  'desc' => '',
483
- 'default' => get_option( 'mobmenu_opt_left_submenu_bg_color', '#F0F8FF' ),
 
484
  ) );
485
 
486
  //Left Panel Sub-menu Text Color
@@ -489,7 +698,8 @@ function wp_mobile_menu_create_options() {
489
  'id' => 'left_panel_submenu_text_color',
490
  'type' => 'color',
491
  'desc' => '',
492
- 'default' => get_option( 'mobmenu_opt_left_submenu_text_color', '#F0F8FF' ),
 
493
  ) );
494
 
495
 
@@ -506,7 +716,8 @@ function wp_mobile_menu_create_options() {
506
  'id' => 'right_menu_icon_color',
507
  'type' => 'color',
508
  'desc' => '',
509
- 'default' => '#ffffff',
 
510
  ) );
511
 
512
  //Right Panel Background color
@@ -515,7 +726,8 @@ function wp_mobile_menu_create_options() {
515
  'id' => 'right_panel_bg_color',
516
  'type' => 'color',
517
  'desc' => '',
518
- 'default' => get_option( 'mobmenu_opt_left_menu_bgcolor', '#689F38' )
 
519
  ) );
520
 
521
  //Right Panel Text color
@@ -524,7 +736,8 @@ function wp_mobile_menu_create_options() {
524
  'id' => 'right_panel_text_color',
525
  'type' => 'color',
526
  'desc' => '',
527
- 'default' => get_option( 'mobmenu_opt_right_text_color', '#FFF' ),
 
528
  ) );
529
 
530
  //Right Panel Background Hover Color
@@ -533,7 +746,8 @@ function wp_mobile_menu_create_options() {
533
  'id' => 'right_panel_hover_bgcolor',
534
  'type' => 'color',
535
  'desc' => '',
536
- 'default' => get_option( 'mobmenu_opt_right_bg_color_hover', '#F0F8FF' ),
 
537
  ) );
538
 
539
  //Right Panel Text color Hover
@@ -542,7 +756,8 @@ function wp_mobile_menu_create_options() {
542
  'id' => 'right_panel_hover_text_color',
543
  'type' => 'color',
544
  'desc' => '',
545
- 'default' => get_option( 'mobmenu_opt_right_text_color_hover', '#455A64' ),
 
546
  ) );
547
 
548
  //Right Panel Sub-menu Background Color
@@ -551,7 +766,8 @@ function wp_mobile_menu_create_options() {
551
  'id' => 'right_panel_submenu_bgcolor',
552
  'type' => 'color',
553
  'desc' => '',
554
- 'default' => get_option( 'mobmenu_opt_right_submenu_bg_color', '#F0F8FF' ),
 
555
  ) );
556
 
557
  //Right Panel Sub-menu Text Color
@@ -560,7 +776,8 @@ function wp_mobile_menu_create_options() {
560
  'id' => 'right_panel_submenu_text_color',
561
  'type' => 'color',
562
  'desc' => '',
563
- 'default' => get_option( 'mobmenu_opt_right_submenu_text_color', '#F0F8FF' ),
 
564
  ) );
565
 
566
  $panel->createOption( array(
@@ -670,20 +887,32 @@ function mob_menu_markup(){
670
 
671
  }
672
 
673
- if ( $titan->getOption('logo_url') === '' ){
674
- $logo_url = get_bloginfo("url");
 
 
 
 
 
 
675
  } else {
676
- $logo_url = $titan->getOption('logo_url');
 
 
 
 
 
 
 
 
677
  }
678
 
679
- $output .= '<div class="logo-holder"><a href="' . $logo_url . '" class="headertext">';
680
- $logo_img = wp_get_attachment_image_src( $titan->getOption('logo_img'), 'full' );
681
- $logo_img = $logo_img[0];
682
-
683
 
684
- if ( $titan->getOption("enabled_logo") && $logo_img != '' ) {
685
  $output .= '<img src="' . $logo_img . '" alt="Logo Header Menu">';
686
- }else {
687
 
688
  $header_text = $titan->getOption( 'header_text' );
689
 
@@ -695,7 +924,7 @@ function mob_menu_markup(){
695
 
696
  }
697
 
698
- $output .= '</a></div>';
699
 
700
 
701
 
@@ -721,7 +950,7 @@ function mob_menu_markup(){
721
 
722
  }
723
 
724
- if ( $titan->getOption('enable_left_menu') ){
725
 
726
  $output = '';
727
  $output .= '<div class="mob-menu-left-panel mobmenu">
@@ -736,7 +965,7 @@ function mob_menu_markup(){
736
  echo $output;
737
 
738
  wp_nav_menu( array(
739
- 'menu' => $titan->getOption('left_menu'),
740
  'items_wrap' => '<li>%3$s</li>',
741
  'container_class' => 'menu rounded',
742
  'container' => '',
@@ -748,7 +977,7 @@ function mob_menu_markup(){
748
 
749
  echo '</ul><ul class="leftmbottom">';
750
  dynamic_sidebar( 'Left Menu Bottom' );
751
- echo '</ul></div></div>';
752
 
753
  }
754
  ?>
@@ -768,7 +997,7 @@ function mob_menu_markup(){
768
 
769
  <?php wp_nav_menu( array(
770
 
771
- 'menu' => $titan->getOption('right_menu'),
772
  'items_wrap' => '<li>%3$s</li>',
773
  'container_class' => 'menu rounded',
774
  'container' => '',
@@ -785,11 +1014,14 @@ function mob_menu_markup(){
785
  <?php dynamic_sidebar( 'Right Menu Bottom' ); ?>
786
  </div>
787
 
788
- </div>
 
789
  </div>
790
 
791
 
792
  <?php
 
 
793
  }
794
 
795
 
2
 
3
  /*
4
  Plugin Name: Mobile Menu
5
+ Plugin URI: http://www.wpmobilemenu.com/
6
+ Description: An easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged.
7
+ Version: 2.3
8
  Author: Takanakui
9
  Author URI: http://www.jedipress.com
10
  License: GPLv2
11
  */
12
 
13
 
 
14
  function mm_fs() {
15
  global $mm_fs;
16
 
34
  return $mm_fs;
35
  }
36
 
37
+
38
  // Init Freemius.
39
  $mm_fs = mm_fs();
40
 
60
  //Enqueu Html to the Footer
61
  if ( !is_admin() ){
62
  add_action( 'wp_footer', 'mob_menu_markup');
63
+
64
  }
65
 
66
  add_action( 'tf_create_options', 'wp_mobile_menu_create_options' );
149
  'type' => 'number',
150
  'desc' => 'Specify the width that will trigger the display of the mobile menu',
151
  'default' => get_option( 'mobmenu_opt_res_trigger' , '1024' ),
152
+ 'max' => '2000',
153
  'min' => '479',
154
  'unit' => 'px'
155
 
193
  'default' => get_option( 'mobmenu_opt_site_logo_img' )
194
 
195
  ) );
196
+
197
+ // Enable/Disable Naked Header
198
+ $header_tab->createOption( array(
199
+ 'name' => 'Naked Header',
200
+ 'id' => 'enabled_naked_header',
201
+ 'type' => 'enable',
202
+ 'default' => false,
203
+ 'desc' => 'Choose if you want to display a naked header with no background color(transparent).',
204
+ 'enabled' => 'Yes',
205
+ 'disabled' => 'No',
206
+ ) );
207
+
208
 
209
  //Alternative Site URL
210
  $header_tab->createOption( array(
216
 
217
  ) );
218
 
219
+ // Enable/Disable Logo Url
220
+ $header_tab->createOption( array(
221
+ 'name' => 'Disable Logo URL ',
222
+ 'id' => 'disabled_logo_url',
223
+ 'type' => 'enable',
224
+ 'default' => false,
225
+ 'desc' => 'Choose if you want to disable the logo url to avoid being redirect to the homepage or alternative home url when touching the header logo.',
226
+ 'enabled' => 'Yes',
227
+ 'disabled' => 'No',
228
+ ) );
229
+
230
  //Header Height
231
  $header_tab->createOption( array(
232
  'name' => 'Header Height',
261
  'desc' => 'Enter the desired text for the Mobile Header',
262
  'default' => get_option('mobmenu_opt_header_text', ''),
263
  ) );
264
+
265
  //Header Text Font Size
266
+
267
  $header_tab->createOption( array(
268
  'name' => 'Header Text Font Size',
269
  'id' => 'header_font_size',
276
 
277
  ) );
278
 
279
+ $def_value = $titan->getOption( 'header_font_size' );
280
+
281
+ if ( $def_value > 0 ) {
282
+ $def_value .= 'px';
283
+ } else {
284
+ $def_value = '';
285
+ }
286
+
287
+ $header_tab->createOption( array(
288
+ 'name' => 'Header Menu Font',
289
+ 'id' => 'header_menu_font',
290
+ 'type' => 'font',
291
+ 'desc' => 'Select a style',
292
+ 'show_font_weight' => true,
293
+ 'show_font_style' => true,
294
+ 'show_line_height' => true,
295
+ 'show_letter_spacing' => true,
296
+ 'show_text_transform' => true,
297
+ 'show_font_variant' => false,
298
+ 'show_text_shadow' => false,
299
+ 'show_color' => false,
300
+ 'css' => '.mobmenu .headertext {
301
+ value
302
+ }',
303
+ 'default' => array(
304
+ 'line-height' => '1.5em',
305
+ 'font-family' => 'Dosis',
306
+ 'font-size' => $def_value
307
+ ),
308
+
309
+ ) );
310
+
311
 
312
  $menus = get_terms( 'nav_menu', array( 'hide_empty' => true ) );
313
  $menus_options = array();
328
 
329
  ) );
330
 
331
+ $left_menu_tab->createOption( array(
332
+ 'name' => 'Left Menu Font',
333
+ 'id' => 'left_menu_font',
334
+ 'type' => 'font',
335
+ 'desc' => 'Select a style',
336
+ 'show_font_weight' => true,
337
+ 'show_font_style' => true,
338
+ 'show_line_height' => true,
339
+ 'show_letter_spacing' => true,
340
+ 'show_text_transform' => true,
341
+ 'show_font_variant' => false,
342
+ 'show_text_shadow' => false,
343
+ 'show_color' => false,
344
+ 'css' => '#mobmenuleft > .widgettitle, #mobmenuleft li a, #mobmenuleft li a:visited, #mobmenuleft .mobmenu_content h2, #mobmenuleft .mobmenu_content h3 {
345
+ value
346
+ }',
347
+ 'default' => array(
348
+ 'line-height' => '1.5em',
349
+ 'font-family' => 'Dosis'
350
+ ),
351
+
352
+ ) );
353
+
354
+
355
+ //Left Menu Background Image
356
+ $left_menu_tab->createOption( array(
357
+ 'name' => 'Left Menu Background Image',
358
+ 'id' => 'left_menu_bg_image',
359
+ 'type' => 'upload',
360
+ 'desc' => 'Upload your left menu background image(this will override the Background color option)',
361
+
362
+ ) );
363
+
364
+ //Left Menu Background Image Opacity
365
+ $left_menu_tab->createOption( array(
366
+ 'name' => 'Left Menu Background Image Opacity',
367
+ 'id' => 'left_menu_bg_opacity',
368
+ 'type' => 'number',
369
+ 'desc' => 'Enter the Left Background image opacity',
370
+ 'default' => '100',
371
+ 'max' => '100',
372
+ 'min' => '10',
373
+ 'step' => '10',
374
+ 'unit' => '%'
375
+
376
+ ) );
377
+
378
+
379
  // Icon Image/text Option
380
  $left_menu_tab->createOption( array(
381
  'name' => 'Menu Icon',
397
 
398
  ) );
399
 
400
+ // Left Menu Panel Width Units
401
+ $left_menu_tab->createOption( array(
402
+ 'name' => 'Left Menu Width Units',
403
+ 'id' => 'left_menu_width_units',
404
+ 'type' => 'enable',
405
+ 'default' => true,
406
+ 'desc' => 'Choose the width units.',
407
+ 'enabled' => 'Pixels',
408
+ 'disabled' => 'Percentage',
409
+ ) );
410
+
411
  //Left Menu Panel Width
412
  $left_menu_tab->createOption( array(
413
+ 'name' => 'Menu Panel Width(Pixels)',
414
  'id' => 'left_menu_width',
415
  'type' => 'number',
416
  'desc' => 'Enter the Left Menu Panel Width',
417
  'default' => '270',
418
+ 'max' => '1000',
419
  'min' => '0',
420
  'unit' => 'px'
421
 
422
  ) );
423
 
424
+
425
+ //Left Menu Panel Width
426
+ $left_menu_tab->createOption( array(
427
+ 'name' => 'Menu Panel Width(Percentage)',
428
+ 'id' => 'left_menu_width_percentage',
429
+ 'type' => 'number',
430
+ 'desc' => 'Enter the Left Menu Panel Width',
431
+ 'default' => '70',
432
+ 'max' => '90',
433
+ 'min' => '0',
434
+ 'unit' => '%'
435
+
436
+ ) );
437
+
438
  //Left Menu Icon Top Margin
439
  $left_menu_tab->createOption( array(
440
  'name' => 'Icon Top Margin',
493
 
494
  ) );
495
 
496
+ //Right Menu Font
497
+ $right_menu_tab->createOption( array(
498
+ 'name' => 'Right Menu Font',
499
+ 'id' => 'right_menu_font',
500
+ 'type' => 'font',
501
+ 'desc' => 'Select a style',
502
+ 'show_font_weight' => true,
503
+ 'show_font_style' => true,
504
+ 'show_line_height' => true,
505
+ 'show_letter_spacing' => true,
506
+ 'show_text_transform' => true,
507
+ 'show_font_variant' => false,
508
+ 'show_text_shadow' => false,
509
+ 'show_color' => false,
510
+ 'css' => '#mobmenuright li a, #mobmenuright li a:visited, #mobmenuright .mobmenu_content h2, #mobmenuright .mobmenu_content h3 {
511
+ value
512
+ }',
513
+ 'default' => array(
514
+ 'line-height' => '1.5em',
515
+ 'font-family' => 'Dosis'
516
+ ),
517
+
518
+ ) );
519
 
520
+ //Right Menu Background Image
521
+ $right_menu_tab->createOption( array(
522
+ 'name' => 'Right Menu Background Image',
523
+ 'id' => 'right_menu_bg_image',
524
+ 'type' => 'upload',
525
+ 'desc' => 'upload your right menu background image(this will override the Background color option)',
526
+
527
+ ) );
528
+
529
+ //Right Menu Background Image Opacity
530
+ $right_menu_tab->createOption( array(
531
+ 'name' => 'Right Menu Background Image Opacity',
532
+ 'id' => 'right_menu_bg_opacity',
533
+ 'type' => 'number',
534
+ 'desc' => 'Enter the Right Background image opacity',
535
+ 'default' => '100',
536
+ 'max' => '100',
537
+ 'min' => '10',
538
+ 'step' => '10',
539
+ 'unit' => '%'
540
+
541
+ ) );
542
+
543
+ //Right Menu Panel Width Units
544
+ $right_menu_tab->createOption( array(
545
+ 'name' => 'Right Menu Width Units',
546
+ 'id' => 'right_menu_width_units',
547
+ 'type' => 'enable',
548
+ 'default' => true,
549
+ 'desc' => 'Choose the width units.',
550
+ 'enabled' => 'Pixels',
551
+ 'disabled' => 'Percentage',
552
+ ) );
553
+
554
+ //Right Menu Panel Width
555
+ $right_menu_tab->createOption( array(
556
+ 'name' => 'Right Menu Panel Width(Pixels)',
557
+ 'id' => 'right_menu_width',
558
+ 'type' => 'number',
559
+ 'desc' => 'Enter the Right Menu Panel Width',
560
+ 'default' => '270',
561
+ 'max' => '450',
562
+ 'min' => '0',
563
+ 'unit' => 'px'
564
+
565
+ ) );
566
+
567
+ //Right Menu Panel Width
568
+ $right_menu_tab->createOption( array(
569
+ 'name' => 'Right Menu Panel Width(Percentage)',
570
+ 'id' => 'right_menu_width_percentage',
571
+ 'type' => 'number',
572
+ 'desc' => 'Enter the Right Menu Panel Width',
573
+ 'default' => '70',
574
+ 'max' => '90',
575
+ 'min' => '0',
576
+ 'unit' => '%'
577
+
578
+ ) );
579
 
580
  //Right Menu Icon Top Margin
581
  $right_menu_tab->createOption( array(
610
  'id' => 'header_bg_color',
611
  'type' => 'color',
612
  'desc' => '',
613
+ 'alpha' => true,
614
+ 'default' => get_option( 'mobmenu_opt_header_bgcolor' , '#3f444c' ),
615
  ) );
616
 
617
  //Header Text color
620
  'id' => 'header_text_color',
621
  'type' => 'color',
622
  'desc' => '',
623
+ 'alpha' => true,
624
+ 'default' => get_option( 'mobmenu_opt_header_textcolor', '#fff' ),
625
  ) );
626
 
627
  // Header Left Menu Section
637
  'id' => 'left_menu_icon_color',
638
  'type' => 'color',
639
  'desc' => '',
640
+ 'alpha' => true,
641
+ 'default' => '#fff',
642
  ) );
643
 
644
  //Left Panel Background color
647
  'id' => 'left_panel_bg_color',
648
  'type' => 'color',
649
  'desc' => '',
650
+ 'alpha' => true,
651
+ 'default' => get_option( 'mobmenu_opt_left_menu_bgcolor', '#38404c' )
652
  ) );
653
 
654
  //Left Panel Text color
657
  'id' => 'left_panel_text_color',
658
  'type' => 'color',
659
  'desc' => '',
660
+ 'alpha' => true,
661
+ 'default' => get_option( 'mobmenu_opt_left_text_color', '#fff' ),
662
  ) );
663
 
664
  //Left Panel Background Hover Color
667
  'id' => 'left_panel_hover_bgcolor',
668
  'type' => 'color',
669
  'desc' => '',
670
+ 'alpha' => true,
671
+ 'default' => get_option( 'mobmenu_opt_left_bg_color_hover', '#8dacba' ),
672
  ) );
673
 
674
  //Left Panel Text color Hover
677
  'id' => 'left_panel_hover_text_color',
678
  'type' => 'color',
679
  'desc' => '',
680
+ 'alpha' => true,
681
+ 'default' => get_option( 'mobmenu_opt_left_text_color_hover', '#fff' ),
682
  ) );
683
 
684
 
688
  'id' => 'left_panel_submenu_bgcolor',
689
  'type' => 'color',
690
  'desc' => '',
691
+ 'alpha' => true,
692
+ 'default' => get_option( 'mobmenu_opt_left_submenu_bg_color', '#3a3a3a' ),
693
  ) );
694
 
695
  //Left Panel Sub-menu Text Color
698
  'id' => 'left_panel_submenu_text_color',
699
  'type' => 'color',
700
  'desc' => '',
701
+ 'alpha' => true,
702
+ 'default' => get_option( 'mobmenu_opt_left_submenu_text_color', '#fff' ),
703
  ) );
704
 
705
 
716
  'id' => 'right_menu_icon_color',
717
  'type' => 'color',
718
  'desc' => '',
719
+ 'alpha' => true,
720
+ 'default' => '#fff',
721
  ) );
722
 
723
  //Right Panel Background color
726
  'id' => 'right_panel_bg_color',
727
  'type' => 'color',
728
  'desc' => '',
729
+ 'alpha' => true,
730
+ 'default' => get_option( 'mobmenu_opt_right_menu_bgcolor', '#38404c' )
731
  ) );
732
 
733
  //Right Panel Text color
736
  'id' => 'right_panel_text_color',
737
  'type' => 'color',
738
  'desc' => '',
739
+ 'alpha' => true,
740
+ 'default' => get_option( 'mobmenu_opt_right_text_color', '#fff' ),
741
  ) );
742
 
743
  //Right Panel Background Hover Color
746
  'id' => 'right_panel_hover_bgcolor',
747
  'type' => 'color',
748
  'desc' => '',
749
+ 'alpha' => true,
750
+ 'default' => get_option( 'mobmenu_opt_right_bg_color_hover', '#8dacba' ),
751
  ) );
752
 
753
  //Right Panel Text color Hover
756
  'id' => 'right_panel_hover_text_color',
757
  'type' => 'color',
758
  'desc' => '',
759
+ 'alpha' => true,
760
+ 'default' => get_option( 'mobmenu_opt_right_text_color_hover', '#fff' ),
761
  ) );
762
 
763
  //Right Panel Sub-menu Background Color
766
  'id' => 'right_panel_submenu_bgcolor',
767
  'type' => 'color',
768
  'desc' => '',
769
+ 'alpha' => true,
770
+ 'default' => get_option( 'mobmenu_opt_right_submenu_bg_color', '#3a3a3a' ),
771
  ) );
772
 
773
  //Right Panel Sub-menu Text Color
776
  'id' => 'right_panel_submenu_text_color',
777
  'type' => 'color',
778
  'desc' => '',
779
+ 'alpha' => true,
780
+ 'default' => get_option( 'mobmenu_opt_right_submenu_text_color', '#fff' ),
781
  ) );
782
 
783
  $panel->createOption( array(
887
 
888
  }
889
 
890
+
891
+ $logo_img = wp_get_attachment_image_src( $titan->getOption('logo_img'), 'full' );
892
+ $logo_img = $logo_img[0];
893
+
894
+ if ( $titan->getOption( 'disabled_logo_url' ) ) {
895
+ $logo_url = '<h3 class="headertext">';
896
+ $logo_url_end = '</h3>';
897
+
898
  } else {
899
+
900
+ if ( $titan->getOption( 'logo_url' ) === '' ){
901
+ $logo_url = get_bloginfo( 'url' );
902
+ } else {
903
+ $logo_url = $titan->getOption( 'logo_url' );
904
+ }
905
+
906
+ $logo_url_end = '</a>';
907
+ $logo_url = '<a href="' . $logo_url . '" class="headertext">';
908
  }
909
 
910
+ $output .= '<div class="logo-holder">' . $logo_url ;
911
+
 
 
912
 
913
+ if ( $titan->getOption( 'enabled_logo' ) && $logo_img != '' ) {
914
  $output .= '<img src="' . $logo_img . '" alt="Logo Header Menu">';
915
+ } else {
916
 
917
  $header_text = $titan->getOption( 'header_text' );
918
 
924
 
925
  }
926
 
927
+ $output .= $logo_url_end . '</div>';
928
 
929
 
930
 
950
 
951
  }
952
 
953
+ if ( $titan->getOption('enable_left_menu') ) {
954
 
955
  $output = '';
956
  $output .= '<div class="mob-menu-left-panel mobmenu">
965
  echo $output;
966
 
967
  wp_nav_menu( array(
968
+ 'menu' => $titan->getOption( 'left_menu' ),
969
  'items_wrap' => '<li>%3$s</li>',
970
  'container_class' => 'menu rounded',
971
  'container' => '',
977
 
978
  echo '</ul><ul class="leftmbottom">';
979
  dynamic_sidebar( 'Left Menu Bottom' );
980
+ echo '</ul></div><div class="mob-menu-left-bg-holder"></div></div>';
981
 
982
  }
983
  ?>
997
 
998
  <?php wp_nav_menu( array(
999
 
1000
+ 'menu' => $titan->getOption( 'right_menu' ),
1001
  'items_wrap' => '<li>%3$s</li>',
1002
  'container_class' => 'menu rounded',
1003
  'container' => '',
1014
  <?php dynamic_sidebar( 'Right Menu Bottom' ); ?>
1015
  </div>
1016
 
1017
+ </div>
1018
+ <div class="mob-menu-right-bg-holder"></div>
1019
  </div>
1020
 
1021
 
1022
  <?php
1023
+
1024
+
1025
  }
1026
 
1027
 
readme.txt CHANGED
@@ -1,26 +1,60 @@
1
  === WP Mobile Menu ===
2
  Contributors: takanakui, freemius
3
  link: http://profiles.wordpress.org/takanakui
4
- Tags: theme, mobile, menu, slide, addition, hide, show, widget, responsive, woocommerce
5
  Requires at least: 3.8.1
6
- Tested up to: 4.6
7
- Stable tag: 2.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
 
12
  == Description ==
13
 
14
- WP Mobile Menu is a Wordpress Plugin that allows you to have a specific Responsive Header and Footer Bars with several Menus that will only appear at a specific resolution determined by you. This way you can build extra menus when your website visitors access through Mobile Devices.
15
 
16
- The Menu Panels have Widgetized areas, this way you can add your own content above and bellow the Worpdress Menus.
17
 
18
- Check the demo at: http://www.wpmobilemenu.com/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  == Installation ==
22
 
23
- Install the .zip file using Wordpress
 
 
 
 
 
 
24
 
25
  -or-
26
 
@@ -34,9 +68,22 @@ Not available at the moment
34
  == Upgrade Notice ==
35
  Not available at the moment
36
 
37
- == Changelog ==
38
-
39
- = 2.2 = 6.08.2016
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  * New! - 2nd Level menus with touch to expand events
41
  * New! - New field in Header options to provide and alternative URL for the logo link(by default it links to the website)
42
  * Fixed! - Changed the Icon prefixing to avoid conflicts
@@ -67,9 +114,11 @@ wrap that uses the translate3d property
67
 
68
  == Screenshots ==
69
  1. **WP Mobile Menu in Action.**
70
- 2. **WP Mobile Menu Right Menu.**
71
- 3. **General Options.**
72
- 4. **Header Options.**
73
- 5. **Left Menu Options.**
74
- 6. **Right Menu Options.**
75
- 7. **Color Options.**
 
 
1
  === WP Mobile Menu ===
2
  Contributors: takanakui, freemius
3
  link: http://profiles.wordpress.org/takanakui
4
+ Tags: mobile, navigation, responsive, menu, slide, addition, hide, show, widget, dropdown menu, woocommerce
5
  Requires at least: 3.8.1
6
+ Tested up to: 4.7
7
+ Stable tag: 2.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
 
12
  == Description ==
13
 
14
+ WP Mobile Menu is an easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged, providing then easy access to your site content. Don't lose visitors because they can't click in your current menu items when displayed in a mobile/tablet device. It's possible to have two Responsive Mobile Menus per page, including an fixed header where you can place your logo/brand.
15
 
16
+ The Menus will be displayed at a resolution defined by you, and there are some options to hide the current theme menus. It's easy to add custom content to the left or right menu panel, just drag and drop your content to the specific left/right panel widgets.
17
 
18
+ No coding knowledge is required.
19
+
20
+ DEMO: <a target="_blank" href="http://www.wpmobilemenu.com/">http://www.wpmobilemenu.com</a>
21
+
22
+
23
+ ###Features:
24
+
25
+ <ul>
26
+ <li> 2 Menus, left and right </li>
27
+ <li> Logo/Text Branding </li>
28
+ <li> Background image for the menus </li>
29
+ <li> Naked Header </li>
30
+ <li> Set the screen width that will trigger the Mobile Menu </li>
31
+ <li> Hide specific elements when the Mobile Menu is visible(theme menus, or any html element) </li>
32
+ <li> Google Fonts </li>
33
+ <li> CSS3 Transitions </li>
34
+ <li> Customise the styling of your mobile menus </li>
35
+ <li> Builds upon the standard WordPress menus system </li>
36
+ <li> Display WordPress Widgets in your menu </li>
37
+ <li> Customise the styling of your mobile menus </li>
38
+ <li> and much more, install and see it for yourself </li>
39
+ </ul>
40
+
41
+ WP Mobile Menu it's very easy to use
42
+
43
+ * Great Support, just check it yourself.
44
+
45
+
46
+ <a target="_blank" href="https://wordpress.org/support/plugin/mobile-menu">WP Mobile Menu Support page</a>
47
 
48
 
49
  == Installation ==
50
 
51
+ 1. Go to the Plugins Menu in WordPress
52
+ 1. Search for "WP Mobile Menu"
53
+ 1. Click "Install"
54
+
55
+ -or.
56
+
57
+ Download and install the .zip file in the Wordpress plugin page of your website
58
 
59
  -or-
60
 
68
  == Upgrade Notice ==
69
  Not available at the moment
70
 
71
+ == Changelog ==
72
+
73
+ = 2.3 =
74
+ * New! - Google Fonts in the menu items
75
+ * New! - Background image in the menu panels
76
+ * New! - Google Fonts in the menu items
77
+ * New! - Naked Header with transparent background
78
+ * New! - Option to disable Url in the header
79
+ * Improved! - Right/left Menu Panel Width in percentage(%) and not only in Pixels(px)
80
+ * Improved! - Improved mechanism to automatically hide the menus of the themes
81
+ * Improved! - Improved Anchor Linking
82
+ * Improved! - Increased the maximum width trigger, to keep the menu visible in larger resolutions
83
+ * Improved! - Auto close open sub menus when expandin a new sub menu
84
+ * Improved! - General css fixes
85
+
86
+ = 2.2 =
87
  * New! - 2nd Level menus with touch to expand events
88
  * New! - New field in Header options to provide and alternative URL for the logo link(by default it links to the website)
89
  * Fixed! - Changed the Icon prefixing to avoid conflicts
114
 
115
  == Screenshots ==
116
  1. **WP Mobile Menu in Action.**
117
+ 2. **WP Mobile Menu.**
118
+ 3. **WP Mobile Menu Left Menu.**
119
+ 4. **WP Mobile Menu Right Menu.**
120
+ 5. **General Options.**
121
+ 6. **Header Options.**
122
+ 7. **Left Menu Options.**
123
+ 8. **Right Menu Options.**
124
+ 9. **Color Options.**
titan-framework/.gitignore CHANGED
File without changes
titan-framework/.jshintrc CHANGED
File without changes
titan-framework/.scrutinizer.yml CHANGED
File without changes
titan-framework/.tm_properties CHANGED
File without changes
titan-framework/.travis.yml CHANGED
File without changes
titan-framework/README.md CHANGED
File without changes
titan-framework/bin/install-wp-tests.sh CHANGED
File without changes
titan-framework/bower.json CHANGED
File without changes
titan-framework/composer.json CHANGED
File without changes
titan-framework/css/admin-styles.css CHANGED
File without changes
titan-framework/css/admin-theme-customizer-styles.css CHANGED
File without changes
titan-framework/css/class-option-date.css CHANGED
File without changes
titan-framework/css/class-option-font.css CHANGED
File without changes
titan-framework/gulpfile.js CHANGED
File without changes
titan-framework/inc/edd-licensing/EDD_SL_Plugin_Updater.php CHANGED
File without changes
titan-framework/inc/edd-licensing/theme-updater-class.php CHANGED
File without changes
titan-framework/inc/scssphp/LICENSE.md CHANGED
File without changes
titan-framework/inc/scssphp/README.md CHANGED
File without changes
titan-framework/inc/scssphp/composer.json CHANGED
File without changes
titan-framework/inc/scssphp/scss.inc.php CHANGED
File without changes
titan-framework/js/ace-min-noconflict/ace.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-css.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-html.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-javascript.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-json.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-less.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-lua.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-markdown.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-mysql.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-php.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-plain_text.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-python.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-ruby.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-sass.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-scss.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-sh.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-text.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/mode-xml.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/css.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/html.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/javascript.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/json.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/less.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/lua.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/markdown.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/mysql.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/php.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/plain_text.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/python.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/ruby.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/sass.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/scss.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/sh.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/text.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/snippets/xml.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-ambiance.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-chaos.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-chrome.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-clouds.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-clouds_midnight.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-cobalt.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-crimson_editor.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-dawn.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-dreamweaver.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-eclipse.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-github.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-idle_fingers.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-iplastic.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-katzenmilch.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-kr_theme.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-kuroir.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-merbivore.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-merbivore_soft.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-mono_industrial.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-monokai.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-pastel_on_dark.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-solarized_dark.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-solarized_light.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-sqlserver.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-terminal.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-textmate.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-tomorrow.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-tomorrow_night.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-tomorrow_night_blue.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-tomorrow_night_bright.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-tomorrow_night_eighties.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-twilight.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-vibrant_ink.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/theme-xcode.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-css.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-html.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-javascript.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-json.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-lua.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-php.js CHANGED
File without changes
titan-framework/js/ace-min-noconflict/worker-xml.js CHANGED
File without changes
titan-framework/js/admin-styling.js CHANGED
@@ -6,4 +6,5 @@ jQuery(document).ready(function($) {
6
  $('.titan-framework-panel-wrap table.form-table').filter(function() {
7
  return $(this).find('tbody tr').length === 0;
8
  }).remove();
 
9
  });
6
  $('.titan-framework-panel-wrap table.form-table').filter(function() {
7
  return $(this).find('tbody tr').length === 0;
8
  }).remove();
9
+
10
  });
titan-framework/js/dev/admin-styling.js CHANGED
@@ -1,6 +1,9 @@
1
  jQuery(document).ready(function($) {
2
  "use strict";
3
 
 
 
 
4
  // Removes the last blank table in admin pages. This is because a blank table is left if the last
5
  // option is a save option
6
  $('.titan-framework-panel-wrap table.form-table').filter(function() {
1
  jQuery(document).ready(function($) {
2
  "use strict";
3
 
4
+ alert("Titan");
5
+ $('#mobmenu_header_font_size').parent().parent().hide();
6
+
7
  // Removes the last blank table in admin pages. This is because a blank table is left if the last
8
  // option is a save option
9
  $('.titan-framework-panel-wrap table.form-table').filter(function() {
titan-framework/js/dev/jquery-ui-timepicker-addon.js CHANGED
File without changes
titan-framework/js/dev/serialize.js CHANGED
File without changes
titan-framework/js/dev/wp-color-picker-alpha.js CHANGED
File without changes
titan-framework/js/jquery-ui-timepicker-addon.js CHANGED
File without changes
titan-framework/js/min/admin-styling-min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(t){"use strict";t(".titan-framework-panel-wrap table.form-table").filter(function(){return 0===t(this).find("tbody tr").length}).remove()});
1
+ jQuery(document).ready(function(t){"use strict";t('#mobmenu_header_font_size').parent().parent().hide();t(".titan-framework-panel-wrap table.form-table").filter(function(){return 0===t(this).find("tbody tr").length}).remove()});
titan-framework/js/min/jquery-ui-timepicker-addon-min.js CHANGED
File without changes
titan-framework/js/min/serialize-min.js CHANGED
File without changes
titan-framework/js/min/wp-color-picker-alpha-min.js CHANGED
File without changes
titan-framework/js/serialize.js CHANGED
File without changes
titan-framework/js/wp-color-picker-alpha.js CHANGED
File without changes
titan-framework/languages/titan-framework-de_DE.mo CHANGED
File without changes
titan-framework/languages/titan-framework-de_DE.po CHANGED
File without changes
titan-framework/languages/titan-framework-en_US.mo CHANGED
File without changes
titan-framework/languages/titan-framework-en_US.po CHANGED
File without changes
titan-framework/languages/titan-framework-es_ES.mo CHANGED
File without changes
titan-framework/languages/titan-framework-es_ES.po CHANGED
File without changes
titan-framework/languages/titan-framework-fr_FR.mo CHANGED
File without changes
titan-framework/languages/titan-framework-fr_FR.po CHANGED
File without changes
titan-framework/languages/titan-framework-it_IT.mo CHANGED
File without changes
titan-framework/languages/titan-framework-it_IT.po CHANGED
File without changes
titan-framework/languages/titan-framework-pt_BR.mo CHANGED
File without changes
titan-framework/languages/titan-framework-pt_BR.po CHANGED
File without changes
titan-framework/languages/titan-framework-tr_TR.mo CHANGED
File without changes
titan-framework/languages/titan-framework-tr_TR.po CHANGED
File without changes
titan-framework/languages/titan-framework.pot CHANGED
File without changes
titan-framework/lib/class-admin-notification.php CHANGED
File without changes
titan-framework/lib/class-admin-page.php CHANGED
File without changes
titan-framework/lib/class-admin-tab.php CHANGED
File without changes
titan-framework/lib/class-customizer.php CHANGED
File without changes
titan-framework/lib/class-meta-box.php CHANGED
File without changes
titan-framework/lib/class-option-ajax-button.php CHANGED
File without changes
titan-framework/lib/class-option-checkbox.php CHANGED
File without changes
titan-framework/lib/class-option-code.php CHANGED
File without changes
titan-framework/lib/class-option-color.php CHANGED
File without changes
titan-framework/lib/class-option-custom.php CHANGED
File without changes
titan-framework/lib/class-option-date.php CHANGED
File without changes
titan-framework/lib/class-option-edd-license.php CHANGED
File without changes
titan-framework/lib/class-option-editor.php CHANGED
File without changes
titan-framework/lib/class-option-enable.php CHANGED
File without changes
titan-framework/lib/class-option-font.php CHANGED
File without changes
titan-framework/lib/class-option-gallery.php CHANGED
File without changes
titan-framework/lib/class-option-heading.php CHANGED
File without changes
titan-framework/lib/class-option-iframe.php CHANGED
File without changes
titan-framework/lib/class-option-multicheck-categories.php CHANGED
File without changes
titan-framework/lib/class-option-multicheck-pages.php CHANGED
File without changes
titan-framework/lib/class-option-multicheck-posts.php CHANGED
File without changes
titan-framework/lib/class-option-multicheck.php CHANGED
File without changes
titan-framework/lib/class-option-note.php CHANGED
File without changes
titan-framework/lib/class-option-number.php CHANGED
File without changes
titan-framework/lib/class-option-radio-image.php CHANGED
File without changes
titan-framework/lib/class-option-radio-palette.php CHANGED
File without changes
titan-framework/lib/class-option-radio.php CHANGED
File without changes
titan-framework/lib/class-option-save.php CHANGED
File without changes
titan-framework/lib/class-option-select-categories.php CHANGED
File without changes
titan-framework/lib/class-option-select-pages.php CHANGED
File without changes
titan-framework/lib/class-option-select-posts.php CHANGED
File without changes
titan-framework/lib/class-option-select.php CHANGED
File without changes
titan-framework/lib/class-option-separator.php CHANGED
File without changes
titan-framework/lib/class-option-sortable.php CHANGED
File without changes
titan-framework/lib/class-option-text.php CHANGED
File without changes
titan-framework/lib/class-option-textarea.php CHANGED
File without changes
titan-framework/lib/class-option-upload.php CHANGED
File without changes
titan-framework/lib/class-option.php CHANGED
File without changes
titan-framework/lib/class-titan-css.php CHANGED
File without changes
titan-framework/lib/class-titan-framework.php CHANGED
File without changes
titan-framework/lib/class-wp-customize-control.php CHANGED
File without changes
titan-framework/lib/functions-googlefonts.php CHANGED
File without changes
titan-framework/lib/functions-utils.php CHANGED
File without changes
titan-framework/lib/iframe-font-preview.php CHANGED
File without changes
titan-framework/package.json CHANGED
File without changes
titan-framework/phpunit.xml.dist CHANGED
File without changes
titan-framework/readme.txt CHANGED
File without changes
titan-framework/ruleset.xml CHANGED
File without changes
titan-framework/tests/bootstrap.php CHANGED
File without changes
titan-framework/tests/helpers/shims.php CHANGED
File without changes
titan-framework/tests/test-option-color.php CHANGED
File without changes
titan-framework/tests/test-option-text.php CHANGED
File without changes
titan-framework/tests/test-sample.php CHANGED
File without changes
titan-framework/tests/test-titan-framework-checker.php CHANGED
File without changes
titan-framework/tests/test-titan-framework.php CHANGED
File without changes
titan-framework/titan-framework-checker.php CHANGED
File without changes
titan-framework/titan-framework-embedder.php CHANGED
File without changes
titan-framework/titan-framework.php CHANGED
File without changes