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 | WP Mobile Menu |
Version | 2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2 to 2.3
- changelog.txt +24 -12
- css/animation.css +0 -0
- css/mobmenu.css +18 -15
- freemius/.gitignore +0 -0
- freemius/LICENSE.txt +0 -0
- freemius/README.md +0 -0
- freemius/assets/css/admin/account.css +0 -0
- freemius/assets/css/admin/add-ons.css +0 -0
- freemius/assets/css/admin/common.css +0 -0
- freemius/assets/css/admin/connect.css +0 -0
- freemius/assets/css/admin/deactivation-feedback.css +0 -0
- freemius/assets/css/admin/debug.css +0 -0
- freemius/assets/css/common.css +0 -0
- freemius/assets/img/plugin-icon.png +0 -0
- freemius/assets/js/jquery.ba-postmessage.js +0 -0
- freemius/assets/js/jquery.ba-postmessage.min.js +0 -0
- freemius/assets/js/nojquery.ba-postmessage.js +0 -0
- freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
- freemius/assets/js/postmessage.js +0 -0
- freemius/assets/scss/_colors.scss +0 -0
- freemius/assets/scss/_functions.scss +0 -0
- freemius/assets/scss/_load.scss +0 -0
- freemius/assets/scss/_mixins.scss +0 -0
- freemius/assets/scss/_start.scss +0 -0
- freemius/assets/scss/_vars.scss +0 -0
- freemius/assets/scss/admin/account.scss +0 -0
- freemius/assets/scss/admin/add-ons.scss +0 -0
- freemius/assets/scss/admin/common.scss +0 -0
- freemius/assets/scss/admin/connect.scss +0 -0
- freemius/assets/scss/admin/deactivation-feedback.scss +0 -0
- freemius/assets/scss/admin/debug.scss +0 -0
- freemius/composer.json +0 -0
- freemius/config.php +0 -0
- freemius/includes/class-freemius-abstract.php +0 -0
- freemius/includes/class-freemius.php +0 -0
- freemius/includes/class-fs-api.php +0 -0
- freemius/includes/class-fs-logger.php +0 -0
- freemius/includes/class-fs-plugin-updater.php +0 -0
- freemius/includes/class-fs-security.php +0 -0
- freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
- freemius/includes/debug/debug-bar-start.php +0 -0
- freemius/includes/entities/class-fs-entity.php +0 -0
- freemius/includes/entities/class-fs-plugin-info.php +0 -0
- freemius/includes/entities/class-fs-plugin-license.php +0 -0
- freemius/includes/entities/class-fs-plugin-plan.php +0 -0
- freemius/includes/entities/class-fs-plugin-tag.php +0 -0
- freemius/includes/entities/class-fs-plugin.php +0 -0
- freemius/includes/entities/class-fs-pricing.php +0 -0
- freemius/includes/entities/class-fs-scope-entity.php +0 -0
- freemius/includes/entities/class-fs-site.php +0 -0
- freemius/includes/entities/class-fs-subscription.php +0 -0
- freemius/includes/entities/class-fs-user.php +0 -0
- freemius/includes/fs-core-functions.php +0 -0
- freemius/includes/fs-essential-functions.php +0 -0
- freemius/includes/fs-plugin-info-dialog.php +0 -0
- freemius/includes/i18n.php +0 -0
- freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
- freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
- freemius/includes/managers/class-fs-cache-manager.php +0 -0
- freemius/includes/managers/class-fs-key-value-storage.php +0 -0
- freemius/includes/managers/class-fs-license-manager.php +0 -0
- freemius/includes/managers/class-fs-option-manager.php +0 -0
- freemius/includes/managers/class-fs-plan-manager.php +0 -0
- freemius/includes/managers/class-fs-plugin-manager.php +0 -0
- freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
- freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/Exception.php +0 -0
- freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
- freemius/includes/sdk/Freemius.php +0 -0
- freemius/includes/sdk/FreemiusBase.php +0 -0
- freemius/includes/sdk/LICENSE.txt +0 -0
- freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
- freemius/start.php +0 -0
- freemius/templates/account.php +0 -0
- freemius/templates/add-ons.php +0 -0
- freemius/templates/admin-notice.php +0 -0
- freemius/templates/all-admin-notice.php +0 -0
- freemius/templates/checkout.php +0 -0
- freemius/templates/connect.php +0 -0
- freemius/templates/contact.php +0 -0
- freemius/templates/deactivation-feedback-modal.php +0 -0
- freemius/templates/debug.php +0 -0
- freemius/templates/debug/api-calls.php +0 -0
- freemius/templates/debug/logger.php +0 -0
- freemius/templates/debug/scheduled-crons.php +0 -0
- freemius/templates/email.php +0 -0
- freemius/templates/firewall-issues-js.php +0 -0
- freemius/templates/plugin-icon.php +0 -0
- freemius/templates/plugin-info/description.php +0 -0
- freemius/templates/plugin-info/features.php +0 -0
- freemius/templates/plugin-info/screenshots.php +0 -0
- freemius/templates/powered-by.php +0 -0
- freemius/templates/pricing.php +0 -0
- freemius/templates/sticky-admin-notice-js.php +0 -0
- includes/style.php +93 -48
- js/mobmenu-admin.js +0 -250
- js/mobmenu.js +64 -50
- mobmenu.php +282 -50
- readme.txt +65 -16
- titan-framework/.gitignore +0 -0
- titan-framework/.jshintrc +0 -0
- titan-framework/.scrutinizer.yml +0 -0
- titan-framework/.tm_properties +0 -0
- titan-framework/.travis.yml +0 -0
- titan-framework/README.md +0 -0
- titan-framework/bin/install-wp-tests.sh +0 -0
- titan-framework/bower.json +0 -0
- titan-framework/composer.json +0 -0
- titan-framework/css/admin-styles.css +0 -0
- titan-framework/css/admin-theme-customizer-styles.css +0 -0
- titan-framework/css/class-option-date.css +0 -0
- titan-framework/css/class-option-font.css +0 -0
- titan-framework/gulpfile.js +0 -0
- titan-framework/inc/edd-licensing/EDD_SL_Plugin_Updater.php +0 -0
- titan-framework/inc/edd-licensing/theme-updater-class.php +0 -0
- titan-framework/inc/scssphp/LICENSE.md +0 -0
- titan-framework/inc/scssphp/README.md +0 -0
- titan-framework/inc/scssphp/composer.json +0 -0
- titan-framework/inc/scssphp/scss.inc.php +0 -0
- titan-framework/js/ace-min-noconflict/ace.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-css.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-html.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-javascript.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-json.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-less.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-lua.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-markdown.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-mysql.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-php.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-plain_text.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-python.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-ruby.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-sass.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-scss.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-sh.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-text.js +0 -0
- titan-framework/js/ace-min-noconflict/mode-xml.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/css.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/html.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/javascript.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/json.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/less.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/lua.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/markdown.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/mysql.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/php.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/plain_text.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/python.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/ruby.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/sass.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/scss.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/sh.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/text.js +0 -0
- titan-framework/js/ace-min-noconflict/snippets/xml.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-ambiance.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-chaos.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-chrome.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-clouds.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-clouds_midnight.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-cobalt.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-crimson_editor.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-dawn.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-dreamweaver.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-eclipse.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-github.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-idle_fingers.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-iplastic.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-katzenmilch.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-kr_theme.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-kuroir.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-merbivore.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-merbivore_soft.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-mono_industrial.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-monokai.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-pastel_on_dark.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-solarized_dark.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-solarized_light.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-sqlserver.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-terminal.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-textmate.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-tomorrow.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-tomorrow_night.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-tomorrow_night_blue.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-tomorrow_night_bright.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-tomorrow_night_eighties.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-twilight.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-vibrant_ink.js +0 -0
- titan-framework/js/ace-min-noconflict/theme-xcode.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-css.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-html.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-javascript.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-json.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-lua.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-php.js +0 -0
- titan-framework/js/ace-min-noconflict/worker-xml.js +0 -0
- titan-framework/js/admin-styling.js +1 -0
- titan-framework/js/dev/admin-styling.js +3 -0
- titan-framework/js/dev/jquery-ui-timepicker-addon.js +0 -0
- titan-framework/js/dev/serialize.js +0 -0
- titan-framework/js/dev/wp-color-picker-alpha.js +0 -0
- titan-framework/js/jquery-ui-timepicker-addon.js +0 -0
- titan-framework/js/min/admin-styling-min.js +1 -1
- titan-framework/js/min/jquery-ui-timepicker-addon-min.js +0 -0
- titan-framework/js/min/serialize-min.js +0 -0
- titan-framework/js/min/wp-color-picker-alpha-min.js +0 -0
- titan-framework/js/serialize.js +0 -0
- titan-framework/js/wp-color-picker-alpha.js +0 -0
- titan-framework/languages/titan-framework-de_DE.mo +0 -0
- titan-framework/languages/titan-framework-de_DE.po +0 -0
- titan-framework/languages/titan-framework-en_US.mo +0 -0
- titan-framework/languages/titan-framework-en_US.po +0 -0
- titan-framework/languages/titan-framework-es_ES.mo +0 -0
- titan-framework/languages/titan-framework-es_ES.po +0 -0
- titan-framework/languages/titan-framework-fr_FR.mo +0 -0
- titan-framework/languages/titan-framework-fr_FR.po +0 -0
- titan-framework/languages/titan-framework-it_IT.mo +0 -0
- titan-framework/languages/titan-framework-it_IT.po +0 -0
- titan-framework/languages/titan-framework-pt_BR.mo +0 -0
- titan-framework/languages/titan-framework-pt_BR.po +0 -0
- titan-framework/languages/titan-framework-tr_TR.mo +0 -0
- titan-framework/languages/titan-framework-tr_TR.po +0 -0
- titan-framework/languages/titan-framework.pot +0 -0
- titan-framework/lib/class-admin-notification.php +0 -0
- titan-framework/lib/class-admin-page.php +0 -0
- titan-framework/lib/class-admin-tab.php +0 -0
- titan-framework/lib/class-customizer.php +0 -0
- titan-framework/lib/class-meta-box.php +0 -0
- titan-framework/lib/class-option-ajax-button.php +0 -0
- titan-framework/lib/class-option-checkbox.php +0 -0
- titan-framework/lib/class-option-code.php +0 -0
- titan-framework/lib/class-option-color.php +0 -0
- titan-framework/lib/class-option-custom.php +0 -0
- titan-framework/lib/class-option-date.php +0 -0
- titan-framework/lib/class-option-edd-license.php +0 -0
- titan-framework/lib/class-option-editor.php +0 -0
- titan-framework/lib/class-option-enable.php +0 -0
- titan-framework/lib/class-option-font.php +0 -0
- titan-framework/lib/class-option-gallery.php +0 -0
- titan-framework/lib/class-option-heading.php +0 -0
- titan-framework/lib/class-option-iframe.php +0 -0
- titan-framework/lib/class-option-multicheck-categories.php +0 -0
- titan-framework/lib/class-option-multicheck-pages.php +0 -0
- titan-framework/lib/class-option-multicheck-posts.php +0 -0
- titan-framework/lib/class-option-multicheck.php +0 -0
- titan-framework/lib/class-option-note.php +0 -0
- titan-framework/lib/class-option-number.php +0 -0
- titan-framework/lib/class-option-radio-image.php +0 -0
- titan-framework/lib/class-option-radio-palette.php +0 -0
- titan-framework/lib/class-option-radio.php +0 -0
- titan-framework/lib/class-option-save.php +0 -0
- titan-framework/lib/class-option-select-categories.php +0 -0
- titan-framework/lib/class-option-select-pages.php +0 -0
- titan-framework/lib/class-option-select-posts.php +0 -0
- titan-framework/lib/class-option-select.php +0 -0
- titan-framework/lib/class-option-separator.php +0 -0
- titan-framework/lib/class-option-sortable.php +0 -0
- titan-framework/lib/class-option-text.php +0 -0
- titan-framework/lib/class-option-textarea.php +0 -0
- titan-framework/lib/class-option-upload.php +0 -0
- titan-framework/lib/class-option.php +0 -0
- titan-framework/lib/class-titan-css.php +0 -0
- titan-framework/lib/class-titan-framework.php +0 -0
- titan-framework/lib/class-wp-customize-control.php +0 -0
- titan-framework/lib/functions-googlefonts.php +0 -0
- titan-framework/lib/functions-utils.php +0 -0
- titan-framework/lib/iframe-font-preview.php +0 -0
- titan-framework/package.json +0 -0
- titan-framework/phpunit.xml.dist +0 -0
- titan-framework/readme.txt +0 -0
- titan-framework/ruleset.xml +0 -0
- titan-framework/tests/bootstrap.php +0 -0
- titan-framework/tests/helpers/shims.php +0 -0
- titan-framework/tests/test-option-color.php +0 -0
- titan-framework/tests/test-option-text.php +0 -0
- titan-framework/tests/test-sample.php +0 -0
- titan-framework/tests/test-titan-framework-checker.php +0 -0
- titan-framework/tests/test-titan-framework.php +0 -0
- titan-framework/titan-framework-checker.php +0 -0
- titan-framework/titan-framework-embedder.php +0 -0
- 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:
|
213 |
-
|
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 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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'); ?>
|
44 |
Â
}
|
45 |
Â
.mobmenul-container .mobmenu-left-bt{
|
46 |
-
color: <?php echo $titan->getOption('left_menu_icon_color'); ?>
|
47 |
Â
}
|
48 |
Â
#mobmenuleft li a , #mobmenuleft li a:visited {
|
49 |
-
|
50 |
-
color: <?php echo $titan->getOption('left_panel_text_color');?> !important;
|
51 |
Â
|
52 |
Â
}
|
53 |
Â
.mobmenu_content h2, .mobmenu_content h3{
|
54 |
-
|
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")
|
62 |
Â
}
|
63 |
Â
|
64 |
Â
.mobmenu_content #mobmenuright li:hover {
|
65 |
-
background-color: <?php echo $titan->getOption("right_panel_hover_bgcolor");?>
|
66 |
Â
}
|
67 |
Â
|
68 |
Â
.mobmenu_content #mobmenuleft .sub-menu {
|
69 |
-
background-color: <?php echo $titan->getOption("left_panel_submenu_bgcolor");?>
|
70 |
Â
margin: 0;
|
71 |
-
color: <?php echo $titan->getOption("left_panel_submenu_text_color");?>
|
72 |
Â
width: 100%;
|
73 |
Â
|
74 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
75 |
Â
|
76 |
Â
.mobmenu_content #mobmenuleft .sub-menu a {
|
77 |
-
color: <?php echo $titan->getOption("left_panel_submenu_text_color");?>
|
78 |
Â
}
|
79 |
Â
|
80 |
Â
.mobmenu_content #mobmenuright .sub-menu a{
|
81 |
-
color: <?php echo $titan->getOption("right_panel_submenu_text_color");?>
|
82 |
Â
}
|
83 |
Â
|
84 |
Â
.mobmenu_content #mobmenuright .sub-menu {
|
85 |
-
background-color: <?php echo $titan->getOption("right_panel_submenu_bgcolor");?>
|
86 |
Â
margin: 0;
|
87 |
-
color: <?php echo $titan->getOption("right_panel_submenu_text_color");?>
|
88 |
Â
}
|
89 |
Â
|
90 |
Â
#mobmenuleft li a:hover {
|
91 |
-
|
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');?>
|
98 |
Â
}
|
99 |
Â
|
100 |
Â
#mobmenuright li a:hover {
|
101 |
-
color: <?php echo $titan->getOption('right_panel_hover_text_color');?>
|
102 |
Â
}
|
103 |
Â
|
104 |
Â
.mobmenul-container{
|
@@ -120,7 +166,7 @@
|
|
120 |
Â
|
121 |
Â
.mob_menu_header_div{
|
122 |
Â
|
123 |
-
background-color: <?php echo $
|
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 $
|
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 $
|
144 |
-
-moz-transform: translateX(-<?php echo $
|
145 |
-
-ms-transform: translateX(-<?php echo $
|
146 |
-
-o-transform: translateX(-<?php echo $
|
147 |
-
transform: translateX(-<?php echo $
|
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 $
|
154 |
-
-moz-transform: translateX( <?php echo $
|
155 |
-
-ms-transform: translateX( <?php echo $
|
156 |
-
-o-transform: translateX( <?php echo $
|
157 |
-
transform: translateX( <?php echo $
|
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 $
|
164 |
-
-moz-transform: translate(<?php echo $
|
165 |
-
-ms-transform: translate(<?php echo $
|
166 |
-
-o-transform: translate(<?php echo $
|
167 |
-
transform: translate(<?php echo $
|
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 $
|
179 |
-
-moz-transform: translate(-<?php echo $
|
180 |
-
-ms-transform: translate(-<?php echo $
|
181 |
-
-o-transform: translate(-<?php echo $
|
182 |
-
transform: translate(-<?php echo $
|
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'); ?>
|
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 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
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 |
-
|
39 |
-
|
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 |
-
|
49 |
-
|
Â
|
|
50 |
Â
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
56 |
Â
jQuery( this ).find('.mob-icon-up-open').toggleClass('hide');
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
Â
|
|
Â
|
|
65 |
Â
|
66 |
-
|
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://
|
6 |
-
Description:
|
7 |
-
Version: 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' => '
|
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' => '
|
298 |
Â
'id' => 'left_menu_width',
|
299 |
Â
'type' => 'number',
|
300 |
Â
'desc' => 'Enter the Left Menu Panel Width',
|
301 |
Â
'default' => '270',
|
302 |
-
'max' => '
|
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 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
'
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
'
|
Â
|
|
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 |
-
'
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
'
|
Â
|
|
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 |
-
|
Â
|
|
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 |
-
'
|
Â
|
|
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 |
-
'
|
Â
|
|
564 |
Â
) );
|
565 |
Â
|
566 |
Â
$panel->createOption( array(
|
@@ -670,20 +887,32 @@ function mob_menu_markup(){
|
|
670 |
Â
|
671 |
Â
}
|
672 |
Â
|
673 |
-
|
674 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
675 |
Â
} else {
|
676 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
677 |
Â
}
|
678 |
Â
|
679 |
-
$output .= '<div class="logo-holder"
|
680 |
-
|
681 |
-
$logo_img = $logo_img[0];
|
682 |
-
|
683 |
Â
|
684 |
-
if ( $titan->getOption(
|
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 .= '</
|
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:
|
5 |
Â
Requires at least: 3.8.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 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
|
15 |
Â
|
16 |
-
The
|
17 |
Â
|
18 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
19 |
Â
|
20 |
Â
|
21 |
Â
== Installation ==
|
22 |
Â
|
23 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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.
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
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
|
71 |
-
3. **
|
72 |
-
4. **
|
73 |
-
5. **
|
74 |
-
6. **
|
75 |
-
7. **
|
Â
|
|
Â
|
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
|