| 1 |
<?php |
| 2 |
/** |
| 3 |
* This file contain the list of functions which have default options. |
| 4 |
* |
| 5 |
* @version 4.0.0 |
| 6 |
* |
| 7 |
* @package responsive-menu |
| 8 |
*/ |
| 9 |
|
| 10 |
/** |
| 11 |
* Function return the global settings default values. |
| 12 |
* |
| 13 |
* @version 4.0.0 |
| 14 |
* |
| 15 |
* @return array List of options. |
| 16 |
*/ |
| 17 |
function rmp_global_default_setting_options() { |
| 18 |
return array( |
| 19 |
'rmp_custom_css' => '', |
| 20 |
'rmp_dark_mode' => 'off', |
| 21 |
'rmp_license_key' => '', |
| 22 |
'menu_adjust_for_wp_admin_bar' => 'adjust', |
| 23 |
'rmp_external_files' => 'on', |
| 24 |
'rmp_minify_scripts' => 'on', |
| 25 |
'rmp_scripts_in_footer' => 'on', |
| 26 |
'rmp_remove_fontawesome' => 'off', |
| 27 |
'rmp_remove_glyphicon' => 'off', |
| 28 |
'rmp_remove_dashicons' => 'off', |
| 29 |
'rmp_remove_material_icons' => 'off', |
| 30 |
'rmp_wp_footer_hook' => 'off', |
| 31 |
); |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* Function return the multi device options. |
| 36 |
* Here, Add the option which you want to make the multi device. |
| 37 |
* |
| 38 |
* @version 4.0.0 |
| 39 |
* |
| 40 |
* @return array List of options. |
| 41 |
*/ |
| 42 |
function rmp_get_multi_device_options() { |
| 43 |
return array( |
| 44 |
'menu_font' => '', |
| 45 |
'menu_font_size' => '', |
| 46 |
'menu_font_size_unit' => 'px', |
| 47 |
'menu_item_background_colour' => '', |
| 48 |
'menu_item_background_hover_colour' => '#212121', |
| 49 |
'menu_link_colour' => '', |
| 50 |
'menu_link_hover_colour' => '', |
| 51 |
'menu_links_height' => '', |
| 52 |
'menu_links_height_unit' => 'px', |
| 53 |
'menu_links_line_height' => '40', |
| 54 |
'menu_links_line_height_unit' => 'px', |
| 55 |
'submenu_font' => '', |
| 56 |
'submenu_font_size' => '', |
| 57 |
'submenu_font_size_unit' => '', |
| 58 |
'submenu_item_background_colour' => '', |
| 59 |
'submenu_item_background_hover_colour' => '#212121', |
| 60 |
'submenu_link_colour' => '', |
| 61 |
'submenu_link_hover_colour' => '', |
| 62 |
'submenu_links_height' => '', |
| 63 |
'submenu_links_height_unit' => 'px', |
| 64 |
'submenu_links_line_height' => '', |
| 65 |
'submenu_links_line_height_unit' => 'px', |
| 66 |
); |
| 67 |
} |
| 68 |
|
| 69 |
function rmp_animation_delay_options() { |
| 70 |
$time_options = array( |
| 71 |
'100ms' => '100ms', |
| 72 |
'200ms' => '200ms', |
| 73 |
'300ms' => '300ms', |
| 74 |
'400ms' => '400ms', |
| 75 |
'500ms' => '500ms', |
| 76 |
'600ms' => '600ms', |
| 77 |
'700ms' => '700ms', |
| 78 |
'800ms' => '800ms', |
| 79 |
'900ms' => '900ms', |
| 80 |
'1000ms' => '1000ms', |
| 81 |
); |
| 82 |
|
| 83 |
return $time_options; |
| 84 |
} |
| 85 |
|
| 86 |
/** |
| 87 |
* Function to return the list of shortcut keys for menu open and close. |
| 88 |
* |
| 89 |
* @version 4.0.0 |
| 90 |
* |
| 91 |
* @return array |
| 92 |
*/ |
| 93 |
function rmp_get_menu_open_close_keys() { |
| 94 |
return array( |
| 95 |
27 => 'Esc', |
| 96 |
13 => 'Enter', |
| 97 |
32 => 'Space', |
| 98 |
37 => 'Left', |
| 99 |
38 => 'Up', |
| 100 |
39 => 'Right', |
| 101 |
40 => 'Down', |
| 102 |
); |
| 103 |
} |
| 104 |
|
| 105 |
function rmp_font_weight_options() { |
| 106 |
$unit_options = array( |
| 107 |
'100' => '100', |
| 108 |
'200' => '200', |
| 109 |
'300' => '300', |
| 110 |
'400' => '400', |
| 111 |
'500' => '500', |
| 112 |
'600' => '600', |
| 113 |
'700' => '700', |
| 114 |
'800' => '800', |
| 115 |
'900' => '900', |
| 116 |
'normal' => 'Normal', |
| 117 |
'bold' => 'Bold', |
| 118 |
'bolder' => 'Bolder', |
| 119 |
'lighter' => 'Lighter', |
| 120 |
'initial' => 'Initial', |
| 121 |
'inherit' => 'Inherit', |
| 122 |
); |
| 123 |
|
| 124 |
$unit_options = apply_filters( 'rmp_font_weight_options', $unit_options ); |
| 125 |
|
| 126 |
return $unit_options; |
| 127 |
} |
| 128 |
|
| 129 |
function rmp_hamburger_type_animation_options() { |
| 130 |
$type = array( |
| 131 |
'off' => esc_html__( 'Off', 'responsive-menu' ), |
| 132 |
'boring' => esc_html__( 'Boring', 'responsive-menu' ), |
| 133 |
'3dx' => esc_html__( '3DX (PRO)', 'responsive-menu' ), |
| 134 |
'3dx-r' => esc_html__( '3DX Reverse (PRO)', 'responsive-menu' ), |
| 135 |
'3dy' => esc_html__( '3DY (PRO)', 'responsive-menu' ), |
| 136 |
'3dy-r' => esc_html__( '3DY Reverse (PRO)', 'responsive-menu' ), |
| 137 |
'arrow' => esc_html__( 'Arrow (PRO)', 'responsive-menu' ), |
| 138 |
'arrow-r' => esc_html__( 'Arrow Reverse (PRO)', 'responsive-menu' ), |
| 139 |
'arrowalt' => esc_html__( 'Arrow Alt (PRO)', 'responsive-menu' ), |
| 140 |
'arrowalt-r' => esc_html__( 'Arrow Alt Reverse (PRO)', 'responsive-menu' ), |
| 141 |
'collapse' => esc_html__( 'Collapse (PRO)', 'responsive-menu' ), |
| 142 |
'collapse-r' => esc_html__( 'Collapse Reverse (PRO)', 'responsive-menu' ), |
| 143 |
'elastic' => esc_html__( 'Elastic (PRO)', 'responsive-menu' ), |
| 144 |
'elastic-r' => esc_html__( 'Elastic Reverse (PRO)', 'responsive-menu' ), |
| 145 |
'emphatic' => esc_html__( 'Emphatic (PRO)', 'responsive-menu' ), |
| 146 |
'emphatic-r' => esc_html__( 'Emphatic Reverse (PRO)', 'responsive-menu' ), |
| 147 |
'minus' => esc_html__( 'Minus (PRO)', 'responsive-menu' ), |
| 148 |
'slider' => esc_html__( 'Slider (PRO)', 'responsive-menu' ), |
| 149 |
'slider-r' => esc_html__( 'Slider Reverse (PRO)', 'responsive-menu' ), |
| 150 |
'spin' => esc_html__( 'Spin (PRO)', 'responsive-menu' ), |
| 151 |
'spin-r' => esc_html__( 'Spin Reverse (PRO)', 'responsive-menu' ), |
| 152 |
'spring' => esc_html__( 'Spring (PRO)', 'responsive-menu' ), |
| 153 |
'spring-r' => esc_html__( 'Spring Reverse (PRO)', 'responsive-menu' ), |
| 154 |
'stand' => esc_html__( 'Stand (PRO)', 'responsive-menu' ), |
| 155 |
'stand-r' => esc_html__( 'Stand Reverse (PRO)', 'responsive-menu' ), |
| 156 |
'squeeze' => esc_html__( 'Squeeze (PRO)', 'responsive-menu' ), |
| 157 |
'vortex' => esc_html__( 'Vortex (PRO)', 'responsive-menu' ), |
| 158 |
'vortex-r' => esc_html__( 'Vortex Reverse (PRO)', 'responsive-menu' ), |
| 159 |
); |
| 160 |
|
| 161 |
$type = apply_filters( 'rmp_button_animation_type', $type ); |
| 162 |
|
| 163 |
return $type; |
| 164 |
} |
| 165 |
|
| 166 |
|
| 167 |
/** |
| 168 |
* List of all available DashIcon classes. |
| 169 |
* |
| 170 |
* @since 1.0 |
| 171 |
* @return array - Sorted list of icon classes |
| 172 |
*/ |
| 173 |
function rmp_all_dash_icons() { |
| 174 |
$icons = array( |
| 175 |
'dash-f333' => 'dashicons-menu', |
| 176 |
'dash-f319' => 'dashicons-admin-site', |
| 177 |
'dash-f226' => 'dashicons-dashboard', |
| 178 |
'dash-f109' => 'dashicons-admin-post', |
| 179 |
'dash-f104' => 'dashicons-admin-media', |
| 180 |
'dash-f103' => 'dashicons-admin-links', |
| 181 |
'dash-f105' => 'dashicons-admin-page', |
| 182 |
'dash-f101' => 'dashicons-admin-comments', |
| 183 |
'dash-f100' => 'dashicons-admin-appearance', |
| 184 |
'dash-f106' => 'dashicons-admin-plugins', |
| 185 |
'dash-f110' => 'dashicons-admin-users', |
| 186 |
'dash-f107' => 'dashicons-admin-tools', |
| 187 |
'dash-f108' => 'dashicons-admin-settings', |
| 188 |
'dash-f112' => 'dashicons-admin-network', |
| 189 |
'dash-f102' => 'dashicons-admin-home', |
| 190 |
'dash-f111' => 'dashicons-admin-generic', |
| 191 |
'dash-f148' => 'dashicons-admin-collapse', |
| 192 |
'dash-f536' => 'dashicons-filter', |
| 193 |
'dash-f540' => 'dashicons-admin-editor', |
| 194 |
'dash-f541' => 'dashicons-admin-multisite', |
| 195 |
'dash-f119' => 'dashicons-welcome-write-blog', |
| 196 |
'dash-f133' => 'dashicons-welcome-add-page', |
| 197 |
'dash-f115' => 'dashicons-welcome-view-site', |
| 198 |
'dash-f116' => 'dashicons-welcome-widgets-menus', |
| 199 |
'dash-f117' => 'dashicons-welcome-comments', |
| 200 |
'dash-f118' => 'dashicons-welcome-learn-more', |
| 201 |
'dash-f123' => 'dashicons-format-aside', |
| 202 |
'dash-f128' => 'dashicons-format-image', |
| 203 |
'dash-f161' => 'dashicons-format-gallery', |
| 204 |
'dash-f126' => 'dashicons-format-video', |
| 205 |
'dash-f130' => 'dashicons-format-status', |
| 206 |
'dash-f122' => 'dashicons-format-quote', |
| 207 |
'dash-f125' => 'dashicons-format-chat', |
| 208 |
'dash-f127' => 'dashicons-format-audio', |
| 209 |
'dash-f306' => 'dashicons-camera', |
| 210 |
'dash-f232' => 'dashicons-images-alt', |
| 211 |
'dash-f233' => 'dashicons-images-alt2', |
| 212 |
'dash-f234' => 'dashicons-video-alt', |
| 213 |
'dash-f235' => 'dashicons-video-alt2', |
| 214 |
'dash-f236' => 'dashicons-video-alt3', |
| 215 |
'dash-f501' => 'dashicons-media-archive', |
| 216 |
'dash-f500' => 'dashicons-media-audio', |
| 217 |
'dash-f499' => 'dashicons-media-code', |
| 218 |
'dash-f498' => 'dashicons-media-default', |
| 219 |
'dash-f497' => 'dashicons-media-document', |
| 220 |
'dash-f496' => 'dashicons-media-interactive', |
| 221 |
'dash-f495' => 'dashicons-media-spreadsheet', |
| 222 |
'dash-f491' => 'dashicons-media-text', |
| 223 |
'dash-f490' => 'dashicons-media-video', |
| 224 |
'dash-f492' => 'dashicons-playlist-audio', |
| 225 |
'dash-f493' => 'dashicons-playlist-video', |
| 226 |
'dash-f522' => 'dashicons-controls-play', |
| 227 |
'dash-f523' => 'dashicons-controls-pause', |
| 228 |
'dash-f519' => 'dashicons-controls-forward', |
| 229 |
'dash-f517' => 'dashicons-controls-skipforward', |
| 230 |
'dash-f518' => 'dashicons-controls-back', |
| 231 |
'dash-f516' => 'dashicons-controls-skipback', |
| 232 |
'dash-f515' => 'dashicons-controls-repeat', |
| 233 |
'dash-f521' => 'dashicons-controls-volumeon', |
| 234 |
'dash-f520' => 'dashicons-controls-volumeoff', |
| 235 |
'dash-f165' => 'dashicons-image-crop', |
| 236 |
'dash-f531' => 'dashicons-image-rotate', |
| 237 |
'dash-f166' => 'dashicons-image-rotate-left', |
| 238 |
'dash-f167' => 'dashicons-image-rotate-right', |
| 239 |
'dash-f168' => 'dashicons-image-flip-vertical', |
| 240 |
'dash-f169' => 'dashicons-image-flip-horizontal', |
| 241 |
'dash-f533' => 'dashicons-image-filter', |
| 242 |
'dash-f171' => 'dashicons-undo', |
| 243 |
'dash-f172' => 'dashicons-redo', |
| 244 |
'dash-f200' => 'dashicons-editor-bold', |
| 245 |
'dash-f201' => 'dashicons-editor-italic', |
| 246 |
'dash-f203' => 'dashicons-editor-ul', |
| 247 |
'dash-f204' => 'dashicons-editor-ol', |
| 248 |
'dash-f205' => 'dashicons-editor-quote', |
| 249 |
'dash-f206' => 'dashicons-editor-alignleft', |
| 250 |
'dash-f207' => 'dashicons-editor-aligncenter', |
| 251 |
'dash-f208' => 'dashicons-editor-alignright', |
| 252 |
'dash-f209' => 'dashicons-editor-insertmore', |
| 253 |
'dash-f210' => 'dashicons-editor-spellcheck', |
| 254 |
'dash-f211' => 'dashicons-editor-expand', |
| 255 |
'dash-f506' => 'dashicons-editor-contract', |
| 256 |
'dash-f212' => 'dashicons-editor-kitchensink', |
| 257 |
'dash-f213' => 'dashicons-editor-underline', |
| 258 |
'dash-f214' => 'dashicons-editor-justify', |
| 259 |
'dash-f215' => 'dashicons-editor-textcolor', |
| 260 |
'dash-f216' => 'dashicons-editor-paste-word', |
| 261 |
'dash-f217' => 'dashicons-editor-paste-text', |
| 262 |
'dash-f218' => 'dashicons-editor-removeformatting', |
| 263 |
'dash-f219' => 'dashicons-editor-video', |
| 264 |
'dash-f220' => 'dashicons-editor-customchar', |
| 265 |
'dash-f221' => 'dashicons-editor-outdent', |
| 266 |
'dash-f222' => 'dashicons-editor-indent', |
| 267 |
'dash-f223' => 'dashicons-editor-help', |
| 268 |
'dash-f224' => 'dashicons-editor-strikethrough', |
| 269 |
'dash-f225' => 'dashicons-editor-unlink', |
| 270 |
'dash-f320' => 'dashicons-editor-rtl', |
| 271 |
'dash-f474' => 'dashicons-editor-break', |
| 272 |
'dash-f475' => 'dashicons-editor-code', |
| 273 |
'dash-f476' => 'dashicons-editor-paragraph', |
| 274 |
'dash-f535' => 'dashicons-editor-table', |
| 275 |
'dash-f135' => 'dashicons-align-left', |
| 276 |
'dash-f136' => 'dashicons-align-right', |
| 277 |
'dash-f134' => 'dashicons-align-center', |
| 278 |
'dash-f138' => 'dashicons-align-none', |
| 279 |
'dash-f160' => 'dashicons-lock', |
| 280 |
'dash-f528' => 'dashicons-unlock', |
| 281 |
'dash-f145' => 'dashicons-calendar', |
| 282 |
'dash-f508' => 'dashicons-calendar-alt', |
| 283 |
'dash-f177' => 'dashicons-visibility', |
| 284 |
'dash-f530' => 'dashicons-hidden', |
| 285 |
'dash-f173' => 'dashicons-post-status', |
| 286 |
'dash-f464' => 'dashicons-edit', |
| 287 |
'dash-f182' => 'dashicons-trash', |
| 288 |
'dash-f537' => 'dashicons-sticky', |
| 289 |
'dash-f504' => 'dashicons-external', |
| 290 |
'dash-f142' => 'dashicons-arrow-up', |
| 291 |
'dash-f140' => 'dashicons-arrow-down', |
| 292 |
'dash-f139' => 'dashicons-arrow-right', |
| 293 |
'dash-f141' => 'dashicons-arrow-left', |
| 294 |
'dash-f342' => 'dashicons-arrow-up-alt', |
| 295 |
'dash-f346' => 'dashicons-arrow-down-alt', |
| 296 |
'dash-f344' => 'dashicons-arrow-right-alt', |
| 297 |
'dash-f340' => 'dashicons-arrow-left-alt', |
| 298 |
'dash-f343' => 'dashicons-arrow-up-alt2', |
| 299 |
'dash-f347' => 'dashicons-arrow-down-alt2', |
| 300 |
'dash-f345' => 'dashicons-arrow-right-alt2', |
| 301 |
'dash-f341' => 'dashicons-arrow-left-alt2', |
| 302 |
'dash-f156' => 'dashicons-sort', |
| 303 |
'dash-f229' => 'dashicons-leftright', |
| 304 |
'dash-f503' => 'dashicons-randomize', |
| 305 |
'dash-f163' => 'dashicons-list-view', |
| 306 |
'dash-f164' => 'dashicons-exerpt-view', |
| 307 |
'dash-f509' => 'dashicons-grid-view', |
| 308 |
'dash-f237' => 'dashicons-share', |
| 309 |
'dash-f240' => 'dashicons-share-alt', |
| 310 |
'dash-f242' => 'dashicons-share-alt2', |
| 311 |
'dash-f301' => 'dashicons-twitter', |
| 312 |
'dash-f303' => 'dashicons-rss', |
| 313 |
'dash-f465' => 'dashicons-email', |
| 314 |
'dash-f466' => 'dashicons-email-alt', |
| 315 |
'dash-f304' => 'dashicons-facebook', |
| 316 |
'dash-f305' => 'dashicons-facebook-alt', |
| 317 |
'dash-f462' => 'dashicons-googleplus', |
| 318 |
'dash-f325' => 'dashicons-networking', |
| 319 |
'dash-f308' => 'dashicons-hammer', |
| 320 |
'dash-f309' => 'dashicons-art', |
| 321 |
'dash-f310' => 'dashicons-migrate', |
| 322 |
'dash-f311' => 'dashicons-performance', |
| 323 |
'dash-f483' => 'dashicons-universal-access', |
| 324 |
'dash-f507' => 'dashicons-universal-access-alt', |
| 325 |
'dash-f486' => 'dashicons-tickets', |
| 326 |
'dash-f484' => 'dashicons-nametag', |
| 327 |
'dash-f481' => 'dashicons-clipboard', |
| 328 |
'dash-f487' => 'dashicons-heart', |
| 329 |
'dash-f488' => 'dashicons-megaphone', |
| 330 |
'dash-f489' => 'dashicons-schedule', |
| 331 |
'dash-f120' => 'dashicons-wordpress', |
| 332 |
'dash-f324' => 'dashicons-wordpress-alt', |
| 333 |
'dash-f157' => 'dashicons-pressthis', |
| 334 |
'dash-f463' => 'dashicons-update', |
| 335 |
'dash-f180' => 'dashicons-screenoptions', |
| 336 |
'dash-f348' => 'dashicons-info', |
| 337 |
'dash-f174' => 'dashicons-cart', |
| 338 |
'dash-f175' => 'dashicons-feedback', |
| 339 |
'dash-f176' => 'dashicons-cloud', |
| 340 |
'dash-f326' => 'dashicons-translation', |
| 341 |
'dash-f323' => 'dashicons-tag', |
| 342 |
'dash-f318' => 'dashicons-category', |
| 343 |
'dash-f480' => 'dashicons-archive', |
| 344 |
'dash-f479' => 'dashicons-tagcloud', |
| 345 |
'dash-f478' => 'dashicons-text', |
| 346 |
'dash-f147' => 'dashicons-yes', |
| 347 |
'dash-f158' => 'dashicons-no', |
| 348 |
'dash-f335' => 'dashicons-no-alt', |
| 349 |
'dash-f132' => 'dashicons-plus', |
| 350 |
'dash-f502' => 'dashicons-plus-alt', |
| 351 |
'dash-f460' => 'dashicons-minus', |
| 352 |
'dash-f153' => 'dashicons-dismiss', |
| 353 |
'dash-f159' => 'dashicons-marker', |
| 354 |
'dash-f155' => 'dashicons-star-filled', |
| 355 |
'dash-f459' => 'dashicons-star-half', |
| 356 |
'dash-f154' => 'dashicons-star-empty', |
| 357 |
'dash-f227' => 'dashicons-flag', |
| 358 |
'dash-f534' => 'dashicons-warning', |
| 359 |
'dash-f230' => 'dashicons-location', |
| 360 |
'dash-f231' => 'dashicons-location-alt', |
| 361 |
'dash-f178' => 'dashicons-vault', |
| 362 |
'dash-f332' => 'dashicons-shield', |
| 363 |
'dash-f334' => 'dashicons-shield-alt', |
| 364 |
'dash-f468' => 'dashicons-sos', |
| 365 |
'dash-f179' => 'dashicons-search', |
| 366 |
'dash-f181' => 'dashicons-slides', |
| 367 |
'dash-f183' => 'dashicons-analytics', |
| 368 |
'dash-f184' => 'dashicons-chart-pie', |
| 369 |
'dash-f185' => 'dashicons-chart-bar', |
| 370 |
'dash-f238' => 'dashicons-chart-line', |
| 371 |
'dash-f239' => 'dashicons-chart-area', |
| 372 |
'dash-f307' => 'dashicons-groups', |
| 373 |
'dash-f338' => 'dashicons-businessman', |
| 374 |
'dash-f336' => 'dashicons-id', |
| 375 |
'dash-f337' => 'dashicons-id-alt', |
| 376 |
'dash-f312' => 'dashicons-products', |
| 377 |
'dash-f313' => 'dashicons-awards', |
| 378 |
'dash-f314' => 'dashicons-forms', |
| 379 |
'dash-f473' => 'dashicons-testimonial', |
| 380 |
'dash-f322' => 'dashicons-portfolio', |
| 381 |
'dash-f330' => 'dashicons-book', |
| 382 |
'dash-f331' => 'dashicons-book-alt', |
| 383 |
'dash-f316' => 'dashicons-download', |
| 384 |
'dash-f317' => 'dashicons-upload', |
| 385 |
'dash-f321' => 'dashicons-backup', |
| 386 |
'dash-f469' => 'dashicons-clock', |
| 387 |
'dash-f339' => 'dashicons-lightbulb', |
| 388 |
'dash-f482' => 'dashicons-microphone', |
| 389 |
'dash-f472' => 'dashicons-desktop', |
| 390 |
'dash-f471' => 'dashicons-tablet', |
| 391 |
'dash-f470' => 'dashicons-smartphone', |
| 392 |
'dash-f525' => 'dashicons-phone', |
| 393 |
'dash-f510' => 'dashicons-index-card', |
| 394 |
'dash-f511' => 'dashicons-carrot', |
| 395 |
'dash-f512' => 'dashicons-building', |
| 396 |
'dash-f513' => 'dashicons-store', |
| 397 |
'dash-f514' => 'dashicons-album', |
| 398 |
'dash-f527' => 'dashicons-palmtree', |
| 399 |
'dash-f524' => 'dashicons-tickets-alt', |
| 400 |
'dash-f526' => 'dashicons-money', |
| 401 |
'dash-f328' => 'dashicons-smiley', |
| 402 |
'dash-f529' => 'dashicons-thumbs-up', |
| 403 |
'dash-f542' => 'dashicons-thumbs-down', |
| 404 |
'dash-f538' => 'dashicons-layout', |
| 405 |
'dash-f452' => 'dashicons-buddicons-activity', |
| 406 |
'dash-f477' => 'dashicons-buddicons-bbpress-logo', |
| 407 |
'dash-f448' => 'dashicons-buddicons-buddypress-logo', |
| 408 |
'dash-f453' => 'dashicons-buddicons-community', |
| 409 |
'dash-f449' => 'dashicons-buddicons-forums', |
| 410 |
'dash-f454' => 'dashicons-buddicons-friends', |
| 411 |
'dash-f456' => 'dashicons-buddicons-groups', |
| 412 |
'dash-f457' => 'dashicons-buddicons-pm', |
| 413 |
'dash-f451' => 'dashicons-buddicons-replies', |
| 414 |
'dash-f450' => 'dashicons-buddicons-topics', |
| 415 |
'dash-f455' => 'dashicons-buddicons-tracking', |
| 416 |
'dash-f12c' => 'dashicons-editor-ol-rtl', |
| 417 |
'dash-f10c' => 'dashicons-editor-ltr', |
| 418 |
'dash-f10d' => 'dashicons-tide', |
| 419 |
'dash-f124' => 'dashicons-rest-api', |
| 420 |
'dash-f13a' => 'dashicons-code-standards', |
| 421 |
'dash-f11d' => 'dashicons-admin-site-alt', |
| 422 |
'dash-f11e' => 'dashicons-admin-site-alt2', |
| 423 |
'dash-f11f' => 'dashicons-admin-site-alt3', |
| 424 |
'dash-f228' => 'dashicons-menu-alt', |
| 425 |
'dash-f329' => 'dashicons-menu-alt2', |
| 426 |
'dash-f349' => 'dashicons-menu-alt3', |
| 427 |
'dash-f12d' => 'dashicons-instagram', |
| 428 |
'dash-f12f' => 'dashicons-businesswoman', |
| 429 |
'dash-f12e' => 'dashicons-businessperson', |
| 430 |
'dash-f467' => 'dashicons-email-alt2', |
| 431 |
'dash-f12a' => 'dashicons-yes-alt', |
| 432 |
'dash-f129' => 'dashicons-camera-alt', |
| 433 |
'dash-f485' => 'dashicons-plugins-checked', |
| 434 |
'dash-f113' => 'dashicons-update-alt', |
| 435 |
'dash-f121' => 'dashicons-text-page', |
| 436 |
); |
| 437 |
|
| 438 |
$icons = apply_filters( 'rmp_dashicons', $icons ); |
| 439 |
|
| 440 |
krsort( $icons ); |
| 441 |
|
| 442 |
return $icons; |
| 443 |
} |
| 444 |
|
| 445 |
|
| 446 |
/** |
| 447 |
* List of all available glyphicon classes. |
| 448 |
* |
| 449 |
* @since 1.0 |
| 450 |
* @return array - Sorted list of icon classes |
| 451 |
*/ |
| 452 |
function rmp_all_glyph_icons() { |
| 453 |
$glyph = array( |
| 454 |
'glyph-2a' => 'glyphicon-asterisk', |
| 455 |
'glyph-2b' => 'glyphicon-plus', |
| 456 |
'glyph-20ac' => 'glyphicon-eur', |
| 457 |
'glyph-2212' => 'glyphicon-minus', |
| 458 |
'glyph-2601' => 'glyphicon-cloud', |
| 459 |
'glyph-2709' => 'glyphicon-envelope', |
| 460 |
'glyph-270f' => 'glyphicon-pencil', |
| 461 |
'glyph-e001' => 'glyphicon-glass', |
| 462 |
'glyph-e002' => 'glyphicon-music', |
| 463 |
'glyph-e003' => 'glyphicon-search', |
| 464 |
'glyph-e005' => 'glyphicon-heart', |
| 465 |
'glyph-e006' => 'glyphicon-star', |
| 466 |
'glyph-e007' => 'glyphicon-star-empty', |
| 467 |
'glyph-e008' => 'glyphicon-user', |
| 468 |
'glyph-e009' => 'glyphicon-film', |
| 469 |
'glyph-e010' => 'glyphicon-th-large', |
| 470 |
'glyph-e011' => 'glyphicon-th', |
| 471 |
'glyph-e012' => 'glyphicon-th-list', |
| 472 |
'glyph-e013' => 'glyphicon-ok', |
| 473 |
'glyph-e014' => 'glyphicon-remove', |
| 474 |
'glyph-e015' => 'glyphicon-zoom-in', |
| 475 |
'glyph-e016' => 'glyphicon-zoom-out', |
| 476 |
'glyph-e017' => 'glyphicon-off', |
| 477 |
'glyph-e018' => 'glyphicon-signal', |
| 478 |
'glyph-e019' => 'glyphicon-cog', |
| 479 |
'glyph-e020' => 'glyphicon-trash', |
| 480 |
'glyph-e021' => 'glyphicon-home', |
| 481 |
'glyph-e022' => 'glyphicon-file', |
| 482 |
'glyph-e023' => 'glyphicon-time', |
| 483 |
'glyph-e024' => 'glyphicon-road', |
| 484 |
'glyph-e025' => 'glyphicon-download-alt', |
| 485 |
'glyph-e026' => 'glyphicon-download', |
| 486 |
'glyph-e027' => 'glyphicon-upload', |
| 487 |
'glyph-e028' => 'glyphicon-inbox', |
| 488 |
'glyph-e029' => 'glyphicon-play-circle', |
| 489 |
'glyph-e030' => 'glyphicon-repeat', |
| 490 |
'glyph-e031' => 'glyphicon-refresh', |
| 491 |
'glyph-e032' => 'glyphicon-list-alt', |
| 492 |
'glyph-e033' => 'glyphicon-lock', |
| 493 |
'glyph-e034' => 'glyphicon-flag', |
| 494 |
'glyph-e035' => 'glyphicon-headphones', |
| 495 |
'glyph-e036' => 'glyphicon-volume-off', |
| 496 |
'glyph-e037' => 'glyphicon-volume-down', |
| 497 |
'glyph-e038' => 'glyphicon-volume-up', |
| 498 |
'glyph-e039' => 'glyphicon-qrcode', |
| 499 |
'glyph-e040' => 'glyphicon-barcode', |
| 500 |
'glyph-e041' => 'glyphicon-tag', |
| 501 |
'glyph-e042' => 'glyphicon-tags', |
| 502 |
'glyph-e043' => 'glyphicon-book', |
| 503 |
'glyph-e044' => 'glyphicon-bookmark', |
| 504 |
'glyph-e045' => 'glyphicon-print', |
| 505 |
'glyph-e046' => 'glyphicon-camera', |
| 506 |
'glyph-e047' => 'glyphicon-font', |
| 507 |
'glyph-e048' => 'glyphicon-bold', |
| 508 |
'glyph-e049' => 'glyphicon-italic', |
| 509 |
'glyph-e050' => 'glyphicon-text-height', |
| 510 |
'glyph-e051' => 'glyphicon-text-width', |
| 511 |
'glyph-e052' => 'glyphicon-align-left', |
| 512 |
'glyph-e053' => 'glyphicon-align-center', |
| 513 |
'glyph-e054' => 'glyphicon-align-right', |
| 514 |
'glyph-e055' => 'glyphicon-align-justify', |
| 515 |
'glyph-e056' => 'glyphicon-list', |
| 516 |
'glyph-e057' => 'glyphicon-indent-left', |
| 517 |
'glyph-e058' => 'glyphicon-indent-right', |
| 518 |
'glyph-e059' => 'glyphicon-facetime-video', |
| 519 |
'glyph-e060' => 'glyphicon-picture', |
| 520 |
'glyph-e062' => 'glyphicon-map-marker', |
| 521 |
'glyph-e063' => 'glyphicon-adjust', |
| 522 |
'glyph-e064' => 'glyphicon-tint', |
| 523 |
'glyph-e065' => 'glyphicon-edit', |
| 524 |
'glyph-e066' => 'glyphicon-share', |
| 525 |
'glyph-e067' => 'glyphicon-check', |
| 526 |
'glyph-e068' => 'glyphicon-move', |
| 527 |
'glyph-e069' => 'glyphicon-step-backward', |
| 528 |
'glyph-e070' => 'glyphicon-fast-backward', |
| 529 |
'glyph-e071' => 'glyphicon-backward', |
| 530 |
'glyph-e072' => 'glyphicon-play', |
| 531 |
'glyph-e073' => 'glyphicon-pause', |
| 532 |
'glyph-e074' => 'glyphicon-stop', |
| 533 |
'glyph-e075' => 'glyphicon-forward', |
| 534 |
'glyph-e076' => 'glyphicon-fast-forward', |
| 535 |
'glyph-e077' => 'glyphicon-step-forward', |
| 536 |
'glyph-e078' => 'glyphicon-eject', |
| 537 |
'glyph-e079' => 'glyphicon-chevron-left', |
| 538 |
'glyph-e080' => 'glyphicon-chevron-right', |
| 539 |
'glyph-e081' => 'glyphicon-plus-sign', |
| 540 |
'glyph-e082' => 'glyphicon-minus-sign', |
| 541 |
'glyph-e083' => 'glyphicon-remove-sign', |
| 542 |
'glyph-e084' => 'glyphicon-ok-sign', |
| 543 |
'glyph-e085' => 'glyphicon-question-sign', |
| 544 |
'glyph-e086' => 'glyphicon-info-sign', |
| 545 |
'glyph-e087' => 'glyphicon-screenshot', |
| 546 |
'glyph-e088' => 'glyphicon-remove-circle', |
| 547 |
'glyph-e089' => 'glyphicon-ok-circle', |
| 548 |
'glyph-e090' => 'glyphicon-ban-circle', |
| 549 |
'glyph-e091' => 'glyphicon-arrow-left', |
| 550 |
'glyph-e092' => 'glyphicon-arrow-right', |
| 551 |
'glyph-e093' => 'glyphicon-arrow-up', |
| 552 |
'glyph-e094' => 'glyphicon-arrow-down', |
| 553 |
'glyph-e095' => 'glyphicon-share-alt', |
| 554 |
'glyph-e096' => 'glyphicon-resize-full', |
| 555 |
'glyph-e097' => 'glyphicon-resize-small', |
| 556 |
'glyph-e101' => 'glyphicon-exclamation-sign', |
| 557 |
'glyph-e102' => 'glyphicon-gift', |
| 558 |
'glyph-e103' => 'glyphicon-leaf', |
| 559 |
'glyph-e104' => 'glyphicon-fire', |
| 560 |
'glyph-e105' => 'glyphicon-eye-open', |
| 561 |
'glyph-e106' => 'glyphicon-eye-close', |
| 562 |
'glyph-e107' => 'glyphicon-warning-sign', |
| 563 |
'glyph-e108' => 'glyphicon-plane', |
| 564 |
'glyph-e109' => 'glyphicon-calendar', |
| 565 |
'glyph-e110' => 'glyphicon-random', |
| 566 |
'glyph-e111' => 'glyphicon-comment', |
| 567 |
'glyph-e112' => 'glyphicon-magnet', |
| 568 |
'glyph-e113' => 'glyphicon-chevron-up', |
| 569 |
'glyph-e114' => 'glyphicon-chevron-down', |
| 570 |
'glyph-e115' => 'glyphicon-retweet', |
| 571 |
'glyph-e116' => 'glyphicon-shopping-cart', |
| 572 |
'glyph-e117' => 'glyphicon-folder-close', |
| 573 |
'glyph-e118' => 'glyphicon-folder-open', |
| 574 |
'glyph-e119' => 'glyphicon-resize-vertical', |
| 575 |
'glyph-e120' => 'glyphicon-resize-horizontal', |
| 576 |
'glyph-e121' => 'glyphicon-hdd', |
| 577 |
'glyph-e122' => 'glyphicon-bullhorn', |
| 578 |
'glyph-e123' => 'glyphicon-bell', |
| 579 |
'glyph-e124' => 'glyphicon-certificate', |
| 580 |
'glyph-e125' => 'glyphicon-thumbs-up', |
| 581 |
'glyph-e126' => 'glyphicon-thumbs-down', |
| 582 |
'glyph-e127' => 'glyphicon-hand-right', |
| 583 |
'glyph-e128' => 'glyphicon-hand-left', |
| 584 |
'glyph-e129' => 'glyphicon-hand-up', |
| 585 |
'glyph-e130' => 'glyphicon-hand-down', |
| 586 |
'glyph-e131' => 'glyphicon-circle-arrow-right', |
| 587 |
'glyph-e132' => 'glyphicon-circle-arrow-left', |
| 588 |
'glyph-e133' => 'glyphicon-circle-arrow-up', |
| 589 |
'glyph-e134' => 'glyphicon-circle-arrow-down', |
| 590 |
'glyph-e135' => 'glyphicon-globe', |
| 591 |
'glyph-e136' => 'glyphicon-wrench', |
| 592 |
'glyph-e137' => 'glyphicon-tasks', |
| 593 |
'glyph-e138' => 'glyphicon-filter', |
| 594 |
'glyph-e139' => 'glyphicon-briefcase', |
| 595 |
'glyph-e140' => 'glyphicon-fullscreen', |
| 596 |
'glyph-e141' => 'glyphicon-dashboard', |
| 597 |
'glyph-e142' => 'glyphicon-paperclip', |
| 598 |
'glyph-e143' => 'glyphicon-heart-empty', |
| 599 |
'glyph-e144' => 'glyphicon-link', |
| 600 |
'glyph-e145' => 'glyphicon-phone', |
| 601 |
'glyph-e146' => 'glyphicon-pushpin', |
| 602 |
'glyph-e148' => 'glyphicon-usd', |
| 603 |
'glyph-e149' => 'glyphicon-gbp', |
| 604 |
'glyph-e150' => 'glyphicon-sort', |
| 605 |
'glyph-e151' => 'glyphicon-sort-by-alphabet', |
| 606 |
'glyph-e152' => 'glyphicon-sort-by-alphabet-alt', |
| 607 |
'glyph-e153' => 'glyphicon-sort-by-order', |
| 608 |
'glyph-e154' => 'glyphicon-sort-by-order-alt', |
| 609 |
'glyph-e155' => 'glyphicon-sort-by-attributes', |
| 610 |
'glyph-e156' => 'glyphicon-sort-by-attributes-alt', |
| 611 |
'glyph-e157' => 'glyphicon-unchecked', |
| 612 |
'glyph-e158' => 'glyphicon-expand', |
| 613 |
'glyph-e159' => 'glyphicon-collapse-down', |
| 614 |
'glyph-e160' => 'glyphicon-collapse-up', |
| 615 |
'glyph-e161' => 'glyphicon-log-in', |
| 616 |
'glyph-e162' => 'glyphicon-flash', |
| 617 |
'glyph-e163' => 'glyphicon-log-out', |
| 618 |
'glyph-e164' => 'glyphicon-new-window', |
| 619 |
'glyph-e165' => 'glyphicon-record', |
| 620 |
'glyph-e166' => 'glyphicon-save', |
| 621 |
'glyph-e167' => 'glyphicon-open', |
| 622 |
'glyph-e168' => 'glyphicon-saved', |
| 623 |
'glyph-e169' => 'glyphicon-import', |
| 624 |
'glyph-e170' => 'glyphicon-export', |
| 625 |
'glyph-e171' => 'glyphicon-send', |
| 626 |
'glyph-e172' => 'glyphicon-floppy-disk', |
| 627 |
'glyph-e173' => 'glyphicon-floppy-saved', |
| 628 |
'glyph-e174' => 'glyphicon-floppy-remove', |
| 629 |
'glyph-e175' => 'glyphicon-floppy-save', |
| 630 |
'glyph-e176' => 'glyphicon-floppy-open', |
| 631 |
'glyph-e177' => 'glyphicon-credit-card', |
| 632 |
'glyph-e178' => 'glyphicon-transfer', |
| 633 |
'glyph-e179' => 'glyphicon-cutlery', |
| 634 |
'glyph-e180' => 'glyphicon-header', |
| 635 |
'glyph-e181' => 'glyphicon-compressed', |
| 636 |
'glyph-e182' => 'glyphicon-earphone', |
| 637 |
'glyph-e183' => 'glyphicon-phone-alt', |
| 638 |
'glyph-e184' => 'glyphicon-tower', |
| 639 |
'glyph-e185' => 'glyphicon-stats', |
| 640 |
'glyph-e186' => 'glyphicon-sd-video', |
| 641 |
'glyph-e187' => 'glyphicon-hd-video', |
| 642 |
'glyph-e188' => 'glyphicon-subtitles', |
| 643 |
'glyph-e189' => 'glyphicon-sound-stereo', |
| 644 |
'glyph-e190' => 'glyphicon-sound-dolby', |
| 645 |
'glyph-e191' => 'glyphicon-sound-5-1', |
| 646 |
'glyph-e192' => 'glyphicon-sound-6-1', |
| 647 |
'glyph-e193' => 'glyphicon-sound-7-1', |
| 648 |
'glyph-e194' => 'glyphicon-copyright-mark', |
| 649 |
'glyph-e195' => 'glyphicon-registration-mark', |
| 650 |
'glyph-e197' => 'glyphicon-cloud-download', |
| 651 |
'glyph-e198' => 'glyphicon-cloud-upload', |
| 652 |
'glyph-e199' => 'glyphicon-tree-conifer', |
| 653 |
'glyph-e200' => 'glyphicon-tree-deciduous', |
| 654 |
'glyph-e201' => 'glyphicon-cd', |
| 655 |
'glyph-e202' => 'glyphicon-save-file', |
| 656 |
'glyph-e203' => 'glyphicon-open-file', |
| 657 |
'glyph-e204' => 'glyphicon-level-up', |
| 658 |
'glyph-e205' => 'glyphicon-copy', |
| 659 |
'glyph-e206' => 'glyphicon-paste', |
| 660 |
'glyph-e209' => 'glyphicon-alert', |
| 661 |
'glyph-e210' => 'glyphicon-equalizer', |
| 662 |
'glyph-e211' => 'glyphicon-king', |
| 663 |
'glyph-e212' => 'glyphicon-queen', |
| 664 |
'glyph-e213' => 'glyphicon-pawn', |
| 665 |
'glyph-e214' => 'glyphicon-bishop', |
| 666 |
'glyph-e215' => 'glyphicon-knight', |
| 667 |
'glyph-e216' => 'glyphicon-baby-formula', |
| 668 |
'glyph-26fa' => 'glyphicon-tent', |
| 669 |
'glyph-e218' => 'glyphicon-blackboard', |
| 670 |
'glyph-e219' => 'glyphicon-bed', |
| 671 |
'glyph-f8ff' => 'glyphicon-apple', |
| 672 |
'glyph-e221' => 'glyphicon-erase', |
| 673 |
'glyph-231b' => 'glyphicon-hourglass', |
| 674 |
'glyph-e223' => 'glyphicon-lamp', |
| 675 |
'glyph-e224' => 'glyphicon-duplicate', |
| 676 |
'glyph-e225' => 'glyphicon-piggy-bank', |
| 677 |
'glyph-e226' => 'glyphicon-scissors', |
| 678 |
'glyph-e227' => 'glyphicon-bitcoin', |
| 679 |
'glyph-0a5' => 'glyphicon-yen', |
| 680 |
'glyph-20bd' => 'glyphicon-ruble', |
| 681 |
'glyph-e230' => 'glyphicon-scale', |
| 682 |
'glyph-e231' => 'glyphicon-ice-lolly', |
| 683 |
'glyph-e232' => 'glyphicon-ice-lolly-tasted', |
| 684 |
'glyph-e233' => 'glyphicon-education', |
| 685 |
'glyph-e234' => 'glyphicon-option-horizontal', |
| 686 |
'glyph-e235' => 'glyphicon-option-vertical', |
| 687 |
'glyph-e236' => 'glyphicon-menu-hamburger', |
| 688 |
'glyph-e237' => 'glyphicon-modal-window', |
| 689 |
'glyph-e238' => 'glyphicon-oil', |
| 690 |
'glyph-e239' => 'glyphicon-grain', |
| 691 |
'glyph-e240' => 'glyphicon-sunglasses', |
| 692 |
'glyph-e241' => 'glyphicon-text-size', |
| 693 |
'glyph-e242' => 'glyphicon-text-color', |
| 694 |
'glyph-e243' => 'glyphicon-text-background', |
| 695 |
'glyph-e244' => 'glyphicon-object-align-top', |
| 696 |
'glyph-e245' => 'glyphicon-object-align-bottom', |
| 697 |
'glyph-e246' => 'glyphicon-object-align-horizontal', |
| 698 |
'glyph-e247' => 'glyphicon-object-align-left', |
| 699 |
'glyph-e248' => 'glyphicon-object-align-vertical', |
| 700 |
'glyph-e249' => 'glyphicon-object-align-right', |
| 701 |
'glyph-e250' => 'glyphicon-triangle-right', |
| 702 |
'glyph-e251' => 'glyphicon-triangle-left', |
| 703 |
'glyph-e252' => 'glyphicon-triangle-bottom', |
| 704 |
'glyph-e253' => 'glyphicon-triangle-top', |
| 705 |
'glyph-e254' => 'glyphicon-console', |
| 706 |
'glyph-e255' => 'glyphicon-superscript', |
| 707 |
'glyph-e256' => 'glyphicon-subscript', |
| 708 |
'glyph-e257' => 'glyphicon-menu-left', |
| 709 |
'glyph-e258' => 'glyphicon-menu-right', |
| 710 |
'glyph-e259' => 'glyphicon-menu-down', |
| 711 |
'glyph-e260' => 'glyphicon-menu-up', |
| 712 |
); |
| 713 |
|
| 714 |
$glyph = apply_filters( 'rmp_glyphicon', $glyph ); |
| 715 |
krsort( $glyph ); |
| 716 |
|
| 717 |
return $glyph; |
| 718 |
} |
| 719 |
|
| 720 |
|
| 721 |
/** |
| 722 |
* Get default options. |
| 723 |
* |
| 724 |
* @since 4.0.0 |
| 725 |
* |
| 726 |
* @return array default_options list of option with default value. |
| 727 |
*/ |
| 728 |
function rmp_get_default_options() { |
| 729 |
$default_options = array( |
| 730 |
'menu_theme' => 'Default', |
| 731 |
'theme_type' => 'default', |
| 732 |
'theme_location_menu' => '0', |
| 733 |
'submenu_submenu_arrow_width' => '40', |
| 734 |
'submenu_submenu_arrow_width_unit' => 'px', |
| 735 |
'submenu_submenu_arrow_height' => '39', |
| 736 |
'submenu_submenu_arrow_height_unit' => 'px', |
| 737 |
'submenu_arrow_position' => 'right', |
| 738 |
'submenu_sub_arrow_background_colour' => '', |
| 739 |
'submenu_sub_arrow_background_hover_colour' => '', |
| 740 |
'submenu_sub_arrow_background_colour_active' => '', |
| 741 |
'submenu_sub_arrow_background_hover_colour_active' => '', |
| 742 |
'submenu_sub_arrow_border_width' => '', |
| 743 |
'submenu_sub_arrow_border_width_unit' => 'px', |
| 744 |
'submenu_sub_arrow_border_colour' => '#1d4354', |
| 745 |
'submenu_sub_arrow_border_hover_colour' => '#3f3f3f', |
| 746 |
'submenu_sub_arrow_border_colour_active' => '#1d4354', |
| 747 |
'submenu_sub_arrow_border_hover_colour_active' => '#3f3f3f', |
| 748 |
'submenu_sub_arrow_shape_colour' => '#fff', |
| 749 |
'submenu_sub_arrow_shape_hover_colour' => '#fff', |
| 750 |
'submenu_sub_arrow_shape_colour_active' => '#fff', |
| 751 |
'submenu_sub_arrow_shape_hover_colour_active' => '#fff', |
| 752 |
'use_header_bar' => 'off', |
| 753 |
'header_bar_items_order' => |
| 754 |
array( |
| 755 |
'logo' => 'off', |
| 756 |
'title' => 'on', |
| 757 |
'additional content' => 'off', |
| 758 |
'menu' => 'on', |
| 759 |
'search' => 'off', |
| 760 |
), |
| 761 |
'header_bar_title' => 'Responsive Menu', |
| 762 |
'header_bar_html_content' => '', |
| 763 |
'header_bar_logo' => '', |
| 764 |
'header_bar_logo_link' => '', |
| 765 |
'header_bar_logo_width' => '', |
| 766 |
'header_bar_logo_width_unit' => '%', |
| 767 |
'header_bar_logo_height' => '', |
| 768 |
'header_bar_logo_height_unit' => 'px', |
| 769 |
'header_bar_height' => '80', |
| 770 |
'header_bar_height_unit' => 'px', |
| 771 |
'header_bar_padding' => |
| 772 |
array( |
| 773 |
'top' => '0px', |
| 774 |
'right' => '5%', |
| 775 |
'bottom' => '0px', |
| 776 |
'left' => '5%', |
| 777 |
), |
| 778 |
'header_bar_font' => '', |
| 779 |
'header_bar_font_size' => '14', |
| 780 |
'header_bar_font_size_unit' => 'px', |
| 781 |
'header_bar_text_color' => '#ffffff', |
| 782 |
'header_bar_background_color' => '#1d4354', |
| 783 |
'header_bar_breakpoint' => '8000', |
| 784 |
'header_bar_position_type' => 'fixed', |
| 785 |
'header_bar_adjust_page' => 'on', |
| 786 |
'header_bar_scroll_enable' => 'off', |
| 787 |
'header_bar_scroll_background_color' => '#36bdf6', |
| 788 |
'mobile_breakpoint' => '600', |
| 789 |
'tablet_breakpoint' => '1024', |
| 790 |
'transition_speed' => '0.5', |
| 791 |
'sub_menu_speed' => '0.2', |
| 792 |
'show_menu_on_page_load' => 'off', |
| 793 |
'menu_disable_scrolling' => 'off', |
| 794 |
'menu_overlay' => 'off', |
| 795 |
'menu_overlay_colour' => 'rgba(0,0,0,0.7)', |
| 796 |
'desktop_menu_width' => '', |
| 797 |
'desktop_menu_width_unit' => '%', |
| 798 |
'desktop_menu_positioning' => 'absolute', |
| 799 |
'desktop_menu_side' => 'left', |
| 800 |
'desktop_menu_to_hide' => '', |
| 801 |
'use_current_theme_location' => 'off', |
| 802 |
'mega_menu' => |
| 803 |
array( |
| 804 |
225 => 'off', |
| 805 |
227 => 'off', |
| 806 |
229 => 'off', |
| 807 |
228 => 'off', |
| 808 |
226 => 'off', |
| 809 |
), |
| 810 |
'desktop_submenu_open_animation' => 'none', |
| 811 |
'desktop_submenu_open_animation_speed' => '100ms', |
| 812 |
'desktop_submenu_open_on_click' => 'off', |
| 813 |
'desktop_menu_hide_and_show' => 'off', |
| 814 |
'menu_name' => 'Primary Menu', |
| 815 |
'menu_to_use' => 'main-menu', |
| 816 |
'different_menu_for_mobile' => 'off', |
| 817 |
'menu_to_use_in_mobile' => 'main-menu', |
| 818 |
'use_mobile_menu' => 'on', |
| 819 |
'use_tablet_menu' => 'on', |
| 820 |
'use_desktop_menu' => 'on', |
| 821 |
'menu_display_on' => 'all-pages', |
| 822 |
'menu_to_hide' => '', |
| 823 |
'submenu_descriptions_on' => 'off', |
| 824 |
'custom_walker' => '', |
| 825 |
'menu_background_colour' => '', |
| 826 |
'menu_depth' => '5', |
| 827 |
'smooth_scroll_on' => 'off', |
| 828 |
'smooth_scroll_speed' => '500', |
| 829 |
'menu_font_icons' => |
| 830 |
array( |
| 831 |
'id' => |
| 832 |
array( |
| 833 |
0 => '225', |
| 834 |
), |
| 835 |
'icon' => |
| 836 |
array( |
| 837 |
0 => '', |
| 838 |
), |
| 839 |
), |
| 840 |
'menu_links_height' => '40', |
| 841 |
'menu_links_height_unit' => 'px', |
| 842 |
'menu_links_line_height' => '40', |
| 843 |
'menu_links_line_height_unit' => 'px', |
| 844 |
'menu_depth_0' => '5', |
| 845 |
'menu_depth_0_unit' => '%', |
| 846 |
'menu_font_size' => '15', |
| 847 |
'menu_font_size_unit' => 'px', |
| 848 |
'menu_font' => '', |
| 849 |
'menu_font_weight' => 'normal', |
| 850 |
'menu_text_alignment' => 'left', |
| 851 |
'menu_text_letter_spacing' => '', |
| 852 |
'menu_word_wrap' => 'off', |
| 853 |
'menu_link_colour' => '#fff', |
| 854 |
'menu_link_hover_colour' => '#fff', |
| 855 |
'menu_current_link_colour' => '#fff', |
| 856 |
'menu_current_link_hover_colour' => '#fff', |
| 857 |
'menu_item_background_colour' => '', |
| 858 |
'menu_item_background_hover_colour' => '', |
| 859 |
'menu_current_item_background_colour' => '#6fda44', |
| 860 |
'menu_current_item_background_hover_colour' => '', |
| 861 |
'menu_border_width' => '', |
| 862 |
'menu_border_width_unit' => 'px', |
| 863 |
'menu_item_border_colour' => '#1d4354', |
| 864 |
'menu_item_border_colour_hover' => '#1d4354', |
| 865 |
'menu_current_item_border_colour' => '#1d4354', |
| 866 |
'menu_current_item_border_hover_colour' => '#3f3f3f', |
| 867 |
'submenu_links_height' => '40', |
| 868 |
'submenu_links_height_unit' => 'px', |
| 869 |
'submenu_links_line_height' => '40', |
| 870 |
'submenu_links_line_height_unit' => 'px', |
| 871 |
'menu_depth_side' => 'left', |
| 872 |
'menu_depth_1' => '10', |
| 873 |
'menu_depth_1_unit' => '%', |
| 874 |
'menu_depth_2' => '15', |
| 875 |
'menu_depth_2_unit' => '%', |
| 876 |
'menu_depth_3' => '20', |
| 877 |
'menu_depth_3_unit' => '%', |
| 878 |
'menu_depth_4' => '25', |
| 879 |
'menu_depth_4_unit' => '%', |
| 880 |
'submenu_item_background_colour' => '', |
| 881 |
'submenu_item_background_hover_colour' => '', |
| 882 |
'submenu_current_item_background_colour' => '', |
| 883 |
'submenu_current_item_background_hover_colour' => '', |
| 884 |
'submenu_border_width' => '', |
| 885 |
'submenu_border_width_unit' => 'px', |
| 886 |
'submenu_item_border_colour' => '#1d4354', |
| 887 |
'submenu_item_border_colour_hover' => '#1d4354', |
| 888 |
'submenu_current_item_border_colour' => '#1d4354', |
| 889 |
'submenu_current_item_border_hover_colour' => '#3f3f3f', |
| 890 |
'submenu_font_size' => '13', |
| 891 |
'submenu_font_size_unit' => 'px', |
| 892 |
'submenu_font' => '', |
| 893 |
'submenu_font_weight' => 'normal', |
| 894 |
'submenu_text_letter_spacing' => '', |
| 895 |
'submenu_text_alignment' => 'left', |
| 896 |
'submenu_link_colour' => '#fff', |
| 897 |
'submenu_link_hover_colour' => '#fff', |
| 898 |
'submenu_current_link_colour' => '#fff', |
| 899 |
'submenu_current_link_hover_colour' => '#fff', |
| 900 |
'inactive_arrow_shape' => '▼', |
| 901 |
'active_arrow_shape' => '▲', |
| 902 |
'inactive_arrow_font_icon' => '', |
| 903 |
'active_arrow_font_icon' => '', |
| 904 |
'inactive_arrow_image' => '', |
| 905 |
'active_arrow_image' => '', |
| 906 |
'submenu_arrow_width' => '40', |
| 907 |
'submenu_arrow_width_unit' => 'px', |
| 908 |
'submenu_arrow_height' => '39', |
| 909 |
'submenu_arrow_height_unit' => 'px', |
| 910 |
'arrow_position' => 'right', |
| 911 |
'menu_sub_arrow_shape_colour' => '#fff', |
| 912 |
'menu_sub_arrow_shape_hover_colour' => '#fff', |
| 913 |
'menu_sub_arrow_shape_colour_active' => '#fff', |
| 914 |
'menu_sub_arrow_shape_hover_colour_active' => '#fff', |
| 915 |
'menu_sub_arrow_border_width' => '', |
| 916 |
'menu_sub_arrow_border_width_unit' => 'px', |
| 917 |
'menu_sub_arrow_border_colour' => '#1d4354', |
| 918 |
'menu_sub_arrow_border_hover_colour' => '#3f3f3f', |
| 919 |
'menu_sub_arrow_border_colour_active' => '#1d4354', |
| 920 |
'menu_sub_arrow_border_hover_colour_active' => '#3f3f3f', |
| 921 |
'menu_sub_arrow_background_colour' => '', |
| 922 |
'menu_sub_arrow_background_hover_colour' => '', |
| 923 |
'menu_sub_arrow_background_colour_active' => 'rgba(33,33,33,0.01)', |
| 924 |
'menu_sub_arrow_background_hover_colour_active' => '', |
| 925 |
'fade_submenus' => 'off', |
| 926 |
'fade_submenus_side' => 'left', |
| 927 |
'fade_submenus_delay' => '100', |
| 928 |
'fade_submenus_speed' => '500', |
| 929 |
'use_slide_effect' => 'off', |
| 930 |
'slide_effect_back_to_text' => 'Back', |
| 931 |
'accordion_animation' => 'off', |
| 932 |
'auto_expand_all_submenus' => 'off', |
| 933 |
'auto_expand_current_submenus' => 'off', |
| 934 |
'menu_item_click_to_trigger_submenu' => 'off', |
| 935 |
'button_width' => '55', |
| 936 |
'button_width_unit' => 'px', |
| 937 |
'button_height' => '55', |
| 938 |
'button_height_unit' => 'px', |
| 939 |
'button_background_colour' => '#1d4354', |
| 940 |
'button_background_colour_hover' => '#1d4354', |
| 941 |
'button_background_colour_active' => '#6fda44', |
| 942 |
'toggle_button_border_radius' => '5', |
| 943 |
'button_transparent_background' => 'off', |
| 944 |
'button_left_or_right' => 'right', |
| 945 |
'button_position_type' => 'fixed', |
| 946 |
'button_distance_from_side' => '5', |
| 947 |
'button_distance_from_side_unit' => '%', |
| 948 |
'button_top' => '15', |
| 949 |
'button_top_unit' => 'px', |
| 950 |
'button_push_with_animation' => 'off', |
| 951 |
'button_click_animation' => 'boring', |
| 952 |
'button_line_margin' => '10', |
| 953 |
'button_line_margin_unit' => 'px', |
| 954 |
'button_line_width' => '25', |
| 955 |
'button_line_width_unit' => 'px', |
| 956 |
'button_line_height' => '3', |
| 957 |
'button_line_height_unit' => 'px', |
| 958 |
'button_line_colour' => '#fff', |
| 959 |
'button_line_colour_hover' => '#fff', |
| 960 |
'button_line_colour_active' => '#fff', |
| 961 |
'button_font_icon' => '', |
| 962 |
'button_font_icon_when_clicked' => '', |
| 963 |
'button_image' => '', |
| 964 |
'button_image_when_clicked' => '', |
| 965 |
'button_title' => '', |
| 966 |
'button_title_open' => '', |
| 967 |
'button_title_position' => 'left', |
| 968 |
'menu_container_columns' => '', |
| 969 |
'button_font' => '', |
| 970 |
'button_font_size' => '14', |
| 971 |
'button_font_size_unit' => 'px', |
| 972 |
'button_title_line_height' => '13', |
| 973 |
'button_title_line_height_unit' => 'px', |
| 974 |
'button_text_colour' => '#fff', |
| 975 |
'button_trigger_type_click' => 'on', |
| 976 |
'button_trigger_type_hover' => 'off', |
| 977 |
'button_click_trigger' => '', |
| 978 |
'items_order' => |
| 979 |
array( |
| 980 |
'title' => 'on', |
| 981 |
'additional content' => 'on', |
| 982 |
'menu' => 'on', |
| 983 |
'search' => 'on', |
| 984 |
'social-icons' => '', |
| 985 |
), |
| 986 |
'menu_title' => 'Responsive Menu', |
| 987 |
'menu_title_link' => '', |
| 988 |
'menu_title_link_location' => '_self', |
| 989 |
'menu_title_image' => '', |
| 990 |
'menu_title_font_icon' => '', |
| 991 |
'menu_title_section_padding' => |
| 992 |
array( |
| 993 |
'top' => '10%', |
| 994 |
'right' => '5%', |
| 995 |
'bottom' => '0%', |
| 996 |
'left' => '5%', |
| 997 |
), |
| 998 |
'menu_title_background_colour' => '', |
| 999 |
'menu_title_background_hover_colour' => '', |
| 1000 |
'menu_title_font_size' => '25', |
| 1001 |
'menu_title_font_size_unit' => 'px', |
| 1002 |
'menu_title_alignment' => 'center', |
| 1003 |
'menu_title_font_weight' => '400', |
| 1004 |
'menu_title_font_family' => '', |
| 1005 |
'menu_title_colour' => '#ffffff', |
| 1006 |
'menu_title_hover_colour' => '#fff', |
| 1007 |
'menu_title_image_width' => '', |
| 1008 |
'menu_title_image_width_unit' => '%', |
| 1009 |
'menu_title_image_height' => '', |
| 1010 |
'menu_title_image_height_unit' => 'px', |
| 1011 |
'menu_additional_content' => 'Add more content here...', |
| 1012 |
'menu_additional_section_padding' => |
| 1013 |
array( |
| 1014 |
'top' => '0%', |
| 1015 |
'right' => '5%', |
| 1016 |
'bottom' => '10%', |
| 1017 |
'left' => '5%', |
| 1018 |
), |
| 1019 |
'menu_additional_content_font_size' => '16', |
| 1020 |
'menu_additional_content_font_size_unit' => 'px', |
| 1021 |
'menu_additional_content_alignment' => 'center', |
| 1022 |
'menu_additional_content_colour' => '#6fda44', |
| 1023 |
'menu_social_icons' => array(), |
| 1024 |
'menu_social_icons_size' => '24', |
| 1025 |
'menu_social_icons_size_unit' => 'px', |
| 1026 |
'menu_social_icons_layout' => 'horizontal', |
| 1027 |
'menu_social_icons_alignment' => 'center', |
| 1028 |
'menu_social_icons_gap' => '10', |
| 1029 |
'menu_social_icons_gap_unit' => 'px', |
| 1030 |
'menu_social_icons_section_padding' => |
| 1031 |
array( |
| 1032 |
'top' => '0%', |
| 1033 |
'right' => '0%', |
| 1034 |
'bottom' => '0%', |
| 1035 |
'left' => '0%', |
| 1036 |
), |
| 1037 |
'menu_search_box_text' => 'Search', |
| 1038 |
'menu_search_box_code' => '', |
| 1039 |
'menu_search_section_padding' => |
| 1040 |
array( |
| 1041 |
'top' => '5%', |
| 1042 |
'right' => '5%', |
| 1043 |
'bottom' => '5%', |
| 1044 |
'left' => '5%', |
| 1045 |
), |
| 1046 |
'menu_search_box_height' => '45', |
| 1047 |
'menu_search_box_height_unit' => 'px', |
| 1048 |
'menu_search_box_border_radius' => '30', |
| 1049 |
'menu_search_box_text_colour' => '#1d4354', |
| 1050 |
'menu_search_box_background_colour' => '#ffffff', |
| 1051 |
'menu_search_box_placeholder_colour' => '#1d4354', |
| 1052 |
'menu_search_box_border_colour' => '', |
| 1053 |
'menu_section_padding' => |
| 1054 |
array( |
| 1055 |
'top' => '0px', |
| 1056 |
'right' => '0px', |
| 1057 |
'bottom' => '0px', |
| 1058 |
'left' => '0px', |
| 1059 |
), |
| 1060 |
'menu_width' => '75', |
| 1061 |
'menu_width_unit' => '%', |
| 1062 |
'menu_maximum_width' => '350', |
| 1063 |
'menu_maximum_width_unit' => 'px', |
| 1064 |
'menu_minimum_width' => '320', |
| 1065 |
'menu_minimum_width_unit' => 'px', |
| 1066 |
'menu_auto_height' => 'off', |
| 1067 |
'menu_container_padding' => |
| 1068 |
array( |
| 1069 |
'top' => '0px', |
| 1070 |
'right' => '0px', |
| 1071 |
'bottom' => '0px', |
| 1072 |
'left' => '0px', |
| 1073 |
), |
| 1074 |
'menu_container_background_colour' => '#1d4354', |
| 1075 |
'menu_background_image' => '', |
| 1076 |
'animation_type' => 'slide', |
| 1077 |
'menu_appear_from' => 'left', |
| 1078 |
'animation_speed' => '0.5', |
| 1079 |
'page_wrapper' => 'body', |
| 1080 |
'menu_close_on_body_click' => 'off', |
| 1081 |
'menu_close_on_scroll' => 'off', |
| 1082 |
'menu_close_on_link_click' => 'off', |
| 1083 |
'enable_touch_gestures' => 'off', |
| 1084 |
); |
| 1085 |
|
| 1086 |
return $default_options; |
| 1087 |
} |
| 1088 |
|