From 7083aa389365e13d8654c8a0ff3335845c6072cb Mon Sep 17 00:00:00 2001 From: komkida91 Date: Tue, 27 Jan 2026 18:00:16 +0100 Subject: [PATCH] =?UTF-8?q?Cleanup:=20Remoci=C3=B3n=20masiva=20de=20restos?= =?UTF-8?q?=20de=20WordPress=20y=20consolidaci=C3=B3n=20de=20archivos=20GK?= =?UTF-8?q?ACHELE=E2=84=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agent/workflows/base-plan.md | 7 + .agent/workflows/premium-plan.md | 7 + .agent/workflows/pro-plan.md | 7 + demo/database.py | 2 +- demo/routes/customizer.py | 29 +- demo/routes/public.py | 4 +- demo/templates/client_admin.html | 166 +- ...TO.html => customizer-premium-MODELO.html} | 0 demo/templates/customizer.html | 1438 +- demo/themes/restaurante-asiatico/config.json | 3 +- demo/themes/restaurante-elegante/config.json | 3 +- demo/themes/restaurante-moderno/config.json | 3 +- demo/utils/theme_engine.py | 33 +- deploy_modular.sh | 35 + .../2657d2fb3920c72459daac517e2e3e6f.css | 0 .../f5da17b6cabb5ca89136fd0e8e9f1bde.css | 0 ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7jsDJT9g.woff2 | Bin ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7ksDJT9g.woff2 | Bin .../6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDI.woff2 | Bin ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7osDJT9g.woff2 | Bin ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7psDJT9g.woff2 | Bin ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7qsDJT9g.woff2 | Bin ...K1dSBYKcSV-LCoeQqfX1RYOo3qPZ7rsDJT9g.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2 | Bin .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdg18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdh18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdi18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdj18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdo18Smxg.woff2 | Bin ...wdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18Q.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZY4lCdv18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdg18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdh18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdi18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdj18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdo18Smxg.woff2 | Bin ...wdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18Q.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZYokSdv18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkidg18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkidh18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkidi18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkidj18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkido18Smxg.woff2 | Bin ...wdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18Q.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZMkidv18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdg18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdh18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdi18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdj18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdo18Smxg.woff2 | Bin ...wdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18Q.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZclSdv18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydg18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydh18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydi18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydj18Smxg.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydo18Smxg.woff2 | Bin ...wdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18Q.woff2 | Bin ...BYKcSV-LCoeQqfX1RYOo3qPZZklydv18Smxg.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwkxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwlBduz8A.woff2 | Bin ...6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwmBduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwmhduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i54rwmxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wkxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wlBduz8A.woff2 | Bin ...6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdu.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wmBduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wmRduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wmhduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3i94_wmxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBduz8A.woff2 | Bin ...6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBduz8A.woff2 | Bin ...6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwkxduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwlBduz8A.woff2 | Bin ...6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdu.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwmBduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwmRduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwmhduz8A.woff2 | Bin ...ydSBYKcSV-LCoeQqfX1RYOo3iu4nwmxduz8A.woff2 | Bin .../V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2 | Bin .../V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2 | Bin .../V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2 | Bin {wp-content => gk-assets}/index.php | 0 .../languages/admin-es_ES.l10n.php | 0 .../languages/admin-es_ES.mo | Bin .../languages/admin-es_ES.po | 0 .../languages/admin-network-es_ES.l10n.php | 0 .../languages/admin-network-es_ES.mo | Bin .../languages/admin-network-es_ES.po | 0 .../continents-cities-es_ES.l10n.php | 0 .../languages/continents-cities-es_ES.mo | Bin .../languages/continents-cities-es_ES.po | 0 ...s_ES-0cc31205f20441b3df1d1b46100f6b8d.json | 0 ...s_ES-0ce75ad2f775d1cac9696967d484808c.json | 0 ...s_ES-0eebe503220d4a00341eb011b92769b4.json | 0 ...s_ES-17179a5f2930647c89151e365f843b6e.json | 0 ...s_ES-1780a2033cf98d69ce13c2e5c8510004.json | 0 ...s_ES-1a0cd6a7128913b15c1a10dd68951869.json | 0 ...s_ES-1bba9045bb07c89671c88a3f328548e8.json | 0 ...s_ES-1c4303f02ff93b290e9faad991eeb06f.json | 0 ...s_ES-1d17475f620f63a92e2c5d2681c51ee8.json | 0 ...s_ES-2617ce121227a46077ede6c69aa9fcb5.json | 0 ...s_ES-270d72d1cff17227d37f3244759cbecb.json | 0 ...s_ES-28b3c3d595952907e08d98287077426c.json | 0 ...s_ES-2b390f85a3048c5b4255fb45960b6514.json | 0 ...s_ES-2c5d274ea625dd91556554ad82901529.json | 0 ...s_ES-320f4ad9792aaa6dedb1e71cbdf85d57.json | 0 ...s_ES-440127dd25bde48a531ded36f33e927b.json | 0 ...s_ES-49c6d4acf36cf3aca9f0b2a77617304f.json | 0 ...s_ES-4a38fe1c0c45989e44682ba6109d9f46.json | 0 ...s_ES-4bfa11da57ff2600004bb500368247f4.json | 0 ...s_ES-50278328b502f4eb3f2b8b7ab49324a1.json | 0 ...s_ES-5251f7623766a714c8207c7edb938628.json | 0 ...s_ES-529362903a5a05b34b06b5e793fb4cf8.json | 0 ...s_ES-569e85ef168299eb8c8f24d8ef8c8a78.json | 0 ...s_ES-6025add6bde16aaeb12787d250f9b414.json | 0 ...s_ES-60d06fac6f98e8e8f0ec5a945738b660.json | 0 ...s_ES-68f2cec7514bf8563c723a4d675fcfe6.json | 0 ...s_ES-7233008897033de5ee0d14f86a42a65a.json | 0 ...s_ES-7289286ed59e90a8f36ae797df62220b.json | 0 ...s_ES-7436b7ee9e4f11ac0d618d8cc886eb66.json | 0 ...s_ES-77fdfadaf2e1ca3a027d1956b910bc50.json | 0 ...s_ES-7b74c8457eaa7fcc50db41b431f8a003.json | 0 ...s_ES-7c90cd4398ee2d9d3628c387a87a70e5.json | 0 ...s_ES-7d5ca435e60d92f024d46c9257aaa0f7.json | 0 ...s_ES-7f13c36c641b114bf18cd0bcc9ecc7e0.json | 0 ...s_ES-803bf1ce2131e13efc590c1bc47851fc.json | 0 ...s_ES-81c889563f09dd13de1701135dc62941.json | 0 ...s_ES-81d6f084cb273e02e15b01bd9ece87f7.json | 0 ...s_ES-8240df461220d1d3a028a9a4c5652a5b.json | 0 ...s_ES-8860e58c20c6a2ab5876a0f07be43bd9.json | 0 ...s_ES-93882e8f9976382d7f724ac595ed7151.json | 0 ...s_ES-947c76bb5095da30e16668eec15406b2.json | 0 ...s_ES-9b256ea9cd54df92095e04c76758ceb0.json | 0 ...s_ES-9c3519f4870fac83dc0dbf18cb6bd4c4.json | 0 ...s_ES-9d47a87c240c1d10701cd6a02b28aa1b.json | 0 ...s_ES-a25d1cc7bf7ca0b4e114f6bea64943f4.json | 0 ...s_ES-a2796e57f680e25d84c4b352ee6d7280.json | 0 ...s_ES-a9dc201dcd011fe71849743133052619.json | 0 ...s_ES-aabfce98c410957228848dc581e3c420.json | 0 ...s_ES-ac23eee47530ac63a1178c827db28087.json | 0 ...s_ES-bf0f094965d3d4a95b47babcb35fc136.json | 0 ...s_ES-bf23b24175490c2e46aaf92ff6a0c70f.json | 0 ...s_ES-c31d5f185753910c14afebc6deb2ce24.json | 0 ...s_ES-ca28138671823450e87dfd354f7afc6b.json | 0 ...s_ES-daeb084aab42199d26393a56c3465bc0.json | 0 ...s_ES-e2791ba830489d23043be8650a22a22b.json | 0 ...s_ES-e2e4c4b80f3adf2c70b431bfdb1b4872.json | 0 ...s_ES-e53526243551a102928735ec9eed4edf.json | 0 ...s_ES-f575f481034e90e21d832e415fd95fcf.json | 0 ...s_ES-f70806bf0c7d62f2908bd5a1c3fe4efc.json | 0 ...s_ES-f8f49d9fc4a9cf7d78ec99285417bd9c.json | 0 .../languages/es_ES.l10n.php | 0 {wp-content => gk-assets}/languages/es_ES.mo | Bin {wp-content => gk-assets}/languages/es_ES.po | 0 .../languages/plugins/akismet-es_ES.l10n.php | 0 .../languages/plugins/akismet-es_ES.mo | Bin .../languages/plugins/akismet-es_ES.po | 0 .../languages/plugins/hello-dolly-es_ES.mo | Bin .../languages/plugins/hello-dolly-es_ES.po | 0 .../languages/themes/abiz-es_ES.l10n.php | 0 .../languages/themes/abiz-es_ES.mo | Bin .../languages/themes/abiz-es_ES.po | 0 .../languages/themes/arvina-es_ES.l10n.php | 0 .../languages/themes/arvina-es_ES.mo | Bin .../languages/themes/arvina-es_ES.po | 0 .../languages/themes/chromax-es_ES.l10n.php | 0 .../languages/themes/chromax-es_ES.mo | Bin .../languages/themes/chromax-es_ES.po | 0 .../themes/twentytwentyfive-es_ES.l10n.php | 0 .../themes/twentytwentyfive-es_ES.mo | Bin .../themes/twentytwentyfive-es_ES.po | 0 .../themes/twentytwentyfour-es_ES.l10n.php | 0 .../themes/twentytwentyfour-es_ES.mo | Bin .../themes/twentytwentyfour-es_ES.po | 0 .../themes/twentytwentythree-es_ES.l10n.php | 0 .../themes/twentytwentythree-es_ES.mo | Bin .../themes/twentytwentythree-es_ES.po | 0 .../plugins/akismet/.htaccess | 0 .../plugins/akismet/LICENSE.txt | 0 .../plugins/akismet/_inc/akismet-admin.css | 0 .../plugins/akismet/_inc/akismet-admin.js | 0 .../plugins/akismet/_inc/akismet-frontend.js | 0 .../plugins/akismet/_inc/akismet.css | 0 .../plugins/akismet/_inc/akismet.js | 0 .../plugins/akismet/_inc/fonts/inter.css | 0 .../akismet-activation-banner-elements.png | Bin .../akismet/_inc/img/akismet-refresh-logo.svg | 0 .../_inc/img/akismet-refresh-logo@2x.png | Bin .../plugins/akismet/_inc/img/arrow-left.svg | 0 .../plugins/akismet/_inc/img/logo-a-2x.png | Bin .../akismet/_inc/rtl/akismet-admin-rtl.css | 0 .../plugins/akismet/_inc/rtl/akismet-rtl.css | 0 .../plugins/akismet/akismet.php | 0 .../plugins/akismet/changelog.txt | 0 .../class-akismet-compatible-plugins.php | 0 .../plugins/akismet/class.akismet-admin.php | 0 .../plugins/akismet/class.akismet-cli.php | 0 .../akismet/class.akismet-rest-api.php | 0 .../plugins/akismet/class.akismet-widget.php | 0 .../plugins/akismet/class.akismet.php | 0 .../plugins/akismet/index.php | 0 .../plugins/akismet/readme.txt | 0 .../plugins/akismet/views/activate.php | 0 .../akismet/views/compatible-plugins.php | 0 .../plugins/akismet/views/config.php | 0 .../plugins/akismet/views/connect-jp.php | 0 .../plugins/akismet/views/enter.php | 0 .../plugins/akismet/views/get.php | 0 .../plugins/akismet/views/logo.php | 0 .../plugins/akismet/views/notice.php | 0 .../plugins/akismet/views/predefined.php | 0 .../plugins/akismet/views/setup-jetpack.php | 0 .../plugins/akismet/views/setup.php | 0 .../plugins/akismet/views/start.php | 0 .../plugins/akismet/views/stats.php | 0 .../plugins/akismet/wrapper.php | 0 {wp-content => gk-assets}/plugins/hello.php | 0 {wp-content => gk-assets}/plugins/index.php | 0 {wp-content => gk-assets}/themes/abiz/404.php | 52 +- .../themes/abiz/archive.php | 90 +- .../themes/abiz/assets/css/all.css | 70608 ++++++++-------- .../themes/abiz/assets/css/all.min.css | 0 .../themes/abiz/assets/css/animate.css | 6274 +- .../themes/abiz/assets/css/animate.min.css | 12 +- .../themes/abiz/assets/css/bootstrap.css | 19948 ++--- .../themes/abiz/assets/css/bootstrap.min.css | 0 .../themes/abiz/assets/css/main.css | 18796 ++-- .../themes/abiz/assets/css/owl.carousel.css | 1180 +- .../abiz/assets/css/owl.carousel.min.css | 0 .../themes/abiz/assets/css/responsive.css | 1402 +- .../abiz/assets/images/bg/breadcrumbg.jpg | Bin .../abiz/assets/images/btn-arrow-icon.svg | 6 +- .../themes/abiz/assets/images/btn-circle.svg | 4 +- .../themes/abiz/assets/images/pattern1.png | Bin .../themes/abiz/assets/js/bootstrap.js | 3972 +- .../themes/abiz/assets/js/bootstrap.min.js | 0 .../themes/abiz/assets/js/custom.js | 500 +- .../themes/abiz/assets/js/jquery.marquee.js | 978 +- .../themes/abiz/assets/js/owl.carousel.js | 2066 +- .../themes/abiz/assets/js/owl.carousel.min.js | 0 .../themes/abiz/assets/js/wow.js | 650 +- .../themes/abiz/assets/js/wow.min.js | 6 +- .../abiz/assets/webfonts/fa-brands-400.ttf | Bin .../abiz/assets/webfonts/fa-brands-400.woff2 | Bin .../abiz/assets/webfonts/fa-duotone-900.ttf | Bin .../abiz/assets/webfonts/fa-duotone-900.woff2 | Bin .../abiz/assets/webfonts/fa-light-300.ttf | Bin .../abiz/assets/webfonts/fa-light-300.woff2 | Bin .../abiz/assets/webfonts/fa-regular-400.ttf | Bin .../abiz/assets/webfonts/fa-regular-400.woff2 | Bin .../abiz/assets/webfonts/fa-solid-900.ttf | Bin .../abiz/assets/webfonts/fa-solid-900.woff2 | Bin .../abiz/assets/webfonts/fa-thin-100.ttf | Bin .../abiz/assets/webfonts/fa-thin-100.woff2 | Bin .../assets/webfonts/fa-v4compatibility.ttf | Bin .../assets/webfonts/fa-v4compatibility.woff2 | Bin .../themes/abiz/comments.php | 92 +- .../themes/abiz/core/core.php | 1732 +- .../themes/abiz/core/custom-header.php | 74 +- .../abiz-customize-sanitization.php | 120 +- .../core/customizer/abiz-default-options.php | 0 .../abiz/core/customizer/abiz-general.php | 1920 +- .../customizer/abiz-panels-and-sections.php | 0 .../abiz-selective-refresh-and-partial.php | 138 +- .../abiz/core/customizer/assets/css/admin.css | 0 .../core/customizer/assets/css/controls.css | 0 .../core/customizer/assets/js/admin-script.js | 52 +- .../core/customizer/assets/js/controls.js | 170 +- .../assets/js/customizer-section.js | 74 +- .../core/customizer/assets/js/customizer.js | 516 +- .../customize-base-control.php | 0 .../customize-category-control.php | 0 .../customize-control-sortable.php | 0 .../customize-toggle-control.php | 0 .../customize-upgrade-control.php | 0 .../abiz-customizer-notify-section.php | 594 +- .../abiz-customizer-notify.php | 412 +- .../css/abiz-customizer-notify.css | 278 +- .../js/abiz-customizer-notify.js | 360 +- .../class/customizer-repeater-control.php | 1696 +- .../customizer-repeater/css/admin-style.css | 424 +- .../css/fontawesome-iconpicker.css | 310 +- .../css/fontawesome-iconpicker.min.css | 0 .../customizer-repeater/inc/customizer.php | 68 +- .../customizer-repeater/inc/icons.php | 172 +- .../js/customizer_repeater.js | 1166 +- .../js/fontawesome-iconpicker.js | 134 +- .../js/fontawesome-iconpicker.min.js | 0 .../abiz/core/customizer/customizer.php | 206 +- .../theme-menu/class-bootstrap-navwalker.php | 0 .../themes/abiz/core/wptt-webfont-loader.php | 0 .../themes/abiz/footer.php | 32 +- .../themes/abiz/frontpage.php | 28 +- .../themes/abiz/fullwidth-page.php | 50 +- .../themes/abiz/functions.php | 112 +- .../themes/abiz/header.php | 54 +- .../themes/abiz/index.php | 96 +- .../themes/abiz}/licence.txt | 1348 +- .../themes/abiz/page.php | 88 +- .../themes/abiz/pagebuilder.php | 0 .../themes/abiz/readme.txt | 338 +- .../themes/abiz/screenshot.png | Bin .../themes/abiz/search.php | 92 +- .../themes/abiz/searchform.php | 0 .../themes/abiz/sidebar-woocommerce.php | 20 +- .../themes/abiz/sidebar.php | 20 +- .../themes/abiz/single.php | 56 +- .../themes/abiz/style.css | 52 +- .../abiz/template-parts/author-details.php | 78 +- .../abiz/template-parts/content-none.php | 72 +- .../abiz/template-parts/content-page.php | 172 +- .../themes/abiz/template-parts/content.php | 182 +- .../abiz/template-parts/footer-copyright.php | 26 +- .../themes/abiz/template-parts/footer-top.php | 88 +- .../abiz/template-parts/footer-widget.php | 66 +- .../abiz/template-parts/header-account.php | 26 +- .../abiz/template-parts/header-button.php | 24 +- .../abiz/template-parts/header-cart.php | 62 +- .../abiz/template-parts/header-search.php | 36 +- .../abiz/template-parts/site-branding.php | 48 +- .../abiz/template-parts/site-breadcrumb.php | 56 +- .../themes/abiz/template-parts/site-info.php | 18 +- .../abiz/template-parts/site-main-nav.php | 24 +- .../themes/abiz/theme-header.php | 136 +- .../themes/abiz/woocommerce.php | 38 +- .../abiz/woocommerce/cart/mini-cart.php | 0 .../abiz/woocommerce/content-product.php | 0 .../themes/arvina/core/core.php | 86 +- .../customize-upgrade-control.php | 0 .../themes/arvina/functions.php | 22 +- .../themes/arvina/header.php | 54 +- .../themes/arvina/readme.txt | 212 +- .../themes/arvina/screenshot.png | Bin .../themes/arvina/style.css | 742 +- .../themes/arvina/theme-header.php | 136 +- .../themes/chromax/404.php | 54 +- .../themes/chromax/archive.php | 86 +- .../themes/chromax/assets/css/core.css | 848 +- .../themes/chromax/assets/css/themes.css | 23296 ++--- .../themes/chromax/assets/css/woo-styles.css | 0 .../themes/chromax/assets/images/bg_one.png | Bin .../themes/chromax/assets/images/bg_two.png | Bin .../chromax/assets/images/blog_arrows.png | Bin .../themes/chromax/assets/images/error_bg.jpg | Bin .../chromax/assets/images/pagetitle.jpg | Bin .../chromax/assets/images/pattern-1.png | Bin .../chromax/assets/images/pattern-9.png | Bin .../themes/chromax/assets/images/shape-1.png | Bin .../themes/chromax/assets/images/shape-2.png | Bin .../themes/chromax/assets/js/custom.js | 1052 +- .../themes/chromax/assets/js/theme.js | 868 +- .../themes/chromax/assets/vendors/css/all.css | 70608 ++++++++-------- .../chromax/assets/vendors/css/all.min.css | 0 .../chromax/assets/vendors/css/animate.css | 0 .../themes/chromax/assets/vendors/css/aos.css | 2302 +- .../chromax/assets/vendors/css/aos.min.css | 0 .../assets/vendors/css/jquery.fancybox.css | 1736 +- .../vendors/css/jquery.fancybox.min.css | 0 .../assets/vendors/css/owl.carousel.css | 434 +- .../assets/vendors/css/owl.carousel.min.css | 0 .../assets/vendors/js/jquery.appear.js | 302 +- .../assets/vendors/js/jquery.fancybox.js | 0 .../themes/chromax/assets/vendors/js/lenis.js | 796 +- .../chromax/assets/vendors/js/lenis.min.js | 0 .../chromax/assets/vendors/js/owl.carousel.js | 0 .../chromax/assets/vendors/js/particles.js | 0 .../assets/vendors/js/scrolltrigger.js | 0 .../chromax/assets/vendors/js/splittext.js | 0 .../themes/chromax/assets/vendors/js/wow.js | 662 +- .../chromax/assets/vendors/js/wow.min.js | 0 .../themes/chromax/comments.php | 166 +- .../themes/chromax/footer.php | 40 +- .../themes/chromax/functions.php | 766 +- .../themes/chromax/header.php | 66 +- .../chromax/inc/admin/assets/css/admin.css | 0 .../admin/assets/js/chromax-admin-script.js | 0 .../chromax/inc/admin/getting-started.php | 0 .../inc/class-wp-bootstrap-navwalker.php | 1126 +- .../themes/chromax/inc/custom-header.php | 100 +- .../assets/js/customizer-preview.js | 1496 +- .../assets/js/customizer-section.js | 114 +- .../inc/customizer/chromax-customizer.php | 178 +- .../customizer/chromax-selective-partial.php | 78 +- .../customizer/chromax-selective-refresh.php | 116 +- .../chromax-category-dropdown-control.php | 94 +- .../code/chromax-icon-picker-control.php | 1902 +- .../controls/code/chromax-slider-control.php | 620 +- .../code/control-function/style-functions.php | 200 +- .../class/customizer-repeater-control.php | 1954 +- .../customizer-repeater/css/admin-style.css | 426 +- .../css/fontawesome-iconpicker.css | 310 +- .../css/fontawesome-iconpicker.min.css | 0 .../customizer-repeater/inc/customizer.php | 68 +- .../code/customizer-repeater/inc/icons.php | 176 +- .../js/customizer_repeater.js | 1226 +- .../js/fontawesome-iconpicker.js | 134 +- .../js/fontawesome-iconpicker.min.js | 0 .../class/class-chromax-page-editor.php | 162 +- .../code/editor/css/chromax-page-editor.css | 196 +- .../code/editor/customizer-page-editor.php | 368 +- .../code/editor/js/chromax-text-editor.js | 228 +- .../code/editor/js/chromax-update-controls.js | 106 +- .../controls/code/upgrade/class-customize.php | 0 .../controls/code/upgrade/section-pro.php | 0 .../inc/customizer/controls/css/controls.css | 560 +- .../inc/customizer/controls/js/controls.js | 374 +- .../controls/js/fonticonpicker/iconpicker.eot | Bin .../controls/js/fonticonpicker/iconpicker.svg | 36 +- .../controls/js/fonticonpicker/iconpicker.ttf | Bin .../js/fonticonpicker/iconpicker.woff | Bin .../fonticonpicker/jquery.fonticonpicker.css | 654 +- .../fonticonpicker/jquery.fonticonpicker.js | 828 +- .../chromax-customizer-notify-section.php | 0 .../chromax-customizer-notify.php | 0 .../chromax-notify-plugin.php | 44 +- .../css/chromax-customizer-notify.css | 0 .../js/chromax-customizer-notify.js | 0 .../chromax-footer-customize-setting.php | 476 +- .../chromax-header-customize-setting.php | 2028 +- .../chromax-theme-customize-setting.php | 2164 +- .../chromax-typography-customize-setting.php | 1120 +- .../chromax/inc/customizer/sanitization.php | 212 +- .../themes/chromax/inc/template-tags.php | 2186 +- .../chromax/inc/wptt-webfont-loader.php | 1394 +- .../themes/chromax/index.php | 96 +- .../themes/chromax}/licence.txt | 1348 +- .../chromax/page-templates/frontpage.php | 18 +- .../page-templates/page-full-width.php | 48 +- .../chromax/page-templates/pagebuilder.php | 34 +- .../themes/chromax/page.php | 118 +- .../themes/chromax/readme.txt | 406 +- .../themes/chromax/screenshot.png | Bin .../themes/chromax/search.php | 74 +- .../themes/chromax/sidebar-woocommerce.php | 28 +- .../themes/chromax/sidebar.php | 26 +- .../themes/chromax/single.php | 230 +- .../themes/chromax/style.css | 218 +- .../chromax/template-parts/content-none.php | 88 +- .../chromax/template-parts/content-page.php | 242 +- .../themes/chromax/template-parts/content.php | 64 +- .../template-parts/site-breadcrumb.php | 74 +- .../chromax/template-parts/site-header.php | 196 +- .../themes/chromax/woocommerce.php | 48 +- .../chromax/woocommerce/cart/mini-cart.php | 340 +- .../chromax/woocommerce/content-product.php | 102 +- {wp-content => gk-assets}/themes/index.php | 0 .../assets/css/editor-style.css | 0 .../beiruti/Beiruti-VariableFont_wght.woff2 | Bin .../FiraCode-VariableFont_wght.woff2 | Bin .../fonts/fira-sans/FiraSans-Black.woff2 | Bin .../fira-sans/FiraSans-BlackItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-Bold.woff2 | Bin .../fonts/fira-sans/FiraSans-BoldItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-ExtraBold.woff2 | Bin .../fira-sans/FiraSans-ExtraBoldItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-ExtraLight.woff2 | Bin .../fira-sans/FiraSans-ExtraLightItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-Italic.woff2 | Bin .../fonts/fira-sans/FiraSans-Light.woff2 | Bin .../fira-sans/FiraSans-LightItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-Medium.woff2 | Bin .../fira-sans/FiraSans-MediumItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-Regular.woff2 | Bin .../fonts/fira-sans/FiraSans-SemiBold.woff2 | Bin .../fira-sans/FiraSans-SemiBoldItalic.woff2 | Bin .../fonts/fira-sans/FiraSans-Thin.woff2 | Bin .../fonts/fira-sans/FiraSans-ThinItalic.woff2 | Bin .../fonts/literata/Literata72pt-Black.woff2 | Bin .../literata/Literata72pt-BlackItalic.woff2 | Bin .../fonts/literata/Literata72pt-Bold.woff2 | Bin .../literata/Literata72pt-BoldItalic.woff2 | Bin .../literata/Literata72pt-ExtraBold.woff2 | Bin .../Literata72pt-ExtraBoldItalic.woff2 | Bin .../literata/Literata72pt-ExtraLight.woff2 | Bin .../Literata72pt-ExtraLightItalic.woff2 | Bin .../fonts/literata/Literata72pt-Light.woff2 | Bin .../literata/Literata72pt-LightItalic.woff2 | Bin .../fonts/literata/Literata72pt-Medium.woff2 | Bin .../literata/Literata72pt-MediumItalic.woff2 | Bin .../fonts/literata/Literata72pt-Regular.woff2 | Bin .../literata/Literata72pt-RegularItalic.woff2 | Bin .../literata/Literata72pt-SemiBold.woff2 | Bin .../Literata72pt-SemiBoldItalic.woff2 | Bin .../manrope/Manrope-VariableFont_wght.woff2 | Bin .../Platypi-Italic-VariableFont_wght.woff2 | Bin .../platypi/Platypi-VariableFont_wght.woff2 | Bin .../RobotoSlab-VariableFont_wght.woff2 | Bin .../Vollkorn-Italic-VariableFont_wght.woff2 | Bin .../vollkorn/Vollkorn-VariableFont_wght.woff2 | Bin ...abeauOffice-Italic-VariableFont_wght.woff2 | Bin .../YsabeauOffice-VariableFont_wght.woff2 | Bin .../assets/images/404-image.webp | Bin .../assets/images/agenda-img-4.webp | Bin .../images/akaka-falls-state-park-flora.webp | Bin .../assets/images/book-image-landing.webp | Bin .../assets/images/book-image.webp | Bin .../assets/images/botany-flowers-closeup.webp | Bin .../assets/images/botany-flowers.webp | Bin .../campanula-alliariifolia-flower.webp | Bin .../assets/images/category-anthuriums.webp | Bin .../assets/images/category-cactus.webp | Bin .../assets/images/category-sunflowers.webp | Bin .../assets/images/coming-soon-bg-image.webp | Bin .../assets/images/coral-square.webp | Bin .../assets/images/dallas-creek-square.webp | Bin .../assets/images/delphinium-flowers.webp | Bin .../assets/images/flower-meadow-square.webp | Bin .../assets/images/grid-flower-1.webp | Bin .../assets/images/grid-flower-2.webp | Bin .../assets/images/hero-podcast.webp | Bin .../assets/images/link-in-bio-background.webp | Bin .../assets/images/link-in-bio-image.webp | Bin .../assets/images/location.webp | Bin .../assets/images/malibu-plantlife.webp | Bin .../assets/images/man-in-hat.webp | Bin .../assets/images/marshland-birds-square.webp | Bin .../images/northern-buttercups-flowers.webp | Bin .../twentytwentyfive/assets/images/nurse.webp | Bin .../assets/images/parthenon-square.webp | Bin .../images/poster-image-background.webp | Bin .../assets/images/red-hibiscus-closeup.webp | Bin .../assets/images/ruins-image.webp | Bin .../images/services-subscriber-photo.webp | Bin .../assets/images/star-thristle-flower.webp | Bin .../assets/images/typewriter.webp | Bin .../assets/images/vash-gon-square.webp | Bin .../assets/images/woman-splashing-water.webp | Bin .../themes/twentytwentyfive/contributing.txt | 0 .../themes/twentytwentyfive/functions.php | 0 .../themes/twentytwentyfive/package-lock.json | 0 .../themes/twentytwentyfive/package.json | 0 .../parts/footer-columns.html | 0 .../parts/footer-newsletter.html | 0 .../themes/twentytwentyfive/parts/footer.html | 0 .../parts/header-large-title.html | 0 .../themes/twentytwentyfive/parts/header.html | 0 .../twentytwentyfive/parts/sidebar.html | 0 .../parts/vertical-header.html | 0 .../patterns/banner-about-book.php | 0 .../patterns/banner-cover-big-heading.php | 0 .../patterns/banner-intro-image.php | 0 .../patterns/banner-intro.php | 0 .../patterns/banner-poster.php | 0 ...anner-with-description-and-images-grid.php | 0 .../patterns/binding-format.php | 0 .../twentytwentyfive/patterns/comments.php | 0 .../patterns/contact-centered-social-link.php | 0 .../patterns/contact-info-locations.php | 0 .../patterns/contact-location-and-link.php | 0 .../patterns/cta-book-links.php | 0 .../patterns/cta-book-locations.php | 0 .../patterns/cta-centered-heading.php | 0 .../patterns/cta-events-list.php | 0 .../patterns/cta-grid-products-link.php | 0 .../patterns/cta-heading-search.php | 0 .../patterns/cta-newsletter.php | 0 .../twentytwentyfive/patterns/event-3-col.php | 0 .../twentytwentyfive/patterns/event-rsvp.php | 0 .../patterns/event-schedule.php | 0 .../patterns/footer-centered.php | 0 .../patterns/footer-columns.php | 0 .../patterns/footer-newsletter.php | 0 .../patterns/footer-social.php | 0 .../twentytwentyfive/patterns/footer.php | 0 .../patterns/format-audio.php | 0 .../twentytwentyfive/patterns/format-link.php | 0 .../twentytwentyfive/patterns/grid-videos.php | 0 .../patterns/grid-with-categories.php | 0 .../patterns/header-centered.php | 0 .../patterns/header-columns.php | 0 .../patterns/header-large-title.php | 0 .../twentytwentyfive/patterns/header.php | 0 .../heading-and-paragraph-with-image.php | 0 .../twentytwentyfive/patterns/hero-book.php | 0 .../patterns/hero-full-width-image.php | 0 .../hero-overlapped-book-cover-with-links.php | 0 .../patterns/hero-podcast.php | 0 .../twentytwentyfive/patterns/hidden-404.php | 0 .../patterns/hidden-blog-heading.php | 0 .../patterns/hidden-search.php | 0 .../patterns/hidden-sidebar.php | 0 .../patterns/hidden-written-by.php | 0 .../twentytwentyfive/patterns/logos.php | 0 .../patterns/media-instagram-grid.php | 0 .../twentytwentyfive/patterns/more-posts.php | 0 .../patterns/overlapped-images.php | 0 .../patterns/page-business-home.php | 0 .../patterns/page-coming-soon.php | 0 .../twentytwentyfive/patterns/page-cv-bio.php | 0 .../patterns/page-landing-book.php | 0 .../patterns/page-landing-event.php | 0 .../patterns/page-landing-podcast.php | 0 ...k-in-bio-heading-paragraph-links-image.php | 0 .../page-link-in-bio-wide-margins.php | 0 .../page-link-in-bio-with-tight-margins.php | 0 .../patterns/page-portfolio-home.php | 0 .../patterns/page-shop-home.php | 0 .../patterns/post-navigation.php | 0 .../patterns/pricing-2-col.php | 0 .../patterns/pricing-3-col.php | 0 .../patterns/services-3-col.php | 0 .../services-subscriber-only-section.php | 0 .../patterns/services-team-photos.php | 0 .../template-404-vertical-header-blog.php | 0 .../patterns/template-archive-news-blog.php | 0 .../patterns/template-archive-photo-blog.php | 0 .../patterns/template-archive-text-blog.php | 0 .../template-archive-vertical-header-blog.php | 0 .../patterns/template-home-news-blog.php | 0 .../patterns/template-home-photo-blog.php | 0 .../template-home-posts-grid-news-blog.php | 0 .../patterns/template-home-text-blog.php | 0 .../template-home-vertical-header-blog.php | 0 .../template-home-with-sidebar-news-blog.php | 0 .../patterns/template-page-photo-blog.php | 0 .../template-page-vertical-header-blog.php | 0 .../template-query-loop-news-blog.php | 0 .../template-query-loop-photo-blog.php | 0 .../template-query-loop-text-blog.php | 0 ...mplate-query-loop-vertical-header-blog.php | 0 .../patterns/template-query-loop.php | 0 .../patterns/template-search-news-blog.php | 0 .../patterns/template-search-photo-blog.php | 0 .../patterns/template-search-text-blog.php | 0 .../template-search-vertical-header-blog.php | 0 .../template-single-left-aligned-content.php | 0 .../patterns/template-single-news-blog.php | 0 .../patterns/template-single-offset.php | 0 .../patterns/template-single-photo-blog.php | 0 .../patterns/template-single-text-blog.php | 0 .../template-single-vertical-header-blog.php | 0 .../patterns/testimonials-2-col.php | 0 .../patterns/testimonials-6-col.php | 0 .../patterns/testimonials-large.php | 0 .../twentytwentyfive/patterns/text-faqs.php | 0 .../patterns/vertical-header.php | 0 .../themes/twentytwentyfive/readme.txt | 0 .../themes/twentytwentyfive/screenshot.png | Bin .../themes/twentytwentyfive/style.css | 0 .../themes/twentytwentyfive/style.min.css | 0 .../twentytwentyfive/styles/01-evening.json | 0 .../twentytwentyfive/styles/02-noon.json | 0 .../twentytwentyfive/styles/03-dusk.json | 0 .../twentytwentyfive/styles/04-afternoon.json | 0 .../twentytwentyfive/styles/05-twilight.json | 0 .../twentytwentyfive/styles/06-morning.json | 0 .../twentytwentyfive/styles/07-sunrise.json | 0 .../twentytwentyfive/styles/08-midnight.json | 0 .../styles/blocks/01-display.json | 0 .../styles/blocks/02-subtitle.json | 0 .../styles/blocks/03-annotation.json | 0 .../styles/blocks/post-terms-1.json | 0 .../styles/colors/01-evening.json | 0 .../styles/colors/02-noon.json | 0 .../styles/colors/03-dusk.json | 0 .../styles/colors/04-afternoon.json | 0 .../styles/colors/05-twilight.json | 0 .../styles/colors/06-morning.json | 0 .../styles/colors/07-sunrise.json | 0 .../styles/colors/08-midnight.json | 0 .../styles/sections/section-1.json | 0 .../styles/sections/section-2.json | 0 .../styles/sections/section-3.json | 0 .../styles/sections/section-4.json | 0 .../styles/sections/section-5.json | 0 .../typography/typography-preset-1.json | 0 .../typography/typography-preset-2.json | 0 .../typography/typography-preset-3.json | 0 .../typography/typography-preset-4.json | 0 .../typography/typography-preset-5.json | 0 .../typography/typography-preset-6.json | 0 .../typography/typography-preset-7.json | 0 .../twentytwentyfive/templates/404.html | 0 .../twentytwentyfive/templates/archive.html | 0 .../twentytwentyfive/templates/home.html | 0 .../twentytwentyfive/templates/index.html | 0 .../templates/page-no-title.html | 0 .../twentytwentyfive/templates/page.html | 0 .../twentytwentyfive/templates/search.html | 0 .../twentytwentyfive/templates/single.html | 0 .../themes/twentytwentyfive/theme.json | 0 .../assets/css/button-outline.css | 0 .../assets/fonts/cardo/LICENSE.txt | 0 .../assets/fonts/cardo/cardo_italic_400.woff2 | Bin .../assets/fonts/cardo/cardo_normal_400.woff2 | Bin .../assets/fonts/cardo/cardo_normal_700.woff2 | Bin ...ntSans-Italic-VariableFont_wdth,wght.woff2 | Bin ...nstrumentSans-VariableFont_wdth,wght.woff2 | Bin .../assets/fonts/instrument-sans/OFL.txt | 0 .../inter/Inter-VariableFont_slnt,wght.woff2 | Bin .../assets/fonts/inter/LICENSE.txt | 0 .../jost/Jost-Italic-VariableFont_wght.woff2 | Bin .../fonts/jost/Jost-VariableFont_wght.woff2 | Bin .../assets/fonts/jost/OFL.txt | 0 .../assets/images/abstract-geometric-art.webp | Bin .../assets/images/angular-roof.webp | Bin .../assets/images/art-gallery.webp | Bin .../assets/images/building-exterior.webp | Bin .../assets/images/green-staircase.webp | Bin .../assets/images/hotel-facade.webp | Bin .../assets/images/icon-message.webp | Bin .../assets/images/museum.webp | Bin .../assets/images/tourist-and-building.webp | Bin .../assets/images/windows.webp | Bin .../themes/twentytwentyfour/functions.php | 0 .../themes/twentytwentyfour/parts/footer.html | 0 .../themes/twentytwentyfour/parts/header.html | 0 .../twentytwentyfour/parts/post-meta.html | 0 .../twentytwentyfour/parts/sidebar.html | 0 .../twentytwentyfour/patterns/banner-hero.php | 0 .../patterns/banner-project-description.php | 0 .../patterns/cta-content-image-on-right.php | 0 .../twentytwentyfour/patterns/cta-pricing.php | 0 .../twentytwentyfour/patterns/cta-rsvp.php | 0 .../patterns/cta-services-image-left.php | 0 .../patterns/cta-subscribe-centered.php | 0 .../patterns/footer-centered-logo-nav.php | 0 .../patterns/footer-colophon-3-col.php | 0 .../twentytwentyfour/patterns/footer.php | 0 .../patterns/gallery-full-screen-image.php | 0 .../gallery-offset-images-grid-2-col.php | 0 .../gallery-offset-images-grid-3-col.php | 0 .../gallery-offset-images-grid-4-col.php | 0 .../patterns/gallery-project-layout.php | 0 .../twentytwentyfour/patterns/hidden-404.php | 0 .../patterns/hidden-comments.php | 0 .../patterns/hidden-no-results.php | 0 .../patterns/hidden-portfolio-hero.php | 0 .../patterns/hidden-post-meta.php | 0 .../patterns/hidden-post-navigation.php | 0 .../patterns/hidden-posts-heading.php | 0 .../patterns/hidden-search.php | 0 .../patterns/hidden-sidebar.php | 0 .../patterns/page-about-business.php | 0 .../patterns/page-home-blogging.php | 0 .../patterns/page-home-business.php | 0 .../patterns/page-home-portfolio-gallery.php | 0 .../patterns/page-home-portfolio.php | 0 .../patterns/page-newsletter-landing.php | 0 .../patterns/page-portfolio-overview.php | 0 .../patterns/page-rsvp-landing.php | 0 .../twentytwentyfour/patterns/posts-1-col.php | 0 .../twentytwentyfour/patterns/posts-3-col.php | 0 .../patterns/posts-grid-2-col.php | 0 .../patterns/posts-images-only-3-col.php | 0 .../posts-images-only-offset-4-col.php | 0 .../twentytwentyfour/patterns/posts-list.php | 0 .../twentytwentyfour/patterns/team-4-col.php | 0 .../patterns/template-archive-blogging.php | 0 .../patterns/template-archive-portfolio.php | 0 .../patterns/template-home-blogging.php | 0 .../patterns/template-home-business.php | 0 .../patterns/template-home-portfolio.php | 0 .../patterns/template-index-blogging.php | 0 .../patterns/template-index-portfolio.php | 0 .../patterns/template-search-blogging.php | 0 .../patterns/template-search-portfolio.php | 0 .../patterns/template-single-portfolio.php | 0 .../patterns/testimonial-centered.php | 0 .../patterns/text-alternating-images.php | 0 .../text-centered-statement-small.php | 0 .../patterns/text-centered-statement.php | 0 .../twentytwentyfour/patterns/text-faq.php | 0 .../patterns/text-feature-grid-3-col.php | 0 .../patterns/text-project-details.php | 0 .../patterns/text-title-left-image-right.php | 0 .../themes/twentytwentyfour/readme.txt | 0 .../themes/twentytwentyfour/screenshot.png | Bin .../themes/twentytwentyfour/style.css | 0 .../themes/twentytwentyfour/styles/ember.json | 0 .../twentytwentyfour/styles/fossil.json | 0 .../themes/twentytwentyfour/styles/ice.json | 0 .../twentytwentyfour/styles/maelstrom.json | 0 .../themes/twentytwentyfour/styles/mint.json | 0 .../themes/twentytwentyfour/styles/onyx.json | 0 .../themes/twentytwentyfour/styles/rust.json | 0 .../twentytwentyfour/templates/404.html | 0 .../twentytwentyfour/templates/archive.html | 0 .../twentytwentyfour/templates/home.html | 0 .../twentytwentyfour/templates/index.html | 0 .../templates/page-no-title.html | 0 .../twentytwentyfour/templates/page-wide.html | 0 .../templates/page-with-sidebar.html | 0 .../twentytwentyfour/templates/page.html | 0 .../twentytwentyfour/templates/search.html | 0 .../templates/single-with-sidebar.html | 0 .../twentytwentyfour/templates/single.html | 0 .../themes/twentytwentyfour/theme.json | 0 .../fonts/dm-sans/DMSans-Bold-Italic.woff2 | Bin .../assets/fonts/dm-sans/DMSans-Bold.woff2 | Bin .../fonts/dm-sans/DMSans-Regular-Italic.woff2 | Bin .../assets/fonts/dm-sans/DMSans-Regular.woff2 | Bin .../assets/fonts/dm-sans/LICENSE.txt | 0 .../ibm-plex-mono/IBMPlexMono-Bold.woff2 | Bin .../ibm-plex-mono/IBMPlexMono-Italic.woff2 | Bin .../ibm-plex-mono/IBMPlexMono-Light.woff2 | Bin .../ibm-plex-mono/IBMPlexMono-Regular.woff2 | Bin .../assets/fonts/ibm-plex-mono/OFL.txt | 0 .../inter/Inter-VariableFont_slnt,wght.ttf | Bin .../assets/fonts/inter/LICENSE.txt | 0 .../assets/fonts/source-serif-pro/LICENSE.md | 0 .../SourceSerif4Variable-Italic.otf.woff2 | Bin .../SourceSerif4Variable-Italic.ttf.woff2 | Bin .../SourceSerif4Variable-Roman.otf.woff2 | Bin .../SourceSerif4Variable-Roman.ttf.woff2 | Bin .../twentytwentythree/parts/comments.html | 0 .../twentytwentythree/parts/footer.html | 0 .../twentytwentythree/parts/header.html | 0 .../twentytwentythree/parts/post-meta.html | 0 .../patterns/call-to-action.php | 0 .../patterns/footer-default.php | 0 .../twentytwentythree/patterns/hidden-404.php | 0 .../patterns/hidden-comments.php | 0 .../patterns/hidden-heading.php | 0 .../patterns/hidden-no-results.php | 0 .../twentytwentythree/patterns/post-meta.php | 0 .../themes/twentytwentythree/readme.txt | 0 .../themes/twentytwentythree/screenshot.png | Bin .../themes/twentytwentythree/style.css | 0 .../twentytwentythree/styles/aubergine.json | 0 .../twentytwentythree/styles/block-out.json | 0 .../twentytwentythree/styles/canary.json | 0 .../twentytwentythree/styles/electric.json | 0 .../twentytwentythree/styles/grapes.json | 0 .../twentytwentythree/styles/marigold.json | 0 .../twentytwentythree/styles/pilgrimage.json | 0 .../twentytwentythree/styles/pitch.json | 0 .../twentytwentythree/styles/sherbet.json | 0 .../twentytwentythree/styles/whisper.json | 0 .../twentytwentythree/templates/404.html | 0 .../twentytwentythree/templates/archive.html | 0 .../twentytwentythree/templates/blank.html | 0 .../templates/blog-alternative.html | 0 .../twentytwentythree/templates/home.html | 0 .../twentytwentythree/templates/index.html | 0 .../twentytwentythree/templates/page.html | 0 .../twentytwentythree/templates/search.html | 0 .../twentytwentythree/templates/single.html | 0 .../themes/twentytwentythree/theme.json | 0 ...88-PHOTO-2023-07-01-02-16-22-1-135x300.jpg | Bin 0 -> 8632 bytes ...88-PHOTO-2023-07-01-02-16-22-1-150x150.jpg | Bin 0 -> 4862 bytes ...8-PHOTO-2023-07-01-02-16-22-1-461x1024.jpg | Bin 0 -> 48920 bytes .../00002688-PHOTO-2023-07-01-02-16-22-1.jpg | Bin 0 -> 51524 bytes ...2688-PHOTO-2023-07-01-02-16-22-135x300.jpg | Bin 0 -> 8632 bytes ...2688-PHOTO-2023-07-01-02-16-22-150x150.jpg | Bin 0 -> 4862 bytes ...688-PHOTO-2023-07-01-02-16-22-461x1024.jpg | Bin 0 -> 48920 bytes .../01/00002688-PHOTO-2023-07-01-02-16-22.jpg | Bin 0 -> 51524 bytes ...2696-PHOTO-2023-07-02-16-42-20-150x150.jpg | Bin 0 -> 6546 bytes ...2696-PHOTO-2023-07-02-16-42-20-225x300.jpg | Bin 0 -> 15735 bytes ...696-PHOTO-2023-07-02-16-42-20-768x1024.jpg | Bin 0 -> 121568 bytes .../01/00002696-PHOTO-2023-07-02-16-42-20.jpg | Bin 0 -> 152920 bytes ...MPLETO.md => CUSTOMIZER_PREMIUM_MODELO.md} | 0 874 files changed, 137670 insertions(+), 137443 deletions(-) create mode 100644 .agent/workflows/base-plan.md create mode 100644 .agent/workflows/premium-plan.md create mode 100644 .agent/workflows/pro-plan.md rename demo/templates/{customizer-wordpress-COMPLETO.html => customizer-premium-MODELO.html} (100%) create mode 100644 deploy_modular.sh rename {wp-content => gk-assets}/fonts/2657d2fb3920c72459daac517e2e3e6f.css (100%) rename {wp-content => gk-assets}/fonts/f5da17b6cabb5ca89136fd0e8e9f1bde.css (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7jsDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7ksDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDI.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7osDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7psDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7qsDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7rsDJT9g.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lqDY.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdg18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdh18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdi18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdj18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdo18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18Q.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdv18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdg18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdh18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdi18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdj18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdo18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18Q.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdv18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidg18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidh18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidi18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidj18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkido18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18Q.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidv18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdg18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdh18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdi18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdj18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdo18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18Q.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdv18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydg18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydh18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydi18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydj18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydo18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18Q.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklydv18Smxg.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wkxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdu.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmRduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmhduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwkxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwlxdu.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmBduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmRduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmhduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/source-sans-pro/6xKydSBYKcSV-LCoeQqfX1RYOo3iu4nwmxduz8A.woff2 (100%) rename {wp-content => gk-assets}/fonts/space-grotesk/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2 (100%) rename {wp-content => gk-assets}/fonts/space-grotesk/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2 (100%) rename {wp-content => gk-assets}/fonts/space-grotesk/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2 (100%) rename {wp-content => gk-assets}/index.php (100%) rename {wp-content => gk-assets}/languages/admin-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/admin-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/admin-es_ES.po (100%) rename {wp-content => gk-assets}/languages/admin-network-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/admin-network-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/admin-network-es_ES.po (100%) rename {wp-content => gk-assets}/languages/continents-cities-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/continents-cities-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/continents-cities-es_ES.po (100%) rename {wp-content => gk-assets}/languages/es_ES-0cc31205f20441b3df1d1b46100f6b8d.json (100%) rename {wp-content => gk-assets}/languages/es_ES-0ce75ad2f775d1cac9696967d484808c.json (100%) rename {wp-content => gk-assets}/languages/es_ES-0eebe503220d4a00341eb011b92769b4.json (100%) rename {wp-content => gk-assets}/languages/es_ES-17179a5f2930647c89151e365f843b6e.json (100%) rename {wp-content => gk-assets}/languages/es_ES-1780a2033cf98d69ce13c2e5c8510004.json (100%) rename {wp-content => gk-assets}/languages/es_ES-1a0cd6a7128913b15c1a10dd68951869.json (100%) rename {wp-content => gk-assets}/languages/es_ES-1bba9045bb07c89671c88a3f328548e8.json (100%) rename {wp-content => gk-assets}/languages/es_ES-1c4303f02ff93b290e9faad991eeb06f.json (100%) rename {wp-content => gk-assets}/languages/es_ES-1d17475f620f63a92e2c5d2681c51ee8.json (100%) rename {wp-content => gk-assets}/languages/es_ES-2617ce121227a46077ede6c69aa9fcb5.json (100%) rename {wp-content => gk-assets}/languages/es_ES-270d72d1cff17227d37f3244759cbecb.json (100%) rename {wp-content => gk-assets}/languages/es_ES-28b3c3d595952907e08d98287077426c.json (100%) rename {wp-content => gk-assets}/languages/es_ES-2b390f85a3048c5b4255fb45960b6514.json (100%) rename {wp-content => gk-assets}/languages/es_ES-2c5d274ea625dd91556554ad82901529.json (100%) rename {wp-content => gk-assets}/languages/es_ES-320f4ad9792aaa6dedb1e71cbdf85d57.json (100%) rename {wp-content => gk-assets}/languages/es_ES-440127dd25bde48a531ded36f33e927b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-49c6d4acf36cf3aca9f0b2a77617304f.json (100%) rename {wp-content => gk-assets}/languages/es_ES-4a38fe1c0c45989e44682ba6109d9f46.json (100%) rename {wp-content => gk-assets}/languages/es_ES-4bfa11da57ff2600004bb500368247f4.json (100%) rename {wp-content => gk-assets}/languages/es_ES-50278328b502f4eb3f2b8b7ab49324a1.json (100%) rename {wp-content => gk-assets}/languages/es_ES-5251f7623766a714c8207c7edb938628.json (100%) rename {wp-content => gk-assets}/languages/es_ES-529362903a5a05b34b06b5e793fb4cf8.json (100%) rename {wp-content => gk-assets}/languages/es_ES-569e85ef168299eb8c8f24d8ef8c8a78.json (100%) rename {wp-content => gk-assets}/languages/es_ES-6025add6bde16aaeb12787d250f9b414.json (100%) rename {wp-content => gk-assets}/languages/es_ES-60d06fac6f98e8e8f0ec5a945738b660.json (100%) rename {wp-content => gk-assets}/languages/es_ES-68f2cec7514bf8563c723a4d675fcfe6.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7233008897033de5ee0d14f86a42a65a.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7289286ed59e90a8f36ae797df62220b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7436b7ee9e4f11ac0d618d8cc886eb66.json (100%) rename {wp-content => gk-assets}/languages/es_ES-77fdfadaf2e1ca3a027d1956b910bc50.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7b74c8457eaa7fcc50db41b431f8a003.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7c90cd4398ee2d9d3628c387a87a70e5.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7d5ca435e60d92f024d46c9257aaa0f7.json (100%) rename {wp-content => gk-assets}/languages/es_ES-7f13c36c641b114bf18cd0bcc9ecc7e0.json (100%) rename {wp-content => gk-assets}/languages/es_ES-803bf1ce2131e13efc590c1bc47851fc.json (100%) rename {wp-content => gk-assets}/languages/es_ES-81c889563f09dd13de1701135dc62941.json (100%) rename {wp-content => gk-assets}/languages/es_ES-81d6f084cb273e02e15b01bd9ece87f7.json (100%) rename {wp-content => gk-assets}/languages/es_ES-8240df461220d1d3a028a9a4c5652a5b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-8860e58c20c6a2ab5876a0f07be43bd9.json (100%) rename {wp-content => gk-assets}/languages/es_ES-93882e8f9976382d7f724ac595ed7151.json (100%) rename {wp-content => gk-assets}/languages/es_ES-947c76bb5095da30e16668eec15406b2.json (100%) rename {wp-content => gk-assets}/languages/es_ES-9b256ea9cd54df92095e04c76758ceb0.json (100%) rename {wp-content => gk-assets}/languages/es_ES-9c3519f4870fac83dc0dbf18cb6bd4c4.json (100%) rename {wp-content => gk-assets}/languages/es_ES-9d47a87c240c1d10701cd6a02b28aa1b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-a25d1cc7bf7ca0b4e114f6bea64943f4.json (100%) rename {wp-content => gk-assets}/languages/es_ES-a2796e57f680e25d84c4b352ee6d7280.json (100%) rename {wp-content => gk-assets}/languages/es_ES-a9dc201dcd011fe71849743133052619.json (100%) rename {wp-content => gk-assets}/languages/es_ES-aabfce98c410957228848dc581e3c420.json (100%) rename {wp-content => gk-assets}/languages/es_ES-ac23eee47530ac63a1178c827db28087.json (100%) rename {wp-content => gk-assets}/languages/es_ES-bf0f094965d3d4a95b47babcb35fc136.json (100%) rename {wp-content => gk-assets}/languages/es_ES-bf23b24175490c2e46aaf92ff6a0c70f.json (100%) rename {wp-content => gk-assets}/languages/es_ES-c31d5f185753910c14afebc6deb2ce24.json (100%) rename {wp-content => gk-assets}/languages/es_ES-ca28138671823450e87dfd354f7afc6b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-daeb084aab42199d26393a56c3465bc0.json (100%) rename {wp-content => gk-assets}/languages/es_ES-e2791ba830489d23043be8650a22a22b.json (100%) rename {wp-content => gk-assets}/languages/es_ES-e2e4c4b80f3adf2c70b431bfdb1b4872.json (100%) rename {wp-content => gk-assets}/languages/es_ES-e53526243551a102928735ec9eed4edf.json (100%) rename {wp-content => gk-assets}/languages/es_ES-f575f481034e90e21d832e415fd95fcf.json (100%) rename {wp-content => gk-assets}/languages/es_ES-f70806bf0c7d62f2908bd5a1c3fe4efc.json (100%) rename {wp-content => gk-assets}/languages/es_ES-f8f49d9fc4a9cf7d78ec99285417bd9c.json (100%) rename {wp-content => gk-assets}/languages/es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/es_ES.mo (100%) rename {wp-content => gk-assets}/languages/es_ES.po (100%) rename {wp-content => gk-assets}/languages/plugins/akismet-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/plugins/akismet-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/plugins/akismet-es_ES.po (100%) rename {wp-content => gk-assets}/languages/plugins/hello-dolly-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/plugins/hello-dolly-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/abiz-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/abiz-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/abiz-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/arvina-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/arvina-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/arvina-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/chromax-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/chromax-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/chromax-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfive-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfive-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfive-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfour-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfour-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentyfour-es_ES.po (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentythree-es_ES.l10n.php (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentythree-es_ES.mo (100%) rename {wp-content => gk-assets}/languages/themes/twentytwentythree-es_ES.po (100%) rename {wp-content => gk-assets}/plugins/akismet/.htaccess (100%) rename {wp-content => gk-assets}/plugins/akismet/LICENSE.txt (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/akismet-admin.css (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/akismet-admin.js (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/akismet-frontend.js (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/akismet.css (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/akismet.js (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/fonts/inter.css (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/img/akismet-activation-banner-elements.png (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/img/akismet-refresh-logo.svg (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/img/akismet-refresh-logo@2x.png (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/img/arrow-left.svg (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/img/logo-a-2x.png (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/rtl/akismet-admin-rtl.css (100%) rename {wp-content => gk-assets}/plugins/akismet/_inc/rtl/akismet-rtl.css (100%) rename {wp-content => gk-assets}/plugins/akismet/akismet.php (100%) rename {wp-content => gk-assets}/plugins/akismet/changelog.txt (100%) rename {wp-content => gk-assets}/plugins/akismet/class-akismet-compatible-plugins.php (100%) rename {wp-content => gk-assets}/plugins/akismet/class.akismet-admin.php (100%) rename {wp-content => gk-assets}/plugins/akismet/class.akismet-cli.php (100%) rename {wp-content => gk-assets}/plugins/akismet/class.akismet-rest-api.php (100%) rename {wp-content => gk-assets}/plugins/akismet/class.akismet-widget.php (100%) rename {wp-content => gk-assets}/plugins/akismet/class.akismet.php (100%) rename {wp-content => gk-assets}/plugins/akismet/index.php (100%) rename {wp-content => gk-assets}/plugins/akismet/readme.txt (100%) rename {wp-content => gk-assets}/plugins/akismet/views/activate.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/compatible-plugins.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/config.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/connect-jp.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/enter.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/get.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/logo.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/notice.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/predefined.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/setup-jetpack.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/setup.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/start.php (100%) rename {wp-content => gk-assets}/plugins/akismet/views/stats.php (100%) rename {wp-content => gk-assets}/plugins/akismet/wrapper.php (100%) rename {wp-content => gk-assets}/plugins/hello.php (100%) rename {wp-content => gk-assets}/plugins/index.php (100%) rename {wp-content => gk-assets}/themes/abiz/404.php (98%) rename {wp-content => gk-assets}/themes/abiz/archive.php (96%) rename {wp-content => gk-assets}/themes/abiz/assets/css/all.css (94%) rename {wp-content => gk-assets}/themes/abiz/assets/css/all.min.css (100%) rename {wp-content => gk-assets}/themes/abiz/assets/css/animate.css (96%) rename {wp-content => gk-assets}/themes/abiz/assets/css/animate.min.css (99%) rename {wp-content => gk-assets}/themes/abiz/assets/css/bootstrap.css (95%) rename {wp-content => gk-assets}/themes/abiz/assets/css/bootstrap.min.css (100%) rename {wp-content => gk-assets}/themes/abiz/assets/css/main.css (95%) rename {wp-content => gk-assets}/themes/abiz/assets/css/owl.carousel.css (94%) rename {wp-content => gk-assets}/themes/abiz/assets/css/owl.carousel.min.css (100%) rename {wp-content => gk-assets}/themes/abiz/assets/css/responsive.css (95%) rename {wp-content => gk-assets}/themes/abiz/assets/images/bg/breadcrumbg.jpg (100%) rename {wp-content => gk-assets}/themes/abiz/assets/images/btn-arrow-icon.svg (99%) rename {wp-content => gk-assets}/themes/abiz/assets/images/btn-circle.svg (99%) rename {wp-content => gk-assets}/themes/abiz/assets/images/pattern1.png (100%) rename {wp-content => gk-assets}/themes/abiz/assets/js/bootstrap.js (98%) rename {wp-content => gk-assets}/themes/abiz/assets/js/bootstrap.min.js (100%) rename {wp-content => gk-assets}/themes/abiz/assets/js/custom.js (97%) rename {wp-content => gk-assets}/themes/abiz/assets/js/jquery.marquee.js (97%) rename {wp-content => gk-assets}/themes/abiz/assets/js/owl.carousel.js (98%) rename {wp-content => gk-assets}/themes/abiz/assets/js/owl.carousel.min.js (100%) rename {wp-content => gk-assets}/themes/abiz/assets/js/wow.js (97%) rename {wp-content => gk-assets}/themes/abiz/assets/js/wow.min.js (99%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-brands-400.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-brands-400.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-duotone-900.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-duotone-900.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-light-300.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-light-300.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-regular-400.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-regular-400.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-solid-900.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-solid-900.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-thin-100.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-thin-100.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-v4compatibility.ttf (100%) rename {wp-content => gk-assets}/themes/abiz/assets/webfonts/fa-v4compatibility.woff2 (100%) rename {wp-content => gk-assets}/themes/abiz/comments.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/core.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/custom-header.php (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/abiz-customize-sanitization.php (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/abiz-default-options.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/abiz-general.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/abiz-panels-and-sections.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/css/admin.css (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/css/controls.css (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/js/admin-script.js (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/js/controls.js (95%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/js/customizer-section.js (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/assets/js/customizer.js (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/custom-controls/customize-base-control.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/custom-controls/customize-category-control.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/custom-controls/customize-control-sortable.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/custom-controls/customize-toggle-control.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/custom-controls/customize-upgrade-control.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css (95%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/css/admin-style.css (95%) rename {wp-content/themes/chromax/inc/customizer/controls/code => gk-assets/themes/abiz/core/customizer}/customizer-repeater/css/fontawesome-iconpicker.css (94%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php (96%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/inc/icons.php (98%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js (97%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.min.js (100%) rename {wp-content => gk-assets}/themes/abiz/core/customizer/customizer.php (97%) rename {wp-content => gk-assets}/themes/abiz/core/theme-menu/class-bootstrap-navwalker.php (100%) rename {wp-content => gk-assets}/themes/abiz/core/wptt-webfont-loader.php (100%) rename {wp-content => gk-assets}/themes/abiz/footer.php (98%) rename {wp-content => gk-assets}/themes/abiz/frontpage.php (92%) rename {wp-content => gk-assets}/themes/abiz/fullwidth-page.php (95%) rename {wp-content => gk-assets}/themes/abiz/functions.php (96%) rename {wp-content => gk-assets}/themes/abiz/header.php (96%) rename {wp-content => gk-assets}/themes/abiz/index.php (96%) rename {wp-content/themes/chromax => gk-assets/themes/abiz}/licence.txt (98%) rename {wp-content => gk-assets}/themes/abiz/page.php (96%) rename {wp-content => gk-assets}/themes/abiz/pagebuilder.php (100%) rename {wp-content => gk-assets}/themes/abiz/readme.txt (97%) rename {wp-content => gk-assets}/themes/abiz/screenshot.png (100%) rename {wp-content => gk-assets}/themes/abiz/search.php (96%) rename {wp-content => gk-assets}/themes/abiz/searchform.php (100%) rename {wp-content => gk-assets}/themes/abiz/sidebar-woocommerce.php (96%) rename {wp-content => gk-assets}/themes/abiz/sidebar.php (95%) rename {wp-content => gk-assets}/themes/abiz/single.php (97%) rename {wp-content => gk-assets}/themes/abiz/style.css (98%) rename {wp-content => gk-assets}/themes/abiz/template-parts/author-details.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/content-none.php (96%) rename {wp-content => gk-assets}/themes/abiz/template-parts/content-page.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/content.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/footer-copyright.php (96%) rename {wp-content => gk-assets}/themes/abiz/template-parts/footer-top.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/footer-widget.php (96%) rename {wp-content => gk-assets}/themes/abiz/template-parts/header-account.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/header-button.php (98%) rename {wp-content => gk-assets}/themes/abiz/template-parts/header-cart.php (96%) rename {wp-content => gk-assets}/themes/abiz/template-parts/header-search.php (98%) rename {wp-content => gk-assets}/themes/abiz/template-parts/site-branding.php (95%) rename {wp-content => gk-assets}/themes/abiz/template-parts/site-breadcrumb.php (96%) rename {wp-content => gk-assets}/themes/abiz/template-parts/site-info.php (97%) rename {wp-content => gk-assets}/themes/abiz/template-parts/site-main-nav.php (96%) rename {wp-content => gk-assets}/themes/abiz/theme-header.php (97%) rename {wp-content => gk-assets}/themes/abiz/woocommerce.php (96%) rename {wp-content => gk-assets}/themes/abiz/woocommerce/cart/mini-cart.php (100%) rename {wp-content => gk-assets}/themes/abiz/woocommerce/content-product.php (100%) rename {wp-content => gk-assets}/themes/arvina/core/core.php (96%) rename {wp-content => gk-assets}/themes/arvina/core/customizer/custom-controls/customize-upgrade-control.php (100%) rename {wp-content => gk-assets}/themes/arvina/functions.php (93%) rename {wp-content => gk-assets}/themes/arvina/header.php (96%) rename {wp-content => gk-assets}/themes/arvina/readme.txt (97%) rename {wp-content => gk-assets}/themes/arvina/screenshot.png (100%) rename {wp-content => gk-assets}/themes/arvina/style.css (96%) rename {wp-content => gk-assets}/themes/arvina/theme-header.php (97%) rename {wp-content => gk-assets}/themes/chromax/404.php (96%) rename {wp-content => gk-assets}/themes/chromax/archive.php (96%) rename {wp-content => gk-assets}/themes/chromax/assets/css/core.css (94%) rename {wp-content => gk-assets}/themes/chromax/assets/css/themes.css (95%) rename {wp-content => gk-assets}/themes/chromax/assets/css/woo-styles.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/bg_one.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/bg_two.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/blog_arrows.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/error_bg.jpg (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/pagetitle.jpg (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/pattern-1.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/pattern-9.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/shape-1.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/images/shape-2.png (100%) rename {wp-content => gk-assets}/themes/chromax/assets/js/custom.js (97%) rename {wp-content => gk-assets}/themes/chromax/assets/js/theme.js (98%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/all.css (94%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/all.min.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/animate.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/aos.css (96%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/aos.min.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/jquery.fancybox.css (95%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/jquery.fancybox.min.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/owl.carousel.css (94%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/css/owl.carousel.min.css (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/jquery.appear.js (96%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/jquery.fancybox.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/lenis.js (97%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/lenis.min.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/owl.carousel.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/particles.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/scrolltrigger.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/splittext.js (100%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/wow.js (97%) rename {wp-content => gk-assets}/themes/chromax/assets/vendors/js/wow.min.js (100%) rename {wp-content => gk-assets}/themes/chromax/comments.php (97%) rename {wp-content => gk-assets}/themes/chromax/footer.php (94%) rename {wp-content => gk-assets}/themes/chromax/functions.php (97%) rename {wp-content => gk-assets}/themes/chromax/header.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/admin/assets/css/admin.css (100%) rename {wp-content => gk-assets}/themes/chromax/inc/admin/assets/js/chromax-admin-script.js (100%) rename {wp-content => gk-assets}/themes/chromax/inc/admin/getting-started.php (100%) rename {wp-content => gk-assets}/themes/chromax/inc/class-wp-bootstrap-navwalker.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/custom-header.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/assets/js/customizer-preview.js (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/assets/js/customizer-section.js (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/chromax-customizer.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/chromax-selective-partial.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/chromax-selective-refresh.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/chromax-category-dropdown-control.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/chromax-icon-picker-control.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/chromax-slider-control.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/control-function/style-functions.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/class/customizer-repeater-control.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/css/admin-style.css (95%) rename {wp-content/themes/abiz/core/customizer => gk-assets/themes/chromax/inc/customizer/controls/code}/customizer-repeater/css/fontawesome-iconpicker.css (94%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/css/fontawesome-iconpicker.min.css (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/inc/customizer.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/inc/icons.php (98%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/js/customizer_repeater.js (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/js/fontawesome-iconpicker.js (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/customizer-repeater/js/fontawesome-iconpicker.min.js (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/editor/class/class-chromax-page-editor.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/editor/css/chromax-page-editor.css (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/editor/customizer-page-editor.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/editor/js/chromax-text-editor.js (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/editor/js/chromax-update-controls.js (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/upgrade/class-customize.php (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/code/upgrade/section-pro.php (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/css/controls.css (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/controls.js (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/iconpicker.eot (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/iconpicker.svg (99%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/iconpicker.ttf (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/iconpicker.woff (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/jquery.fonticonpicker.css (95%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/controls/js/fonticonpicker/jquery.fonticonpicker.js (98%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-plugin-notice/chromax-customizer-notify-section.php (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-plugin-notice/chromax-customizer-notify.php (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-plugin-notice/chromax-notify-plugin.php (98%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-plugin-notice/css/chromax-customizer-notify.css (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-plugin-notice/js/chromax-customizer-notify.js (100%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-settings/chromax-footer-customize-setting.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-settings/chromax-header-customize-setting.php (95%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-settings/chromax-theme-customize-setting.php (96%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/customizer-settings/chromax-typography-customize-setting.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/customizer/sanitization.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/template-tags.php (97%) rename {wp-content => gk-assets}/themes/chromax/inc/wptt-webfont-loader.php (96%) rename {wp-content => gk-assets}/themes/chromax/index.php (97%) rename {wp-content/themes/abiz => gk-assets/themes/chromax}/licence.txt (98%) rename {wp-content => gk-assets}/themes/chromax/page-templates/frontpage.php (93%) rename {wp-content => gk-assets}/themes/chromax/page-templates/page-full-width.php (94%) rename {wp-content => gk-assets}/themes/chromax/page-templates/pagebuilder.php (94%) rename {wp-content => gk-assets}/themes/chromax/page.php (96%) rename {wp-content => gk-assets}/themes/chromax/readme.txt (96%) rename {wp-content => gk-assets}/themes/chromax/screenshot.png (100%) rename {wp-content => gk-assets}/themes/chromax/search.php (96%) rename {wp-content => gk-assets}/themes/chromax/sidebar-woocommerce.php (96%) rename {wp-content => gk-assets}/themes/chromax/sidebar.php (96%) rename {wp-content => gk-assets}/themes/chromax/single.php (97%) rename {wp-content => gk-assets}/themes/chromax/style.css (96%) rename {wp-content => gk-assets}/themes/chromax/template-parts/content-none.php (96%) rename {wp-content => gk-assets}/themes/chromax/template-parts/content-page.php (96%) rename {wp-content => gk-assets}/themes/chromax/template-parts/content.php (96%) rename {wp-content => gk-assets}/themes/chromax/template-parts/site-breadcrumb.php (98%) rename {wp-content => gk-assets}/themes/chromax/template-parts/site-header.php (97%) rename {wp-content => gk-assets}/themes/chromax/woocommerce.php (96%) rename {wp-content => gk-assets}/themes/chromax/woocommerce/cart/mini-cart.php (98%) rename {wp-content => gk-assets}/themes/chromax/woocommerce/content-product.php (97%) rename {wp-content => gk-assets}/themes/index.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/css/editor-style.css (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/beiruti/Beiruti-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Black.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BlackItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Bold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraLight.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraLightItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Italic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Light.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-LightItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Medium.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-MediumItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Regular.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Thin.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ThinItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Black.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BlackItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Bold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraBold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraBoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraLight.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraLightItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Light.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-LightItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Medium.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-MediumItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Regular.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-RegularItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-SemiBold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-SemiBoldItalic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Italic-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/platypi/Platypi-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Italic-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Italic-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/404-image.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/agenda-img-4.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/akaka-falls-state-park-flora.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/book-image-landing.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/book-image.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/botany-flowers-closeup.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/botany-flowers.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/campanula-alliariifolia-flower.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/category-anthuriums.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/category-cactus.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/category-sunflowers.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/coming-soon-bg-image.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/coral-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/dallas-creek-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/delphinium-flowers.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/flower-meadow-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/grid-flower-1.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/grid-flower-2.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/hero-podcast.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/link-in-bio-background.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/link-in-bio-image.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/location.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/malibu-plantlife.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/man-in-hat.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/marshland-birds-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/northern-buttercups-flowers.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/nurse.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/parthenon-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/poster-image-background.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/red-hibiscus-closeup.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/ruins-image.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/services-subscriber-photo.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/star-thristle-flower.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/typewriter.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/vash-gon-square.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/assets/images/woman-splashing-water.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/contributing.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/functions.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/package-lock.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/package.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/footer-columns.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/footer-newsletter.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/footer.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/header-large-title.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/header.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/sidebar.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/parts/vertical-header.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-about-book.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-cover-big-heading.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-intro-image.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-intro.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-poster.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/banner-with-description-and-images-grid.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/binding-format.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/comments.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/contact-centered-social-link.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/contact-info-locations.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/contact-location-and-link.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-book-links.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-book-locations.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-centered-heading.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-events-list.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-grid-products-link.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-heading-search.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/cta-newsletter.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/event-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/event-rsvp.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/event-schedule.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/footer-centered.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/footer-columns.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/footer-newsletter.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/footer-social.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/footer.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/format-audio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/format-link.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/grid-videos.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/grid-with-categories.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/header-centered.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/header-columns.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/header-large-title.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/header.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/heading-and-paragraph-with-image.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hero-book.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hero-full-width-image.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hero-overlapped-book-cover-with-links.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hero-podcast.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hidden-404.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hidden-blog-heading.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hidden-search.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hidden-sidebar.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/hidden-written-by.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/logos.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/media-instagram-grid.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/more-posts.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/overlapped-images.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-business-home.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-coming-soon.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-cv-bio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-landing-book.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-landing-event.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-landing-podcast.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-link-in-bio-heading-paragraph-links-image.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-link-in-bio-wide-margins.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-link-in-bio-with-tight-margins.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-portfolio-home.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/page-shop-home.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/post-navigation.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/pricing-2-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/pricing-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/services-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/services-subscriber-only-section.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/services-team-photos.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-404-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-archive-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-archive-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-archive-text-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-archive-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-text-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-page-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-page-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-query-loop-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-query-loop-text-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-query-loop-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-query-loop.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-search-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-search-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-search-text-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-search-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-left-aligned-content.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-news-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-offset.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-photo-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-text-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/template-single-vertical-header-blog.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/testimonials-2-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/testimonials-6-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/testimonials-large.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/text-faqs.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/patterns/vertical-header.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/readme.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/screenshot.png (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/style.css (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/style.min.css (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/01-evening.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/02-noon.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/03-dusk.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/04-afternoon.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/05-twilight.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/06-morning.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/07-sunrise.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/08-midnight.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/blocks/01-display.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/blocks/02-subtitle.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/blocks/03-annotation.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/blocks/post-terms-1.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/01-evening.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/02-noon.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/03-dusk.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/04-afternoon.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/05-twilight.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/06-morning.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/07-sunrise.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/colors/08-midnight.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/sections/section-1.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/sections/section-2.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/sections/section-3.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/sections/section-4.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/sections/section-5.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-1.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-2.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-3.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-4.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-5.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-6.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/styles/typography/typography-preset-7.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/404.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/archive.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/home.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/index.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/page-no-title.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/page.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/search.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/templates/single.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfive/theme.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/css/button-outline.css (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/cardo/LICENSE.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/cardo/cardo_italic_400.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/cardo/cardo_normal_400.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/cardo/cardo_normal_700.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/instrument-sans/InstrumentSans-Italic-VariableFont_wdth,wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/instrument-sans/InstrumentSans-VariableFont_wdth,wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/instrument-sans/OFL.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/inter/Inter-VariableFont_slnt,wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/inter/LICENSE.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/jost/Jost-Italic-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/jost/Jost-VariableFont_wght.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/fonts/jost/OFL.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/abstract-geometric-art.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/angular-roof.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/art-gallery.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/building-exterior.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/green-staircase.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/hotel-facade.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/icon-message.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/museum.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/tourist-and-building.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/assets/images/windows.webp (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/functions.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/parts/footer.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/parts/header.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/parts/post-meta.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/parts/sidebar.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/banner-hero.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/banner-project-description.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/cta-content-image-on-right.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/cta-pricing.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/cta-rsvp.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/cta-services-image-left.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/cta-subscribe-centered.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/footer-centered-logo-nav.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/footer-colophon-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/footer.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/gallery-full-screen-image.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/gallery-offset-images-grid-2-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/gallery-offset-images-grid-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/gallery-offset-images-grid-4-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/gallery-project-layout.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-404.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-comments.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-no-results.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-post-meta.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-post-navigation.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-posts-heading.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-search.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/hidden-sidebar.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-about-business.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-home-blogging.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-home-business.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-home-portfolio-gallery.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-home-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-newsletter-landing.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-portfolio-overview.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/page-rsvp-landing.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-1-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-grid-2-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-images-only-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-images-only-offset-4-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/posts-list.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/team-4-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-archive-blogging.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-archive-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-home-blogging.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-home-business.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-home-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-index-blogging.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-index-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-search-blogging.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-search-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/template-single-portfolio.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/testimonial-centered.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-alternating-images.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-centered-statement-small.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-centered-statement.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-faq.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-feature-grid-3-col.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-project-details.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/patterns/text-title-left-image-right.php (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/readme.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/screenshot.png (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/style.css (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/ember.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/fossil.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/ice.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/maelstrom.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/mint.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/onyx.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/styles/rust.json (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/404.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/archive.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/home.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/index.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/page-no-title.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/page-wide.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/page-with-sidebar.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/page.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/search.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/single-with-sidebar.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/templates/single.html (100%) rename {wp-content => gk-assets}/themes/twentytwentyfour/theme.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/dm-sans/DMSans-Bold-Italic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/dm-sans/DMSans-Bold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/dm-sans/DMSans-Regular-Italic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/dm-sans/DMSans-Regular.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/dm-sans/LICENSE.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/ibm-plex-mono/OFL.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/inter/LICENSE.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/source-serif-pro/LICENSE.md (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.otf.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.otf.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2 (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/parts/comments.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/parts/footer.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/parts/header.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/parts/post-meta.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/call-to-action.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/footer-default.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/hidden-404.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/hidden-comments.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/hidden-heading.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/hidden-no-results.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/patterns/post-meta.php (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/readme.txt (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/screenshot.png (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/style.css (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/aubergine.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/block-out.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/canary.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/electric.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/grapes.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/marigold.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/pilgrimage.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/pitch.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/sherbet.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/styles/whisper.json (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/404.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/archive.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/blank.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/blog-alternative.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/home.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/index.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/page.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/search.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/templates/single.html (100%) rename {wp-content => gk-assets}/themes/twentytwentythree/theme.json (100%) create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-1-135x300.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-1-150x150.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-1-461x1024.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-1.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-135x300.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-150x150.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22-461x1024.jpg create mode 100644 gk-assets/uploads/2026/01/00002688-PHOTO-2023-07-01-02-16-22.jpg create mode 100644 gk-assets/uploads/2026/01/00002696-PHOTO-2023-07-02-16-42-20-150x150.jpg create mode 100644 gk-assets/uploads/2026/01/00002696-PHOTO-2023-07-02-16-42-20-225x300.jpg create mode 100644 gk-assets/uploads/2026/01/00002696-PHOTO-2023-07-02-16-42-20-768x1024.jpg create mode 100644 gk-assets/uploads/2026/01/00002696-PHOTO-2023-07-02-16-42-20.jpg rename memoria/{CUSTOMIZER_WORDPRESS_COMPLETO.md => CUSTOMIZER_PREMIUM_MODELO.md} (100%) diff --git a/.agent/workflows/base-plan.md b/.agent/workflows/base-plan.md new file mode 100644 index 0000000..b2ada3d --- /dev/null +++ b/.agent/workflows/base-plan.md @@ -0,0 +1,7 @@ +--- +description: Gestión de funcionalidades del Plan Base +--- + +1. Los temas permitidos son únicamente los marcados como `plan: base` en `config.json`. +2. El Customizer permite cambios básicos de colores y texto. +3. El rubro por defecto es `restaurante`. diff --git a/.agent/workflows/premium-plan.md b/.agent/workflows/premium-plan.md new file mode 100644 index 0000000..1e192dc --- /dev/null +++ b/.agent/workflows/premium-plan.md @@ -0,0 +1,7 @@ +--- +description: Gestión de funcionalidades del Plan Premium +--- + +1. Acceso total a todas las plantillas (`base`, `pro`, `premium`). +2. Funcionalidades exclusivas como Custom Domains y soporte prioritario. +3. Capacidad de usar el Customizer Premium completo sin restricciones. diff --git a/.agent/workflows/pro-plan.md b/.agent/workflows/pro-plan.md new file mode 100644 index 0000000..7c7dd2f --- /dev/null +++ b/.agent/workflows/pro-plan.md @@ -0,0 +1,7 @@ +--- +description: Gestión de funcionalidades del Plan Pro +--- + +1. Incluye acceso a plantillas marcadas como `plan: pro` y `plan: base`. +2. Habilita bloques avanzados de video e imágenes. +3. El soporte para personalización de tipografía está activado. diff --git a/demo/database.py b/demo/database.py index 6347f90..757aee1 100644 --- a/demo/database.py +++ b/demo/database.py @@ -20,7 +20,7 @@ def init_db(): password TEXT NOT NULL, role TEXT DEFAULT 'subscriber', plan TEXT DEFAULT 'base', - rubro TEXT DEFAULT 'gimnasio', + rubro TEXT DEFAULT 'restaurante', status TEXT DEFAULT 'active', created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP )''') diff --git a/demo/routes/customizer.py b/demo/routes/customizer.py index 80416ea..fcc0319 100644 --- a/demo/routes/customizer.py +++ b/demo/routes/customizer.py @@ -11,10 +11,21 @@ customizer_bp = Blueprint('customizer', __name__) @customizer_bp.route('/api/themes') def list_themes(): - """Listar todos los templates disponibles""" + """Listar todos los templates disponibles filtrados por plan""" from utils.theme_engine import get_themes_by_rubro rubro = request.args.get('rubro', None) - themes = get_themes_by_rubro(rubro) if rubro else scan_available_themes() + user_id = session.get('user_id') + + user_plan = 'base' + if user_id: + conn = sqlite3.connect(MAIN_DB) + c = conn.cursor() + c.execute('SELECT plan FROM users WHERE id = ?', (user_id,)) + res = c.fetchone() + conn.close() + if res: user_plan = res[0] + + themes = get_themes_by_rubro(rubro, user_plan) if rubro else scan_available_themes() return jsonify({'success': True, 'themes': themes, 'total': len(themes)}) @customizer_bp.route('/customizer/') @@ -42,7 +53,16 @@ def customizer_view(site_id): theme_template = f.read() theme_config = get_theme_config(theme) - available_themes = scan_available_themes() + + # Obtener plan del usuario para filtrar templates + c = conn.cursor() + c.execute('SELECT plan, rubro FROM users WHERE id = ?', (site[0],)) + user_data = c.fetchone() + user_plan = user_data[0] if user_data else 'base' + user_rubro = user_data[1] if user_data else 'restaurante' + + from utils.theme_engine import get_themes_by_rubro + available_themes = get_themes_by_rubro(user_rubro, user_plan) return render_template('customizer.html', site_id=site_id, @@ -51,7 +71,8 @@ def customizer_view(site_id): content=content, theme_template=theme_template, theme_config=theme_config, - available_themes=available_themes) + available_themes=available_themes, + user_plan=user_plan) @customizer_bp.route('/api/customizer/save', methods=['POST']) def save_customizer(): diff --git a/demo/routes/public.py b/demo/routes/public.py index c97040e..de731bf 100644 --- a/demo/routes/public.py +++ b/demo/routes/public.py @@ -1,4 +1,5 @@ -from flask import Blueprint, render_template, send_from_directory, sqlite3 +from flask import Blueprint, render_template, send_from_directory +import sqlite3 import json import os from config import MAIN_DB, UPLOADS_DIR @@ -14,7 +15,6 @@ def landing(): @public_bp.route('/site/') def public_site(slug): """Sitio público del cliente""" - import sqlite3 conn = sqlite3.connect(MAIN_DB) c = conn.cursor() c.execute('SELECT id, theme, content_json, status, user_id FROM sites WHERE slug = ?', (slug,)) diff --git a/demo/templates/client_admin.html b/demo/templates/client_admin.html index 10dd24d..4529613 100644 --- a/demo/templates/client_admin.html +++ b/demo/templates/client_admin.html @@ -1,20 +1,24 @@ + Dashboard - Administración del Sitio + - -
+ +

Escritorio

¡Te damos la bienvenida a tu panel!

-

Aquí puedes gestionar todos tus sitios y contenidos de forma profesional.

+

Aquí puedes gestionar todos tus sitios y contenidos de forma profesional. +

- +

Tus Sitios Web

{% if not sites %} -

No tienes sitios creados. ¡Empieza ahora!

+

No tienes sitios creados. ¡Empieza ahora!

{% else %} - - - - - - - - - - - {% for site in sites %} - - - - - - - {% endfor %} - -
Nombre (Slug)TemaEstadoAcciones
{{ site.slug }}{{ site.theme }}{{ site.status|upper }} - Personalizar -
+ + + + + + + + + + + {% for site in sites %} + + + + + + + {% endfor %} + +
Nombre (Slug)TemaEstadoAcciones
{{ site.slug }}{{ site.theme }}{{ site.status|upper }} + Personalizar +
{% endif %}
@@ -216,4 +271,5 @@
- + + \ No newline at end of file diff --git a/demo/templates/customizer-wordpress-COMPLETO.html b/demo/templates/customizer-premium-MODELO.html similarity index 100% rename from demo/templates/customizer-wordpress-COMPLETO.html rename to demo/templates/customizer-premium-MODELO.html diff --git a/demo/templates/customizer.html b/demo/templates/customizer.html index f9da865..5a5a7da 100644 --- a/demo/templates/customizer.html +++ b/demo/templates/customizer.html @@ -8,26 +8,25 @@ '); - } - - // Animation iteration event - _prefixedEvent($marqueeWrapper[0], "AnimationIteration", function() { - $this.trigger('finished'); - }); - // Animation stopped - _prefixedEvent($marqueeWrapper[0], "AnimationEnd", function() { - animate(); - $this.trigger('finished'); - }); - - } else { - // Start animating - $marqueeWrapper.animate(animationCss, o.duration, o.easing, function() { - // fire event - $this.trigger('finished'); - // animate again - if (o.pauseOnCycle) { - _startAnimationWithDelay(); - } else { - animate(); - } - }); - } - // save the status - $this.data('runningStatus', 'resumed'); - }; - - // bind pause and resume events - $this.on('pause', methods.pause); - $this.on('resume', methods.resume); - - if (o.pauseOnHover) { - $this.on('mouseenter', methods.pause); - $this.on('mouseleave', methods.resume); - } - - // If css3 animation is supported than call animate method at once - if (css3AnimationIsSupported && o.allowCss3Support) { - animate(); - } else { - // Starts the recursive method - _startAnimationWithDelay(); - } - - }); - }; // End of Plugin - // Public: plugin defaults options - $.fn.marquee.defaults = { - // If you wish to always animate using jQuery - allowCss3Support: true, - // works when allowCss3Support is set to true - for full list see http://www.w3.org/TR/2013/WD-css3-transitions-20131119/#transition-timing-function - css3easing: 'linear', - // requires jQuery easing plugin. Default is 'linear' - easing: 'linear', - // pause time before the next animation turn in milliseconds - delayBeforeStart: 1000, - // 'left', 'right', 'up' or 'down' - direction: 'left', - // true or false - should the marquee be duplicated to show an effect of continues flow - duplicated: false, - // duration in milliseconds of the marquee in milliseconds - duration: 5000, - // Speed allows you to set a relatively constant marquee speed regardless of the width of the containing element. Speed is measured in pixels per second. - speed: 0, - // gap in pixels between the tickers - gap: 20, - // on cycle pause the marquee - pauseOnCycle: false, - // on hover pause the marquee - using jQuery plugin https://github.com/tobia/Pause - pauseOnHover: false, - // the marquee is visible initially positioned next to the border towards it will be moving - startVisible: false - }; +/** + * jQuery.marquee - scrolling text like old marquee element + * @author Aamir Afridi - aamirafridi(at)gmail(dot)com / http://aamirafridi.com/jquery/jquery-marquee-plugin + */ +; +(function($) { + $.fn.marquee = function(options) { + return this.each(function() { + // Extend the options if any provided + var o = $.extend({}, $.fn.marquee.defaults, options), + $this = $(this), + $marqueeWrapper, containerWidth, animationCss, verticalDir, elWidth, + loopCount = 3, + playState = 'animation-play-state', + css3AnimationIsSupported = false, + + // Private methods + _prefixedEvent = function(element, type, callback) { + var pfx = ["webkit", "moz", "MS", "o", ""]; + for (var p = 0; p < pfx.length; p++) { + if (!pfx[p]) type = type.toLowerCase(); + element.addEventListener(pfx[p] + type, callback, false); + } + }, + + _objToString = function(obj) { + var tabjson = []; + for (var p in obj) { + if (obj.hasOwnProperty(p)) { + tabjson.push(p + ':' + obj[p]); + } + } + tabjson.push(); + return '{' + tabjson.join(',') + '}'; + }, + + _startAnimationWithDelay = function() { + $this.timer = setTimeout(animate, o.delayBeforeStart); + }, + + // Public methods + methods = { + pause: function() { + if (css3AnimationIsSupported && o.allowCss3Support) { + $marqueeWrapper.css(playState, 'paused'); + } else { + // pause using pause plugin + if ($.fn.pause) { + $marqueeWrapper.pause(); + } + } + // save the status + $this.data('runningStatus', 'paused'); + // fire event + $this.trigger('paused'); + }, + + resume: function() { + // resume using css3 + if (css3AnimationIsSupported && o.allowCss3Support) { + $marqueeWrapper.css(playState, 'running'); + } else { + // resume using pause plugin + if ($.fn.resume) { + $marqueeWrapper.resume(); + } + } + // save the status + $this.data('runningStatus', 'resumed'); + // fire event + $this.trigger('resumed'); + }, + + toggle: function() { + methods[$this.data('runningStatus') === 'resumed' ? 'pause' : 'resume'](); + }, + + destroy: function() { + // Clear timer + clearTimeout($this.timer); + // Unbind all events + $this.find("*").addBack().off(); + // Just unwrap the elements that has been added using this plugin + $this.html($this.find('.js-marquee:first').html()); + } + }; + + // Check for methods + if (typeof options === 'string') { + if ($.isFunction(methods[options])) { + // Following two IF statements to support public methods + if (!$marqueeWrapper) { + $marqueeWrapper = $this.find('.js-marquee-wrapper'); + } + if ($this.data('css3AnimationIsSupported') === true) { + css3AnimationIsSupported = true; + } + methods[options](); + } + return; + } + + /* Check if element has data attributes. They have top priority + For details https://twitter.com/aamirafridi/status/403848044069679104 - Can't find a better solution :/ + jQuery 1.3.2 doesn't support $.data().KEY hence writting the following */ + var dataAttributes = {}, + attr; + $.each(o, function(key) { + // Check if element has this data attribute + attr = $this.attr('data-' + key); + if (typeof attr !== 'undefined') { + // Now check if value is boolean or not + switch (attr) { + case 'true': + attr = true; + break; + case 'false': + attr = false; + break; + } + o[key] = attr; + } + }); + + // Reintroduce speed as an option. It calculates duration as a factor of the container width + // measured in pixels per second. + if (o.speed) { + o.duration = parseInt($this.width(), 10) / o.speed * 1000; + } + + // Shortcut to see if direction is upward or downward + verticalDir = o.direction === 'up' || o.direction === 'down'; + + // no gap if not duplicated + o.gap = o.duplicated ? parseInt(o.gap) : 0; + + // wrap inner content into a div + $this.wrapInner('
'); + + // Make copy of the element + var $el = $this.find('.js-marquee').css({ + 'margin-right': o.gap, + 'float': 'left' + }); + + if (o.duplicated) { + $el.clone(true).appendTo($this); + } + + // wrap both inner elements into one div + $this.wrapInner('
'); + + // Save the reference of the wrapper + $marqueeWrapper = $this.find('.js-marquee-wrapper'); + + // If direction is up or down, get the height of main element + if (verticalDir) { + var containerHeight = $this.height(); + $marqueeWrapper.removeAttr('style'); + $this.height(containerHeight); + + // Change the CSS for js-marquee element + $this.find('.js-marquee').css({ + 'float': 'none', + 'margin-bottom': o.gap, + 'margin-right': 0 + }); + + // Remove bottom margin from 2nd element if duplicated + if (o.duplicated) { + $this.find('.js-marquee:last').css({ + 'margin-bottom': 0 + }); + } + + var elHeight = $this.find('.js-marquee:first').height() + o.gap; + + // adjust the animation duration according to the text length + if (o.startVisible && !o.duplicated) { + // Compute the complete animation duration and save it for later reference + // formula is to: (Height of the text node + height of the main container / Height of the main container) * duration; + o._completeDuration = ((parseInt(elHeight, 10) + parseInt(containerHeight, 10)) / parseInt(containerHeight, 10)) * o.duration; + + // formula is to: (Height of the text node / height of the main container) * duration + o.duration = (parseInt(elHeight, 10) / parseInt(containerHeight, 10)) * o.duration; + } else { + // formula is to: (Height of the text node + height of the main container / Height of the main container) * duration; + o.duration = ((parseInt(elHeight, 10) + parseInt(containerHeight, 10)) / parseInt(containerHeight, 10)) * o.duration; + } + + } else { + // Save the width of the each element so we can use it in animation + elWidth = $this.find('.js-marquee:first').width() + o.gap; + + // container width + containerWidth = $this.width(); + + // adjust the animation duration according to the text length + if (o.startVisible && !o.duplicated) { + // Compute the complete animation duration and save it for later reference + // formula is to: (Width of the text node + width of the main container / Width of the main container) * duration; + o._completeDuration = ((parseInt(elWidth, 10) + parseInt(containerWidth, 10)) / parseInt(containerWidth, 10)) * o.duration; + + // (Width of the text node / width of the main container) * duration + o.duration = (parseInt(elWidth, 10) / parseInt(containerWidth, 10)) * o.duration; + } else { + // formula is to: (Width of the text node + width of the main container / Width of the main container) * duration; + o.duration = ((parseInt(elWidth, 10) + parseInt(containerWidth, 10)) / parseInt(containerWidth, 10)) * o.duration; + } + } + + // if duplicated then reduce the duration + if (o.duplicated) { + o.duration = o.duration / 2; + } + + if (o.allowCss3Support) { + var elm = document.body || document.createElement('div'), + animationName = 'marqueeAnimation-' + Math.floor(Math.random() * 10000000), + domPrefixes = 'Webkit Moz O ms Khtml'.split(' '), + animationString = 'animation', + animationCss3Str = '', + keyframeString = ''; + + // Check css3 support + if (elm.style.animation !== undefined) { + keyframeString = '@keyframes ' + animationName + ' '; + css3AnimationIsSupported = true; + } + + if (css3AnimationIsSupported === false) { + for (var i = 0; i < domPrefixes.length; i++) { + if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) { + var prefix = '-' + domPrefixes[i].toLowerCase() + '-'; + animationString = prefix + animationString; + playState = prefix + playState; + keyframeString = '@' + prefix + 'keyframes ' + animationName + ' '; + css3AnimationIsSupported = true; + break; + } + } + } + + if (css3AnimationIsSupported) { + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's ' + o.delayBeforeStart / 1000 + 's infinite ' + o.css3easing; + $this.data('css3AnimationIsSupported', true); + } + } + + var _rePositionVertically = function() { + $marqueeWrapper.css('transform', 'translateY(' + (o.direction === 'up' ? containerHeight + 'px' : '-' + elHeight + 'px') + ')'); + }, + _rePositionHorizontally = function() { + $marqueeWrapper.css('transform', 'translateX(' + (o.direction === 'left' ? containerWidth + 'px' : '-' + elWidth + 'px') + ')'); + }; + + // if duplicated option is set to true than position the wrapper + if (o.duplicated) { + if (verticalDir) { + if (o.startVisible) { + $marqueeWrapper.css('transform', 'translateY(0)'); + } else { + $marqueeWrapper.css('transform', 'translateY(' + (o.direction === 'up' ? containerHeight + 'px' : '-' + ((elHeight * 2) - o.gap) + 'px') + ')'); + } + } else { + if (o.startVisible) { + $marqueeWrapper.css('transform', 'translateX(0)'); + } else { + $marqueeWrapper.css('transform', 'translateX(' + (o.direction === 'left' ? containerWidth + 'px' : '-' + ((elWidth * 2) - o.gap) + 'px') + ')'); + } + } + + // If the text starts out visible we can skip the two initial loops + if (!o.startVisible) { + loopCount = 1; + } + } else if (o.startVisible) { + // We only have two different loops if marquee is duplicated and starts visible + loopCount = 2; + } else { + if (verticalDir) { + _rePositionVertically(); + } else { + _rePositionHorizontally(); + } + } + + // Animate recursive method + var animate = function() { + if (o.duplicated) { + // When duplicated, the first loop will be scroll longer so double the duration + if (loopCount === 1) { + o._originalDuration = o.duration; + if (verticalDir) { + o.duration = o.direction === 'up' ? o.duration + (containerHeight / ((elHeight) / o.duration)) : o.duration * 2; + } else { + o.duration = o.direction === 'left' ? o.duration + (containerWidth / ((elWidth) / o.duration)) : o.duration * 2; + } + // Adjust the css3 animation as well + if (animationCss3Str) { + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's ' + o.delayBeforeStart / 1000 + 's ' + o.css3easing; + } + loopCount++; + } + // On 2nd loop things back to normal, normal duration for the rest of animations + else if (loopCount === 2) { + o.duration = o._originalDuration; + // Adjust the css3 animation as well + if (animationCss3Str) { + animationName = animationName + '0'; + keyframeString = $.trim(keyframeString) + '0 '; + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's 0s infinite ' + o.css3easing; + } + loopCount++; + } + } + + if (verticalDir) { + if (o.duplicated) { + + // Adjust the starting point of animation only when first loops finishes + if (loopCount > 2) { + $marqueeWrapper.css('transform', 'translateY(' + (o.direction === 'up' ? 0 : '-' + elHeight + 'px') + ')'); + } + + animationCss = { + 'transform': 'translateY(' + (o.direction === 'up' ? '-' + elHeight + 'px' : 0) + ')' + }; + } else if (o.startVisible) { + // This loop moves the marquee out of the container + if (loopCount === 2) { + // Adjust the css3 animation as well + if (animationCss3Str) { + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's ' + o.delayBeforeStart / 1000 + 's ' + o.css3easing; + } + animationCss = { + 'transform': 'translateY(' + (o.direction === 'up' ? '-' + elHeight + 'px' : containerHeight + 'px') + ')' + }; + loopCount++; + } else if (loopCount === 3) { + // Set the duration for the animation that will run forever + o.duration = o._completeDuration; + // Adjust the css3 animation as well + if (animationCss3Str) { + animationName = animationName + '0'; + keyframeString = $.trim(keyframeString) + '0 '; + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's 0s infinite ' + o.css3easing; + } + _rePositionVertically(); + } + } else { + _rePositionVertically(); + animationCss = { + 'transform': 'translateY(' + (o.direction === 'up' ? '-' + ($marqueeWrapper.height()) + 'px' : containerHeight + 'px') + ')' + }; + } + } else { + if (o.duplicated) { + + // Adjust the starting point of animation only when first loops finishes + if (loopCount > 2) { + $marqueeWrapper.css('transform', 'translateX(' + (o.direction === 'left' ? 0 : '-' + elWidth + 'px') + ')'); + } + + animationCss = { + 'transform': 'translateX(' + (o.direction === 'left' ? '-' + elWidth + 'px' : 0) + ')' + }; + + } else if (o.startVisible) { + // This loop moves the marquee out of the container + if (loopCount === 2) { + // Adjust the css3 animation as well + if (animationCss3Str) { + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's ' + o.delayBeforeStart / 1000 + 's ' + o.css3easing; + } + animationCss = { + 'transform': 'translateX(' + (o.direction === 'left' ? '-' + elWidth + 'px' : containerWidth + 'px') + ')' + }; + loopCount++; + } else if (loopCount === 3) { + // Set the duration for the animation that will run forever + o.duration = o._completeDuration; + // Adjust the css3 animation as well + if (animationCss3Str) { + animationName = animationName + '0'; + keyframeString = $.trim(keyframeString) + '0 '; + animationCss3Str = animationName + ' ' + o.duration / 1000 + 's 0s infinite ' + o.css3easing; + } + _rePositionHorizontally(); + } + } else { + _rePositionHorizontally(); + animationCss = { + 'transform': 'translateX(' + (o.direction === 'left' ? '-' + elWidth + 'px' : containerWidth + 'px') + ')' + }; + } + } + + // fire event + $this.trigger('beforeStarting'); + + // If css3 support is available than do it with css3, otherwise use jQuery as fallback + if (css3AnimationIsSupported) { + // Add css3 animation to the element + $marqueeWrapper.css(animationString, animationCss3Str); + var keyframeCss = keyframeString + ' { 100% ' + _objToString(animationCss) + '}', + $styles = $marqueeWrapper.find('style'); + + // Now add the keyframe animation to the marquee element + if ($styles.length !== 0) { + // Bug fixed for jQuery 1.3.x - Instead of using .last(), use following + $styles.filter(":last").html(keyframeCss); + } else { + $('head').append(''); + } + + // Animation iteration event + _prefixedEvent($marqueeWrapper[0], "AnimationIteration", function() { + $this.trigger('finished'); + }); + // Animation stopped + _prefixedEvent($marqueeWrapper[0], "AnimationEnd", function() { + animate(); + $this.trigger('finished'); + }); + + } else { + // Start animating + $marqueeWrapper.animate(animationCss, o.duration, o.easing, function() { + // fire event + $this.trigger('finished'); + // animate again + if (o.pauseOnCycle) { + _startAnimationWithDelay(); + } else { + animate(); + } + }); + } + // save the status + $this.data('runningStatus', 'resumed'); + }; + + // bind pause and resume events + $this.on('pause', methods.pause); + $this.on('resume', methods.resume); + + if (o.pauseOnHover) { + $this.on('mouseenter', methods.pause); + $this.on('mouseleave', methods.resume); + } + + // If css3 animation is supported than call animate method at once + if (css3AnimationIsSupported && o.allowCss3Support) { + animate(); + } else { + // Starts the recursive method + _startAnimationWithDelay(); + } + + }); + }; // End of Plugin + // Public: plugin defaults options + $.fn.marquee.defaults = { + // If you wish to always animate using jQuery + allowCss3Support: true, + // works when allowCss3Support is set to true - for full list see http://www.w3.org/TR/2013/WD-css3-transitions-20131119/#transition-timing-function + css3easing: 'linear', + // requires jQuery easing plugin. Default is 'linear' + easing: 'linear', + // pause time before the next animation turn in milliseconds + delayBeforeStart: 1000, + // 'left', 'right', 'up' or 'down' + direction: 'left', + // true or false - should the marquee be duplicated to show an effect of continues flow + duplicated: false, + // duration in milliseconds of the marquee in milliseconds + duration: 5000, + // Speed allows you to set a relatively constant marquee speed regardless of the width of the containing element. Speed is measured in pixels per second. + speed: 0, + // gap in pixels between the tickers + gap: 20, + // on cycle pause the marquee + pauseOnCycle: false, + // on hover pause the marquee - using jQuery plugin https://github.com/tobia/Pause + pauseOnHover: false, + // the marquee is visible initially positioned next to the border towards it will be moving + startVisible: false + }; })(jQuery); \ No newline at end of file diff --git a/wp-content/themes/abiz/assets/js/owl.carousel.js b/gk-assets/themes/abiz/assets/js/owl.carousel.js similarity index 98% rename from wp-content/themes/abiz/assets/js/owl.carousel.js rename to gk-assets/themes/abiz/assets/js/owl.carousel.js index 5be403f..b72b876 100644 --- a/wp-content/themes/abiz/assets/js/owl.carousel.js +++ b/gk-assets/themes/abiz/assets/js/owl.carousel.js @@ -1,1034 +1,1034 @@ -/** - * Owl Carousel v2.3.4 - * Copyright 2013-2018 David Deutsch - * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE - */ -! function(a, b, c, d) { - function e(b, c) { - this.settings = null, this.options = a.extend({}, e.Defaults, c), this.$element = a(b), this._handlers = {}, this._plugins = {}, this._supress = {}, this._current = null, this._speed = null, this._coordinates = [], this._breakpoint = null, this._width = null, this._items = [], this._clones = [], this._mergers = [], this._widths = [], this._invalidated = {}, this._pipe = [], this._drag = { - time: null, - target: null, - pointer: null, - stage: { - start: null, - current: null - }, - direction: null - }, this._states = { - current: {}, - tags: { - initializing: ["busy"], - animating: ["busy"], - dragging: ["interacting"] - } - }, a.each(["onResize", "onThrottledResize"], a.proxy(function(b, c) { - this._handlers[c] = a.proxy(this[c], this) - }, this)), a.each(e.Plugins, a.proxy(function(a, b) { - this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this) - }, this)), a.each(e.Workers, a.proxy(function(b, c) { - this._pipe.push({ - filter: c.filter, - run: a.proxy(c.run, this) - }) - }, this)), this.setup(), this.initialize() - } - e.Defaults = { - items: 3, - loop: !1, - center: !1, - rewind: !1, - checkVisibility: !0, - mouseDrag: !0, - touchDrag: !0, - pullDrag: !0, - freeDrag: !1, - margin: 0, - stagePadding: 0, - merge: !1, - mergeFit: !0, - autoWidth: !1, - startPosition: 0, - rtl: !1, - smartSpeed: 250, - fluidSpeed: !1, - dragEndSpeed: !1, - responsive: {}, - responsiveRefreshRate: 200, - responsiveBaseElement: b, - fallbackEasing: "swing", - slideTransition: "", - info: !1, - nestedItemSelector: !1, - itemElement: "div", - stageElement: "div", - refreshClass: "owl-refresh", - loadedClass: "owl-loaded", - loadingClass: "owl-loading", - rtlClass: "owl-rtl", - responsiveClass: "owl-responsive", - dragClass: "owl-drag", - itemClass: "owl-item", - stageClass: "owl-stage", - stageOuterClass: "owl-stage-outer", - grabClass: "owl-grab" - }, e.Width = { - Default: "default", - Inner: "inner", - Outer: "outer" - }, e.Type = { - Event: "event", - State: "state" - }, e.Plugins = {}, e.Workers = [{ - filter: ["width", "settings"], - run: function() { - this._width = this.$element.width() - } - }, { - filter: ["width", "items", "settings"], - run: function(a) { - a.current = this._items && this._items[this.relative(this._current)] - } - }, { - filter: ["items", "settings"], - run: function() { - this.$stage.children(".cloned").remove() - } - }, { - filter: ["width", "items", "settings"], - run: function(a) { - var b = this.settings.margin || "", - c = !this.settings.autoWidth, - d = this.settings.rtl, - e = { - width: "auto", - "margin-left": d ? b : "", - "margin-right": d ? "" : b - }; - !c && this.$stage.children().css(e), a.css = e - } - }, { - filter: ["width", "items", "settings"], - run: function(a) { - var b = (this.width() / this.settings.items).toFixed(3) - this.settings.margin, - c = null, - d = this._items.length, - e = !this.settings.autoWidth, - f = []; - for (a.items = { - merge: !1, - width: b - }; d--;) c = this._mergers[d], c = this.settings.mergeFit && Math.min(c, this.settings.items) || c, a.items.merge = c > 1 || a.items.merge, f[d] = e ? b * c : this._items[d].width(); - this._widths = f - } - }, { - filter: ["items", "settings"], - run: function() { - var b = [], - c = this._items, - d = this.settings, - e = Math.max(2 * d.items, 4), - f = 2 * Math.ceil(c.length / 2), - g = d.loop && c.length ? d.rewind ? e : Math.max(e, f) : 0, - h = "", - i = ""; - for (g /= 2; g > 0;) b.push(this.normalize(b.length / 2, !0)), h += c[b[b.length - 1]][0].outerHTML, b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), i = c[b[b.length - 1]][0].outerHTML + i, g -= 1; - this._clones = b, a(h).addClass("cloned").appendTo(this.$stage), a(i).addClass("cloned").prependTo(this.$stage) - } - }, { - filter: ["width", "items", "settings"], - run: function() { - for (var a = this.settings.rtl ? 1 : -1, b = this._clones.length + this._items.length, c = -1, d = 0, e = 0, f = []; ++c < b;) d = f[c - 1] || 0, e = this._widths[this.relative(c)] + this.settings.margin, f.push(d + e * a); - this._coordinates = f - } - }, { - filter: ["width", "items", "settings"], - run: function() { - var a = this.settings.stagePadding, - b = this._coordinates, - c = { - width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a, - "padding-left": a || "", - "padding-right": a || "" - }; - this.$stage.css(c) - } - }, { - filter: ["width", "items", "settings"], - run: function(a) { - var b = this._coordinates.length, - c = !this.settings.autoWidth, - d = this.$stage.children(); - if (c && a.items.merge) - for (; b--;) a.css.width = this._widths[this.relative(b)], d.eq(b).css(a.css); - else c && (a.css.width = a.items.width, d.css(a.css)) - } - }, { - filter: ["items"], - run: function() { - this._coordinates.length < 1 && this.$stage.removeAttr("style") - } - }, { - filter: ["width", "items", "settings"], - run: function(a) { - a.current = a.current ? this.$stage.children().index(a.current) : 0, a.current = Math.max(this.minimum(), Math.min(this.maximum(), a.current)), this.reset(a.current) - } - }, { - filter: ["position"], - run: function() { - this.animate(this.coordinates(this._current)) - } - }, { - filter: ["width", "position", "items", "settings"], - run: function() { - var a, b, c, d, e = this.settings.rtl ? 1 : -1, - f = 2 * this.settings.stagePadding, - g = this.coordinates(this.current()) + f, - h = g + this.width() * e, - i = []; - for (c = 0, d = this._coordinates.length; c < d; c++) a = this._coordinates[c - 1] || 0, b = Math.abs(this._coordinates[c]) + f * e, (this.op(a, "<=", g) && this.op(a, ">", h) || this.op(b, "<", g) && this.op(b, ">", h)) && i.push(c); - this.$stage.children(".active").removeClass("active"), this.$stage.children(":eq(" + i.join("), :eq(") + ")").addClass("active"), this.$stage.children(".center").removeClass("center"), this.settings.center && this.$stage.children().eq(this.current()).addClass("center") - } - }], e.prototype.initializeStage = function() { - this.$stage = this.$element.find("." + this.settings.stageClass), this.$stage.length || (this.$element.addClass(this.options.loadingClass), this.$stage = a("<" + this.settings.stageElement + ">", { - class: this.settings.stageClass - }).wrap(a("
", { - class: this.settings.stageOuterClass - })), this.$element.append(this.$stage.parent())) - }, e.prototype.initializeItems = function() { - var b = this.$element.find(".owl-item"); - if (b.length) return this._items = b.get().map(function(b) { - return a(b) - }), this._mergers = this._items.map(function() { - return 1 - }), void this.refresh(); - this.replace(this.$element.children().not(this.$stage.parent())), this.isVisible() ? this.refresh() : this.invalidate("width"), this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass) - }, e.prototype.initialize = function() { - if (this.enter("initializing"), this.trigger("initialize"), this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), this.settings.autoWidth && !this.is("pre-loading")) { - var a, b, c; - a = this.$element.find("img"), b = this.settings.nestedItemSelector ? "." + this.settings.nestedItemSelector : d, c = this.$element.children(b).width(), a.length && c <= 0 && this.preloadAutoWidthImages(a) - } - this.initializeStage(), this.initializeItems(), this.registerEventHandlers(), this.leave("initializing"), this.trigger("initialized") - }, e.prototype.isVisible = function() { - return !this.settings.checkVisibility || this.$element.is(":visible") - }, e.prototype.setup = function() { - var b = this.viewport(), - c = this.options.responsive, - d = -1, - e = null; - c ? (a.each(c, function(a) { - a <= b && a > d && (d = Number(a)) - }), e = a.extend({}, this.options, c[d]), "function" == typeof e.stagePadding && (e.stagePadding = e.stagePadding()), delete e.responsive, e.responsiveClass && this.$element.attr("class", this.$element.attr("class").replace(new RegExp("(" + this.options.responsiveClass + "-)\\S+\\s", "g"), "$1" + d))) : e = a.extend({}, this.options), this.trigger("change", { - property: { - name: "settings", - value: e - } - }), this._breakpoint = d, this.settings = e, this.invalidate("settings"), this.trigger("changed", { - property: { - name: "settings", - value: this.settings - } - }) - }, e.prototype.optionsLogic = function() { - this.settings.autoWidth && (this.settings.stagePadding = !1, this.settings.merge = !1) - }, e.prototype.prepare = function(b) { - var c = this.trigger("prepare", { - content: b - }); - return c.data || (c.data = a("<" + this.settings.itemElement + "/>").addClass(this.options.itemClass).append(b)), this.trigger("prepared", { - content: c.data - }), c.data - }, e.prototype.update = function() { - for (var b = 0, c = this._pipe.length, d = a.proxy(function(a) { - return this[a] - }, this._invalidated), e = {}; b < c;)(this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && this._pipe[b].run(e), b++; - this._invalidated = {}, !this.is("valid") && this.enter("valid") - }, e.prototype.width = function(a) { - switch (a = a || e.Width.Default) { - case e.Width.Inner: - case e.Width.Outer: - return this._width; - default: - return this._width - 2 * this.settings.stagePadding + this.settings.margin - } - }, e.prototype.refresh = function() { - this.enter("refreshing"), this.trigger("refresh"), this.setup(), this.optionsLogic(), this.$element.addClass(this.options.refreshClass), this.update(), this.$element.removeClass(this.options.refreshClass), this.leave("refreshing"), this.trigger("refreshed") - }, e.prototype.onThrottledResize = function() { - b.clearTimeout(this.resizeTimer), this.resizeTimer = b.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate) - }, e.prototype.onResize = function() { - return !!this._items.length && (this._width !== this.$element.width() && (!!this.isVisible() && (this.enter("resizing"), this.trigger("resize").isDefaultPrevented() ? (this.leave("resizing"), !1) : (this.invalidate("width"), this.refresh(), this.leave("resizing"), void this.trigger("resized"))))) - }, e.prototype.registerEventHandlers = function() { - a.support.transition && this.$stage.on(a.support.transition.end + ".owl.core", a.proxy(this.onTransitionEnd, this)), !1 !== this.settings.responsive && this.on(b, "resize", this._handlers.onThrottledResize), this.settings.mouseDrag && (this.$element.addClass(this.options.dragClass), this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("dragstart.owl.core selectstart.owl.core", function() { - return !1 - })), this.settings.touchDrag && (this.$stage.on("touchstart.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("touchcancel.owl.core", a.proxy(this.onDragEnd, this))) - }, e.prototype.onDragStart = function(b) { - var d = null; - 3 !== b.which && (a.support.transform ? (d = this.$stage.css("transform").replace(/.*\(|\)| /g, "").split(","), d = { - x: d[16 === d.length ? 12 : 4], - y: d[16 === d.length ? 13 : 5] - }) : (d = this.$stage.position(), d = { - x: this.settings.rtl ? d.left + this.$stage.width() - this.width() + this.settings.margin : d.left, - y: d.top - }), this.is("animating") && (a.support.transform ? this.animate(d.x) : this.$stage.stop(), this.invalidate("position")), this.$element.toggleClass(this.options.grabClass, "mousedown" === b.type), this.speed(0), this._drag.time = (new Date).getTime(), this._drag.target = a(b.target), this._drag.stage.start = d, this._drag.stage.current = d, this._drag.pointer = this.pointer(b), a(c).on("mouseup.owl.core touchend.owl.core", a.proxy(this.onDragEnd, this)), a(c).one("mousemove.owl.core touchmove.owl.core", a.proxy(function(b) { - var d = this.difference(this._drag.pointer, this.pointer(b)); - a(c).on("mousemove.owl.core touchmove.owl.core", a.proxy(this.onDragMove, this)), Math.abs(d.x) < Math.abs(d.y) && this.is("valid") || (b.preventDefault(), this.enter("dragging"), this.trigger("drag")) - }, this))) - }, e.prototype.onDragMove = function(a) { - var b = null, - c = null, - d = null, - e = this.difference(this._drag.pointer, this.pointer(a)), - f = this.difference(this._drag.stage.start, e); - this.is("dragging") && (a.preventDefault(), this.settings.loop ? (b = this.coordinates(this.minimum()), c = this.coordinates(this.maximum() + 1) - b, f.x = ((f.x - b) % c + c) % c + b) : (b = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()), c = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()), d = this.settings.pullDrag ? -1 * e.x / 5 : 0, f.x = Math.max(Math.min(f.x, b + d), c + d)), this._drag.stage.current = f, this.animate(f.x)) - }, e.prototype.onDragEnd = function(b) { - var d = this.difference(this._drag.pointer, this.pointer(b)), - e = this._drag.stage.current, - f = d.x > 0 ^ this.settings.rtl ? "left" : "right"; - a(c).off(".owl.core"), this.$element.removeClass(this.options.grabClass), (0 !== d.x && this.is("dragging") || !this.is("valid")) && (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), this.invalidate("position"), this.update(), this._drag.direction = f, (Math.abs(d.x) > 3 || (new Date).getTime() - this._drag.time > 300) && this._drag.target.one("click.owl.core", function() { - return !1 - })), this.is("dragging") && (this.leave("dragging"), this.trigger("dragged")) - }, e.prototype.closest = function(b, c) { - var e = -1, - f = 30, - g = this.width(), - h = this.coordinates(); - return this.settings.freeDrag || a.each(h, a.proxy(function(a, i) { - return "left" === c && b > i - f && b < i + f ? e = a : "right" === c && b > i - g - f && b < i - g + f ? e = a + 1 : this.op(b, "<", i) && this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && (e = "left" === c ? a + 1 : a), -1 === e - }, this)), this.settings.loop || (this.op(b, ">", h[this.minimum()]) ? e = b = this.minimum() : this.op(b, "<", h[this.maximum()]) && (e = b = this.maximum())), e - }, e.prototype.animate = function(b) { - var c = this.speed() > 0; - this.is("animating") && this.onTransitionEnd(), c && (this.enter("animating"), this.trigger("translate")), a.support.transform3d && a.support.transition ? this.$stage.css({ - transform: "translate3d(" + b + "px,0px,0px)", - transition: this.speed() / 1e3 + "s" + (this.settings.slideTransition ? " " + this.settings.slideTransition : "") - }) : c ? this.$stage.animate({ - left: b + "px" - }, this.speed(), this.settings.fallbackEasing, a.proxy(this.onTransitionEnd, this)) : this.$stage.css({ - left: b + "px" - }) - }, e.prototype.is = function(a) { - return this._states.current[a] && this._states.current[a] > 0 - }, e.prototype.current = function(a) { - if (a === d) return this._current; - if (0 === this._items.length) return d; - if (a = this.normalize(a), this._current !== a) { - var b = this.trigger("change", { - property: { - name: "position", - value: a - } - }); - b.data !== d && (a = this.normalize(b.data)), this._current = a, this.invalidate("position"), this.trigger("changed", { - property: { - name: "position", - value: this._current - } - }) - } - return this._current - }, e.prototype.invalidate = function(b) { - return "string" === a.type(b) && (this._invalidated[b] = !0, this.is("valid") && this.leave("valid")), a.map(this._invalidated, function(a, b) { - return b - }) - }, e.prototype.reset = function(a) { - (a = this.normalize(a)) !== d && (this._speed = 0, this._current = a, this.suppress(["translate", "translated"]), this.animate(this.coordinates(a)), this.release(["translate", "translated"])) - }, e.prototype.normalize = function(a, b) { - var c = this._items.length, - e = b ? 0 : this._clones.length; - return !this.isNumeric(a) || c < 1 ? a = d : (a < 0 || a >= c + e) && (a = ((a - e / 2) % c + c) % c + e / 2), a - }, e.prototype.relative = function(a) { - return a -= this._clones.length / 2, this.normalize(a, !0) - }, e.prototype.maximum = function(a) { - var b, c, d, e = this.settings, - f = this._coordinates.length; - if (e.loop) f = this._clones.length / 2 + this._items.length - 1; - else if (e.autoWidth || e.merge) { - if (b = this._items.length) - for (c = this._items[--b].width(), d = this.$element.width(); b-- && !((c += this._items[b].width() + this.settings.margin) > d);); - f = b + 1 - } else f = e.center ? this._items.length - 1 : this._items.length - e.items; - return a && (f -= this._clones.length / 2), Math.max(f, 0) - }, e.prototype.minimum = function(a) { - return a ? 0 : this._clones.length / 2 - }, e.prototype.items = function(a) { - return a === d ? this._items.slice() : (a = this.normalize(a, !0), this._items[a]) - }, e.prototype.mergers = function(a) { - return a === d ? this._mergers.slice() : (a = this.normalize(a, !0), this._mergers[a]) - }, e.prototype.clones = function(b) { - var c = this._clones.length / 2, - e = c + this._items.length, - f = function(a) { - return a % 2 == 0 ? e + a / 2 : c - (a + 1) / 2 - }; - return b === d ? a.map(this._clones, function(a, b) { - return f(b) - }) : a.map(this._clones, function(a, c) { - return a === b ? f(c) : null - }) - }, e.prototype.speed = function(a) { - return a !== d && (this._speed = a), this._speed - }, e.prototype.coordinates = function(b) { - var c, e = 1, - f = b - 1; - return b === d ? a.map(this._coordinates, a.proxy(function(a, b) { - return this.coordinates(b) - }, this)) : (this.settings.center ? (this.settings.rtl && (e = -1, f = b + 1), c = this._coordinates[b], c += (this.width() - c + (this._coordinates[f] || 0)) / 2 * e) : c = this._coordinates[f] || 0, c = Math.ceil(c)) - }, e.prototype.duration = function(a, b, c) { - return 0 === c ? 0 : Math.min(Math.max(Math.abs(b - a), 1), 6) * Math.abs(c || this.settings.smartSpeed) - }, e.prototype.to = function(a, b) { - var c = this.current(), - d = null, - e = a - this.relative(c), - f = (e > 0) - (e < 0), - g = this._items.length, - h = this.minimum(), - i = this.maximum(); - this.settings.loop ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += -1 * f * g), a = c + e, (d = ((a - h) % g + g) % g + h) !== a && d - e <= i && d - e > 0 && (c = d - e, a = d, this.reset(c))) : this.settings.rewind ? (i += 1, a = (a % i + i) % i) : a = Math.max(h, Math.min(i, a)), this.speed(this.duration(c, a, b)), this.current(a), this.isVisible() && this.update() - }, e.prototype.next = function(a) { - a = a || !1, this.to(this.relative(this.current()) + 1, a) - }, e.prototype.prev = function(a) { - a = a || !1, this.to(this.relative(this.current()) - 1, a) - }, e.prototype.onTransitionEnd = function(a) { - if (a !== d && (a.stopPropagation(), (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0))) return !1; - this.leave("animating"), this.trigger("translated") - }, e.prototype.viewport = function() { - var d; - return this.options.responsiveBaseElement !== b ? d = a(this.options.responsiveBaseElement).width() : b.innerWidth ? d = b.innerWidth : c.documentElement && c.documentElement.clientWidth ? d = c.documentElement.clientWidth : console.warn("Can not detect viewport width."), d - }, e.prototype.replace = function(b) { - this.$stage.empty(), this._items = [], b && (b = b instanceof jQuery ? b : a(b)), this.settings.nestedItemSelector && (b = b.find("." + this.settings.nestedItemSelector)), b.filter(function() { - return 1 === this.nodeType - }).each(a.proxy(function(a, b) { - b = this.prepare(b), this.$stage.append(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1) - }, this)), this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0), this.invalidate("items") - }, e.prototype.add = function(b, c) { - var e = this.relative(this._current); - c = c === d ? this._items.length : this.normalize(c, !0), b = b instanceof jQuery ? b : a(b), this.trigger("add", { - content: b, - position: c - }), b = this.prepare(b), 0 === this._items.length || c === this._items.length ? (0 === this._items.length && this.$stage.append(b), 0 !== this._items.length && this._items[c - 1].after(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)) : (this._items[c].before(b), this._items.splice(c, 0, b), this._mergers.splice(c, 0, 1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)), this._items[e] && this.reset(this._items[e].index()), this.invalidate("items"), this.trigger("added", { - content: b, - position: c - }) - }, e.prototype.remove = function(a) { - (a = this.normalize(a, !0)) !== d && (this.trigger("remove", { - content: this._items[a], - position: a - }), this._items[a].remove(), this._items.splice(a, 1), this._mergers.splice(a, 1), this.invalidate("items"), this.trigger("removed", { - content: null, - position: a - })) - }, e.prototype.preloadAutoWidthImages = function(b) { - b.each(a.proxy(function(b, c) { - this.enter("pre-loading"), c = a(c), a(new Image).one("load", a.proxy(function(a) { - c.attr("src", a.target.src), c.css("opacity", 1), this.leave("pre-loading"), !this.is("pre-loading") && !this.is("initializing") && this.refresh() - }, this)).attr("src", c.attr("src") || c.attr("data-src") || c.attr("data-src-retina")) - }, this)) - }, e.prototype.destroy = function() { - this.$element.off(".owl.core"), this.$stage.off(".owl.core"), a(c).off(".owl.core"), !1 !== this.settings.responsive && (b.clearTimeout(this.resizeTimer), this.off(b, "resize", this._handlers.onThrottledResize)); - for (var d in this._plugins) this._plugins[d].destroy(); - this.$stage.children(".cloned").remove(), this.$stage.unwrap(), this.$stage.children().contents().unwrap(), this.$stage.children().unwrap(), this.$stage.remove(), this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class", this.$element.attr("class").replace(new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), "")).removeData("owl.carousel") - }, e.prototype.op = function(a, b, c) { - var d = this.settings.rtl; - switch (b) { - case "<": - return d ? a > c : a < c; - case ">": - return d ? a < c : a > c; - case ">=": - return d ? a <= c : a >= c; - case "<=": - return d ? a >= c : a <= c - } - }, e.prototype.on = function(a, b, c, d) { - a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent && a.attachEvent("on" + b, c) - }, e.prototype.off = function(a, b, c, d) { - a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent && a.detachEvent("on" + b, c) - }, e.prototype.trigger = function(b, c, d, f, g) { - var h = { - item: { - count: this._items.length, - index: this.current() - } - }, - i = a.camelCase(a.grep(["on", b, d], function(a) { - return a - }).join("-").toLowerCase()), - j = a.Event([b, "owl", d || "carousel"].join(".").toLowerCase(), a.extend({ - relatedTarget: this - }, h, c)); - return this._supress[b] || (a.each(this._plugins, function(a, b) { - b.onTrigger && b.onTrigger(j) - }), this.register({ - type: e.Type.Event, - name: b - }), this.$element.trigger(j), this.settings && "function" == typeof this.settings[i] && this.settings[i].call(this, j)), j - }, e.prototype.enter = function(b) { - a.each([b].concat(this._states.tags[b] || []), a.proxy(function(a, b) { - this._states.current[b] === d && (this._states.current[b] = 0), this._states.current[b]++ - }, this)) - }, e.prototype.leave = function(b) { - a.each([b].concat(this._states.tags[b] || []), a.proxy(function(a, b) { - this._states.current[b]-- - }, this)) - }, e.prototype.register = function(b) { - if (b.type === e.Type.Event) { - if (a.event.special[b.name] || (a.event.special[b.name] = {}), !a.event.special[b.name].owl) { - var c = a.event.special[b.name]._default; - a.event.special[b.name]._default = function(a) { - return !c || !c.apply || a.namespace && -1 !== a.namespace.indexOf("owl") ? a.namespace && a.namespace.indexOf("owl") > -1 : c.apply(this, arguments) - }, a.event.special[b.name].owl = !0 - } - } else b.type === e.Type.State && (this._states.tags[b.name] ? this._states.tags[b.name] = this._states.tags[b.name].concat(b.tags) : this._states.tags[b.name] = b.tags, this._states.tags[b.name] = a.grep(this._states.tags[b.name], a.proxy(function(c, d) { - return a.inArray(c, this._states.tags[b.name]) === d - }, this))) - }, e.prototype.suppress = function(b) { - a.each(b, a.proxy(function(a, b) { - this._supress[b] = !0 - }, this)) - }, e.prototype.release = function(b) { - a.each(b, a.proxy(function(a, b) { - delete this._supress[b] - }, this)) - }, e.prototype.pointer = function(a) { - var c = { - x: null, - y: null - }; - return a = a.originalEvent || a || b.event, a = a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : a, a.pageX ? (c.x = a.pageX, c.y = a.pageY) : (c.x = a.clientX, c.y = a.clientY), c - }, e.prototype.isNumeric = function(a) { - return !isNaN(parseFloat(a)) - }, e.prototype.difference = function(a, b) { - return { - x: a.x - b.x, - y: a.y - b.y - } - }, a.fn.owlCarousel = function(b) { - var c = Array.prototype.slice.call(arguments, 1); - return this.each(function() { - var d = a(this), - f = d.data("owl.carousel"); - f || (f = new e(this, "object" == typeof b && b), d.data("owl.carousel", f), a.each(["next", "prev", "to", "destroy", "refresh", "replace", "add", "remove"], function(b, c) { - f.register({ - type: e.Type.Event, - name: c - }), f.$element.on(c + ".owl.carousel.core", a.proxy(function(a) { - a.namespace && a.relatedTarget !== this && (this.suppress([c]), f[c].apply(this, [].slice.call(arguments, 1)), this.release([c])) - }, f)) - })), "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c) - }) - }, a.fn.owlCarousel.Constructor = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(b) { - this._core = b, this._interval = null, this._visible = null, this._handlers = { - "initialized.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.autoRefresh && this.watch() - }, this) - }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers) - }; - e.Defaults = { - autoRefresh: !0, - autoRefreshInterval: 500 - }, e.prototype.watch = function() { - this._interval || (this._visible = this._core.isVisible(), this._interval = b.setInterval(a.proxy(this.refresh, this), this._core.settings.autoRefreshInterval)) - }, e.prototype.refresh = function() { - this._core.isVisible() !== this._visible && (this._visible = !this._visible, this._core.$element.toggleClass("owl-hidden", !this._visible), this._visible && this._core.invalidate("width") && this._core.refresh()) - }, e.prototype.destroy = function() { - var a, c; - b.clearInterval(this._interval); - for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); - for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null) - }, a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(b) { - this._core = b, this._loaded = [], this._handlers = { - "initialized.owl.carousel change.owl.carousel resized.owl.carousel": a.proxy(function(b) { - if (b.namespace && this._core.settings && this._core.settings.lazyLoad && (b.property && "position" == b.property.name || "initialized" == b.type)) { - var c = this._core.settings, - e = c.center && Math.ceil(c.items / 2) || c.items, - f = c.center && -1 * e || 0, - g = (b.property && b.property.value !== d ? b.property.value : this._core.current()) + f, - h = this._core.clones().length, - i = a.proxy(function(a, b) { - this.load(b) - }, this); - for (c.lazyLoadEager > 0 && (e += c.lazyLoadEager, c.loop && (g -= c.lazyLoadEager, e++)); f++ < e;) this.load(h / 2 + this._core.relative(g)), h && a.each(this._core.clones(this._core.relative(g)), i), g++ - } - }, this) - }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers) - }; - e.Defaults = { - lazyLoad: !1, - lazyLoadEager: 0 - }, e.prototype.load = function(c) { - var d = this._core.$stage.children().eq(c), - e = d && d.find(".owl-lazy"); - !e || a.inArray(d.get(0), this._loaded) > -1 || (e.each(a.proxy(function(c, d) { - var e, f = a(d), - g = b.devicePixelRatio > 1 && f.attr("data-src-retina") || f.attr("data-src") || f.attr("data-srcset"); - this._core.trigger("load", { - element: f, - url: g - }, "lazy"), f.is("img") ? f.one("load.owl.lazy", a.proxy(function() { - f.css("opacity", 1), this._core.trigger("loaded", { - element: f, - url: g - }, "lazy") - }, this)).attr("src", g) : f.is("source") ? f.one("load.owl.lazy", a.proxy(function() { - this._core.trigger("loaded", { - element: f, - url: g - }, "lazy") - }, this)).attr("srcset", g) : (e = new Image, e.onload = a.proxy(function() { - f.css({ - "background-image": 'url("' + g + '")', - opacity: "1" - }), this._core.trigger("loaded", { - element: f, - url: g - }, "lazy") - }, this), e.src = g) - }, this)), this._loaded.push(d.get(0))) - }, e.prototype.destroy = function() { - var a, b; - for (a in this.handlers) this._core.$element.off(a, this.handlers[a]); - for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null) - }, a.fn.owlCarousel.Constructor.Plugins.Lazy = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(c) { - this._core = c, this._previousHeight = null, this._handlers = { - "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.autoHeight && this.update() - }, this), - "changed.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.autoHeight && "position" === a.property.name && this.update() - }, this), - "loaded.owl.lazy": a.proxy(function(a) { - a.namespace && this._core.settings.autoHeight && a.element.closest("." + this._core.settings.itemClass).index() === this._core.current() && this.update() - }, this) - }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._intervalId = null; - var d = this; - a(b).on("load", function() { - d._core.settings.autoHeight && d.update() - }), a(b).resize(function() { - d._core.settings.autoHeight && (null != d._intervalId && clearTimeout(d._intervalId), d._intervalId = setTimeout(function() { - d.update() - }, 250)) - }) - }; - e.Defaults = { - autoHeight: !1, - autoHeightClass: "owl-height" - }, e.prototype.update = function() { - var b = this._core._current, - c = b + this._core.settings.items, - d = this._core.settings.lazyLoad, - e = this._core.$stage.children().toArray().slice(b, c), - f = [], - g = 0; - a.each(e, function(b, c) { - f.push(a(c).height()) - }), g = Math.max.apply(null, f), g <= 1 && d && this._previousHeight && (g = this._previousHeight), this._previousHeight = g, this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass) - }, e.prototype.destroy = function() { - var a, b; - for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); - for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null) - }, a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(b) { - this._core = b, this._videos = {}, this._playing = null, this._handlers = { - "initialized.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.register({ - type: "state", - name: "playing", - tags: ["interacting"] - }) - }, this), - "resize.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.video && this.isInFullScreen() && a.preventDefault() - }, this), - "refreshed.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.is("resizing") && this._core.$stage.find(".cloned .owl-video-frame").remove() - }, this), - "changed.owl.carousel": a.proxy(function(a) { - a.namespace && "position" === a.property.name && this._playing && this.stop() - }, this), - "prepared.owl.carousel": a.proxy(function(b) { - if (b.namespace) { - var c = a(b.content).find(".owl-video"); - c.length && (c.css("display", "none"), this.fetch(c, a(b.content))) - } - }, this) - }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._core.$element.on("click.owl.video", ".owl-video-play-icon", a.proxy(function(a) { - this.play(a) - }, this)) - }; - e.Defaults = { - video: !1, - videoHeight: !1, - videoWidth: !1 - }, e.prototype.fetch = function(a, b) { - var c = function() { - return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") ? "vzaar" : "youtube" - }(), - d = a.attr("data-vimeo-id") || a.attr("data-youtube-id") || a.attr("data-vzaar-id"), - e = a.attr("data-width") || this._core.settings.videoWidth, - f = a.attr("data-height") || this._core.settings.videoHeight, - g = a.attr("href"); - if (!g) throw new Error("Missing video URL."); - if (d = g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/), d[3].indexOf("youtu") > -1) c = "youtube"; - else if (d[3].indexOf("vimeo") > -1) c = "vimeo"; - else { - if (!(d[3].indexOf("vzaar") > -1)) throw new Error("Video URL not supported."); - c = "vzaar" - } - d = d[6], this._videos[g] = { - type: c, - id: d, - width: e, - height: f - }, b.attr("data-video", g), this.thumbnail(a, this._videos[g]) - }, e.prototype.thumbnail = function(b, c) { - var d, e, f, g = c.width && c.height ? "width:" + c.width + "px;height:" + c.height + "px;" : "", - h = b.find("img"), - i = "src", - j = "", - k = this._core.settings, - l = function(c) { - e = '
', d = k.lazyLoad ? a("
", { - class: "owl-video-tn " + j, - srcType: c - }) : a("
", { - class: "owl-video-tn", - style: "opacity:1;background-image:url(" + c + ")" - }), b.after(d), b.after(e) - }; - if (b.wrap(a("
", { - class: "owl-video-wrapper", - style: g - })), this._core.settings.lazyLoad && (i = "data-src", j = "owl-lazy"), h.length) return l(h.attr(i)), h.remove(), !1; - "youtube" === c.type ? (f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg", l(f)) : "vimeo" === c.type ? a.ajax({ - type: "GET", - url: "//vimeo.com/api/v2/video/" + c.id + ".json", - jsonp: "callback", - dataType: "jsonp", - success: function(a) { - f = a[0].thumbnail_large, l(f) - } - }) : "vzaar" === c.type && a.ajax({ - type: "GET", - url: "//vzaar.com/api/videos/" + c.id + ".json", - jsonp: "callback", - dataType: "jsonp", - success: function(a) { - f = a.framegrab_url, l(f) - } - }) - }, e.prototype.stop = function() { - this._core.trigger("stop", null, "video"), this._playing.find(".owl-video-frame").remove(), this._playing.removeClass("owl-video-playing"), this._playing = null, this._core.leave("playing"), this._core.trigger("stopped", null, "video") - }, e.prototype.play = function(b) { - var c, d = a(b.target), - e = d.closest("." + this._core.settings.itemClass), - f = this._videos[e.attr("data-video")], - g = f.width || "100%", - h = f.height || this._core.$stage.height(); - this._playing || (this._core.enter("playing"), this._core.trigger("play", null, "video"), e = this._core.items(this._core.relative(e.index())), this._core.reset(e.index()), c = a(''), c.attr("height", h), c.attr("width", g), "youtube" === f.type ? c.attr("src", "//www.youtube.com/embed/" + f.id + "?autoplay=1&rel=0&v=" + f.id) : "vimeo" === f.type ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") : "vzaar" === f.type && c.attr("src", "//view.vzaar.com/" + f.id + "/player?autoplay=true"), a(c).wrap('
').insertAfter(e.find(".owl-video")), this._playing = e.addClass("owl-video-playing")) - }, e.prototype.isInFullScreen = function() { - var b = c.fullscreenElement || c.mozFullScreenElement || c.webkitFullscreenElement; - return b && a(b).parent().hasClass("owl-video-frame") - }, e.prototype.destroy = function() { - var a, b; - this._core.$element.off("click.owl.video"); - for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); - for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null) - }, a.fn.owlCarousel.Constructor.Plugins.Video = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(b) { - this.core = b, this.core.options = a.extend({}, e.Defaults, this.core.options), this.swapping = !0, this.previous = d, this.next = d, this.handlers = { - "change.owl.carousel": a.proxy(function(a) { - a.namespace && "position" == a.property.name && (this.previous = this.core.current(), this.next = a.property.value) - }, this), - "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(function(a) { - a.namespace && (this.swapping = "translated" == a.type) - }, this), - "translate.owl.carousel": a.proxy(function(a) { - a.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn) && this.swap() - }, this) - }, this.core.$element.on(this.handlers) - }; - e.Defaults = { - animateOut: !1, - animateIn: !1 - }, e.prototype.swap = function() { - if (1 === this.core.settings.items && a.support.animation && a.support.transition) { - this.core.speed(0); - var b, c = a.proxy(this.clear, this), - d = this.core.$stage.children().eq(this.previous), - e = this.core.$stage.children().eq(this.next), - f = this.core.settings.animateIn, - g = this.core.settings.animateOut; - this.core.current() !== this.previous && (g && (b = this.core.coordinates(this.previous) - this.core.coordinates(this.next), d.one(a.support.animation.end, c).css({ - left: b + "px" - }).addClass("animated owl-animated-out").addClass(g)), f && e.one(a.support.animation.end, c).addClass("animated owl-animated-in").addClass(f)) - } - }, e.prototype.clear = function(b) { - a(b.target).css({ - left: "" - }).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut), this.core.onTransitionEnd() - }, e.prototype.destroy = function() { - var a, b; - for (a in this.handlers) this.core.$element.off(a, this.handlers[a]); - for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null) - }, a.fn.owlCarousel.Constructor.Plugins.Animate = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - var e = function(b) { - this._core = b, this._call = null, this._time = 0, this._timeout = 0, this._paused = !0, this._handlers = { - "changed.owl.carousel": a.proxy(function(a) { - a.namespace && "settings" === a.property.name ? this._core.settings.autoplay ? this.play() : this.stop() : a.namespace && "position" === a.property.name && this._paused && (this._time = 0) - }, this), - "initialized.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.autoplay && this.play() - }, this), - "play.owl.autoplay": a.proxy(function(a, b, c) { - a.namespace && this.play(b, c) - }, this), - "stop.owl.autoplay": a.proxy(function(a) { - a.namespace && this.stop() - }, this), - "mouseover.owl.autoplay": a.proxy(function() { - this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause() - }, this), - "mouseleave.owl.autoplay": a.proxy(function() { - this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.play() - }, this), - "touchstart.owl.core": a.proxy(function() { - this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause() - }, this), - "touchend.owl.core": a.proxy(function() { - this._core.settings.autoplayHoverPause && this.play() - }, this) - }, this._core.$element.on(this._handlers), this._core.options = a.extend({}, e.Defaults, this._core.options) - }; - e.Defaults = { - autoplay: !1, - autoplayTimeout: 5e3, - autoplayHoverPause: !1, - autoplaySpeed: !1 - }, e.prototype._next = function(d) { - this._call = b.setTimeout(a.proxy(this._next, this, d), this._timeout * (Math.round(this.read() / this._timeout) + 1) - this.read()), this._core.is("interacting") || c.hidden || this._core.next(d || this._core.settings.autoplaySpeed) - }, e.prototype.read = function() { - return (new Date).getTime() - this._time - }, e.prototype.play = function(c, d) { - var e; - this._core.is("rotating") || this._core.enter("rotating"), c = c || this._core.settings.autoplayTimeout, e = Math.min(this._time % (this._timeout || c), c), this._paused ? (this._time = this.read(), this._paused = !1) : b.clearTimeout(this._call), this._time += this.read() % c - e, this._timeout = c, this._call = b.setTimeout(a.proxy(this._next, this, d), c - e) - }, e.prototype.stop = function() { - this._core.is("rotating") && (this._time = 0, this._paused = !0, b.clearTimeout(this._call), this._core.leave("rotating")) - }, e.prototype.pause = function() { - this._core.is("rotating") && !this._paused && (this._time = this.read(), this._paused = !0, b.clearTimeout(this._call)) - }, e.prototype.destroy = function() { - var a, b; - this.stop(); - for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); - for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null) - }, a.fn.owlCarousel.Constructor.Plugins.autoplay = e -}(window.Zepto || window.jQuery, window, document), -function(a, b, c, d) { - "use strict"; - var e = function(b) { - this._core = b, this._initialized = !1, this._pages = [], this._controls = {}, this._templates = [], this.$element = this._core.$element, this._overrides = { - next: this._core.next, - prev: this._core.prev, - to: this._core.to - }, this._handlers = { - "prepared.owl.carousel": a.proxy(function(b) { - b.namespace && this._core.settings.dotsData && this._templates.push('
' + a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot") + "
") - }, this), - "added.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 0, this._templates.pop()) - }, this), - "remove.owl.carousel": a.proxy(function(a) { - a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 1) - }, this), - "changed.owl.carousel": a.proxy(function(a) { - a.namespace && "position" == a.property.name && this.draw() - }, this), - "initialized.owl.carousel": a.proxy(function(a) { - a.namespace && !this._initialized && (this._core.trigger("initialize", null, "navigation"), this.initialize(), this.update(), this.draw(), this._initialized = !0, this._core.trigger("initialized", null, "navigation")) - }, this), - "refreshed.owl.carousel": a.proxy(function(a) { - a.namespace && this._initialized && (this._core.trigger("refresh", null, "navigation"), this.update(), this.draw(), this._core.trigger("refreshed", null, "navigation")) - }, this) - }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers) - }; - e.Defaults = { - nav: !1, - navText: ['', ''], - navSpeed: !1, - navElement: 'button type="button" role="presentation"', - navContainer: !1, - navContainerClass: "owl-nav", - navClass: ["owl-prev", "owl-next"], - slideBy: 1, - dotClass: "owl-dot", - dotsClass: "owl-dots", - dots: !0, - dotsEach: !1, - dotsData: !1, - dotsSpeed: !1, - dotsContainer: !1 - }, e.prototype.initialize = function() { - var b, c = this._core.settings; - this._controls.$relative = (c.navContainer ? a(c.navContainer) : a("
").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"), this._controls.$previous = a("<" + c.navElement + ">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click", a.proxy(function(a) { - this.prev(c.navSpeed) - }, this)), this._controls.$next = a("<" + c.navElement + ">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click", a.proxy(function(a) { - this.next(c.navSpeed) - }, this)), c.dotsData || (this._templates = [a('' . esc_html_e('Home','abiz') . ' ' . ' / '; - - if (is_category()) - { - $thisCat = get_category(get_query_var('cat') , false); - if ($thisCat->parent != 0) echo get_category_parents($thisCat->parent, true, ' ' . ' '); - echo '
  • ' . esc_html__('Archive by category', 'abiz') . ' "' . esc_html(single_cat_title('', false)) . '"' . '
  • '; - - } - - elseif (is_search()) - { - echo '
  • ' . esc_html__('Search results for ', 'abiz') . ' "' . esc_html(get_search_query()) . '"' . '
  • '; - } - - elseif (is_day()) - { - echo '' . esc_html(get_the_time('Y')) . ' ' . ' / '; - echo '' . esc_html(get_the_time('F')) . ' ' . ' / '; - echo '
  • ' . esc_html(get_the_time('d')) . '
  • '; - } - - elseif (is_month()) - { - echo '' . esc_html(get_the_time('Y')) . '  / '; - echo '
  • ' . esc_html(get_the_time('F')) . '
  • '; - } - - elseif (is_year()) - { - echo '
  • ' . esc_html(get_the_time('Y')) . '
  • '; - } - - elseif (is_single() && !is_attachment()) - { - if (get_post_type() != 'post') - { - if (class_exists('WooCommerce')) - { - echo '   ' . '
  • ' . wp_kses_post(get_the_title()) . '
  • '; - } - else - { - $post_type = get_post_type_object(get_post_type()); - $slug = $post_type->rewrite; - echo '' . $post_type - ->labels->singular_name . ''; - echo '  / ' . '
  • ' . wp_kses_post(get_the_title()) . '
  • '; - } - } - else - { - $cat = get_the_category(); - $cat = $cat[0]; - $cats = get_category_parents($cat, true, '  / '); - $cats = preg_replace("#^(.+)\s\s$#", "$1", $cats); - echo $cats; - echo '
  • ' . esc_html(get_the_title()) . '
  • '; - } - - } - - elseif (!is_single() && !is_page() && get_post_type() != 'post' && !is_404()) - { - if (class_exists('WooCommerce')) - { - if (is_shop()) - { - $thisshop = woocommerce_page_title(); - } - } - else - { - $post_type = get_post_type_object(get_post_type()); - echo '
  • ' . $post_type - ->labels->singular_name . '
  • '; - } - } - - elseif (!is_single() && !is_page() && get_post_type() != 'post' && !is_404()) - { - $post_type = get_post_type_object(get_post_type()); - echo '
  • ' . $post_type - ->labels->singular_name . '
  • '; - } - - elseif (is_attachment()) - { - $parent = get_post($post->post_parent); - $cat = get_the_category($parent->ID); - if (!empty($cat)) - { - $cat = $cat[0]; - echo get_category_parents($cat, true, '  / '); - } - echo '' . $parent->post_title . ''; - echo '
  • ' . esc_html(get_the_title()) . '
  • '; - - } - - elseif (is_page() && !$post->post_parent) - { - echo '
  • ' . esc_html(get_the_title()) . '
  • '; - } - - elseif (is_page() && $post->post_parent) - { - $parent_id = $post->post_parent; - $breadcrumbs = array(); - while ($parent_id) - { - $page = get_page($parent_id); - $breadcrumbs[] = '' . esc_html(get_the_title($page->ID)) . '' . ' / '; - $parent_id = $page->post_parent; - } - - $breadcrumbs = array_reverse($breadcrumbs); - for ($i = 0;$i < count($breadcrumbs);$i++) - { - echo $breadcrumbs[$i]; - if ($i != count($breadcrumbs) - 1) echo ' / '; - } - echo '
  • ' . esc_html(get_the_title()) . '
  • '; - - } - elseif (is_tag()) - { - echo '
  • ' . esc_html__('Posts tagged ', 'abiz') . ' "' . esc_html(single_tag_title('', false)) . '"' . '
  • '; - } - - elseif (is_author()) - { - global $author; - $userdata = get_userdata($author); - echo '
  • ' . esc_html__('Articles posted by ', 'abiz') . '' . $userdata->display_name . '
  • '; - } - - elseif (is_404()) - { - echo '
  • ' . esc_html__('Error 404 ', 'abiz') . '
  • '; - } - - if (get_query_var('paged')) - { - if (is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author()) echo ''; - echo ' ( ' . esc_html__('Page', 'abiz') . '' . esc_html(get_query_var('paged')) . ' )'; - if (is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author()) echo ''; - } - - echo ''; -} - - -// Excerpt Length -function abiz_blog_excerpt_length( $length ) { - $blog_excerpt_length = get_theme_mod( 'blog_excerpt_length', abiz_get_default_option( 'blog_excerpt_length' )); - if( $blog_excerpt_length == 1000 ) { - return 9999; - } - return esc_html( $blog_excerpt_length ); -} -add_filter( 'excerpt_length', 'abiz_blog_excerpt_length', 999 ); - - -// Excerpt Text -function abiz_blog_excerpt_after_text( $more ) { - $blog_excerpt_after_text = get_theme_mod( 'blog_excerpt_after_text', abiz_get_default_option( 'blog_excerpt_after_text' )); - return $blog_excerpt_after_text; -} -add_filter( 'excerpt_more', 'abiz_blog_excerpt_after_text' ); - - -// Blog Excerpt Button -if ( ! function_exists( 'abiz_blog_excerpt_button' ) ) : -function abiz_blog_excerpt_button() { - $enable_blog_excerpt_btn = get_theme_mod( 'enable_blog_excerpt_btn', abiz_get_default_option( 'enable_blog_excerpt_btn' )); - $blog_excerpt_btn_label = get_theme_mod( 'blog_excerpt_btn_label', abiz_get_default_option( 'blog_excerpt_btn_label' )); - if ( $enable_blog_excerpt_btn == '1' ): - ?> - - esc_html__('fab fa-facebook', 'abiz') , - 'link' => esc_html__('#', 'abiz') , - 'id' => 'customizer_repeater_header_social_001', - ) , - array( - 'icon_value' => esc_html__('fab fa-x-twitter', 'abiz') , - 'link' => esc_html__('#', 'abiz') , - 'id' => 'customizer_repeater_header_social_003', - ) , - array( - 'icon_value' => esc_html__('fab fa-instagram', 'abiz') , - 'link' => esc_html__('#', 'abiz') , - 'id' => 'customizer_repeater_header_social_004', - ) , - array( - 'icon_value' => esc_html__('fab fa-tiktok', 'abiz') , - 'link' => esc_html__('#', 'abiz') , - 'id' => 'customizer_repeater_header_social_005', - ) , - ))); -} - - - -/* - * - * Footer Top Default -*/ -function abiz_footer_top_default() -{ - return apply_filters('abiz_footer_top_default', json_encode(array( - array( - 'icon_value' => 'fas fa-envelope', - 'title' => esc_html__('Email Us 24/7', 'abiz') , - 'subtitle' => esc_html__('info@example.com', 'abiz') , - 'link' => 'mailto:info@example.com', - 'id' => 'customizer_repeater_footer_top_001' - ) , - array( - 'icon_value' => 'fas fa-question', - 'title' => esc_html__('Have Questions?', 'abiz') , - 'subtitle' => esc_html__('Contact Us', 'abiz') , - 'id' => 'customizer_repeater_footer_top_002', - ) , - array( - 'icon_value' => 'fas fa-phone', - 'title' => esc_html__('Call Us 24/7', 'abiz') , - 'subtitle' => esc_html__('+123 456 7890', 'abiz') , - 'link' => 'tell:+123 456 7890', - 'id' => 'customizer_repeater_footer_top_003', - ) , - array( - 'icon_value' => 'far fa-clock', - 'title' => esc_html__('Opening Hours', 'abiz') , - 'subtitle' => esc_html__('Mon-Sat: 10- 6 Pm', 'abiz') , - 'id' => 'customizer_repeater_footer_top_004', - ) , - ))); -} - -/******************************************************************************* - * Get Started Notice - *******************************************************************************/ - -add_action( 'wp_ajax_abiz_dismissed_notice_handler', 'abiz_ajax_notice_handler' ); - -/** - * AJAX handler to store the state of dismissible notices. - */ -function abiz_ajax_notice_handler() { - if ( isset( $_POST['type'] ) ) { - // Pick up the notice "type" - passed via jQuery (the "data-notice" attribute on the notice) - $type = sanitize_text_field( wp_unslash( $_POST['type'] ) ); - // Store it in the options table - update_option( 'dismissed-' . $type, TRUE ); - } -} - -function abiz_deprecated_hook_admin_notice() { - // Check if it's been dismissed... - if ( ! get_option('dismissed-get_started', FALSE ) ) { - // Added the class "notice-get-started-class" so jQuery pick it up and pass via AJAX, - // and added "data-notice" attribute in order to track multiple / different notices - // multiple dismissible notice states ?> -
    -
    -
    - <?php esc_attr_e( 'Theme Screenshot', 'abiz' ); ?> -
    -
    -

    - '. wp_get_theme()->get('Name'). '' ); - ?> -

    - -

    Daddy Plus plugin for taking full advantage of all the features this theme has to offer.', 'abiz')) ?>

    - - - '. wp_get_theme()->get('Name'). '' ); - ?> - - - ', - '', - '' - ); - ?> -
    -
    -
    - sanitize_key( wp_unslash( 'daddy-plus' ) ), - 'fields' => array( - 'sections' => false, - ), - ) ); - - $skin = new WP_Ajax_Upgrader_Skin(); - $upgrader = new Plugin_Upgrader( $skin ); - $result = $upgrader->install( $api->download_link ); - } - - // Activate plugin. - if ( current_user_can( 'activate_plugin' ) ) { - $result = activate_plugin( 'daddy-plus/daddy-plus.php' ); - } + implode( '&family=', $font_families ), + 'display' => 'swap', + ), 'https://fonts.googleapis.com/css2' ); + + require_once get_theme_file_path( 'core/wptt-webfont-loader.php' ); + + return wptt_get_webfont_url( esc_url_raw( $fonts_url ) ); +} + +// Enqueue scripts and styles. +add_action( 'wp_enqueue_scripts', 'abiz_theme_scripts' ); +function abiz_theme_scripts() { + + // Styles + wp_enqueue_style( + 'bootstrap-min', + get_template_directory_uri().'/assets/css/bootstrap.min.css' + ); + + wp_enqueue_style( + 'owl-carousel-min', + get_template_directory_uri().'/assets/css/owl.carousel.min.css' + ); + + wp_enqueue_style( + 'all-css', + get_template_directory_uri().'/assets/css/all.min.css' + ); + + wp_enqueue_style( + 'animate', + get_template_directory_uri().'/assets/css/animate.min.css' + ); + + wp_enqueue_style( + 'abiz-main', + get_template_directory_uri() . '/assets/css/main.css' + ); + + wp_enqueue_style( + 'abiz-media-query', + get_template_directory_uri() . '/assets/css/responsive.css' + ); + + wp_enqueue_style( + 'abiz-fonts', + abiz_site_get_google_font() , + array() , + null + ); + + wp_enqueue_style( + 'abiz-style', + get_stylesheet_uri() + ); + + $output_style = ''; + // Page Header + $page_header_img_opacity = get_theme_mod('page_header_img_opacity', abiz_get_default_option( 'page_header_img_opacity' )); + $page_header_bg_color = get_theme_mod('page_header_bg_color', abiz_get_default_option( 'page_header_bg_color' )); + + if (has_header_image()) + { + $output_style .= ".breadcrumb-area:after { + background-color: " . esc_attr($page_header_bg_color) . "; + opacity: " . esc_attr($page_header_img_opacity) . "; + }\n"; + } + + // Logo Style + $logo_size = get_theme_mod('logo_size', abiz_get_default_option( 'logo_size' )); + $site_ttl_font_size = get_theme_mod('site_ttl_font_size', abiz_get_default_option( 'site_ttl_font_size' )); + $site_desc_font_size = get_theme_mod('site_desc_font_size', abiz_get_default_option( 'site_desc_font_size' )); + $output_style .= ".logo img, .mobile-logo img {max-width: " . esc_attr($logo_size) . "px;}\n"; + $output_style .= ".site-title {font-size: " . esc_attr($site_ttl_font_size) . "px;}\n"; + $output_style .= ".site-description {font-size: " . esc_attr($site_desc_font_size) . "px;}\n"; + + // Typography Body + $abiz_body_font_size = get_theme_mod('abiz_body_font_size',abiz_get_default_option( 'abiz_body_font_size' )); + $abiz_body_font_weight = get_theme_mod('abiz_body_font_weight','inherit'); + $abiz_body_text_transform = get_theme_mod('abiz_body_text_transform','inherit'); + $abiz_body_font_style = get_theme_mod('abiz_body_font_style','inherit'); + $abiz_body_txt_decoration = get_theme_mod('abiz_body_txt_decoration','none'); + $output_style .=" body{ + font-size: " .esc_attr($abiz_body_font_size). "px; + font-weight: " .esc_attr($abiz_body_font_weight). "; + text-transform: " .esc_attr($abiz_body_text_transform). "; + font-style: " .esc_attr($abiz_body_font_style). "; + text-decoration: " .esc_attr($abiz_body_txt_decoration). "; + }\n"; + + wp_add_inline_style( + 'abiz-style', + $output_style + ); + + // Scripts + wp_enqueue_script( 'jquery' ); + + wp_enqueue_script( + 'bootstrap', + get_template_directory_uri() . '/assets/js/bootstrap.min.js', + array('jquery'), + false, + true + ); + + wp_enqueue_script( + 'owl-carousel', + get_template_directory_uri() . '/assets/js/owl.carousel.min.js', + array('jquery'), + false, + true + ); + + wp_enqueue_script( + 'wow-min', + get_template_directory_uri() . '/assets/js/wow.min.js', + array('jquery'), + false, + false, + true + ); + + wp_enqueue_script( + 'marquee', + get_template_directory_uri() . '/assets/js/jquery.marquee.js', + array( 'jquery' ), + '1.0', + true + ); + + wp_enqueue_script( + 'abiz-custom-js', + get_template_directory_uri() . '/assets/js/custom.js', + array('jquery'), + false, + true + ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } +} + +add_action( 'admin_enqueue_scripts', 'abiz_theme_admin_scripts' ); +function abiz_theme_admin_scripts() { + wp_enqueue_style( + 'abiz-admin-style', + ABIZ_THEME_CORE_URI . '/customizer/assets/css/admin.css' + ); + wp_enqueue_script( + 'abiz-admin-script', + ABIZ_THEME_CORE_URI . '/customizer/assets/js/admin-script.js', + array( 'jquery' ), '', + true + ); + wp_localize_script( + 'abiz-admin-script', + 'abiz_ajax_object', + array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) + ); +} + +// Register widget area +add_action( 'widgets_init', 'abiz_widgets_init' ); +function abiz_widgets_init() { + + // Sidebar Widget + register_sidebar( + array( + 'name' => __( 'Main Sidebar Widget', 'abiz' ), + 'id' => 'sidebar-primary', + 'description' => __( 'Main Sidebar Widget', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + + // Footer Sidebar 1 + register_sidebar( + array( + 'name' => __( 'Footer Sidebar 1', 'abiz' ), + 'id' => 'footer-sidebar-1', + 'description' => __( 'The Footer Widget Area 1', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + + // Footer Sidebar 2 + register_sidebar( + array( + 'name' => __( 'Footer Sidebar 2', 'abiz' ), + 'id' => 'footer-sidebar-2', + 'description' => __( 'The Footer Widget Area 2', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + + // Footer Sidebar 3 + register_sidebar( + array( + 'name' => __( 'Footer Sidebar 3', 'abiz' ), + 'id' => 'footer-sidebar-3', + 'description' => __( 'The Footer Widget Area 3', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + + // Footer Sidebar 4 + register_sidebar( + array( + 'name' => __( 'Footer Sidebar 4', 'abiz' ), + 'id' => 'footer-sidebar-4', + 'description' => __( 'The Footer Widget Area 4', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + + + // WooCommerce Sidebar + if ( class_exists( 'WooCommerce' ) ) { + register_sidebar( + array( + 'name' => __( 'WooCommerce Sidebar', 'abiz' ), + 'id' => 'sidebar-woocommerce', + 'description' => __( 'This Widget area for WooCommerce Widget', 'abiz' ), + 'before_widget' => '', + 'before_title' => '
    ', + 'after_title' => '
    ', + ) + ); + } +} + + + + +// Function that returns if the menu is sticky +if (!function_exists('abiz_site_header_sticky')): + function abiz_site_header_sticky() + { + $enable_hdr_sticky = get_theme_mod('enable_hdr_sticky', abiz_get_default_option( 'enable_hdr_sticky' )); + + if ($enable_hdr_sticky == '1'): return 'is-sticky-on'; endif; + } +endif; + + +// Abiz Section Header +if (!function_exists('abiz_section_header')): + function abiz_section_header($title, $subtitle, $description) + { + if (!empty($title) || !empty($subtitle) || !empty($description)): ?> +
    +
    +
    + + +

    + +

    +
    +
    +
    + +
    +
    +
    + + +

    + +

    +
    +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + +
    +
    +
    +
    + + + + + + + +
    +
    +
    +
    +
    +
    +cart->cart_contents_count; +?> + ' . esc_html_e('Home','abiz') . ' ' . ' / '; + + if (is_category()) + { + $thisCat = get_category(get_query_var('cat') , false); + if ($thisCat->parent != 0) echo get_category_parents($thisCat->parent, true, ' ' . ' '); + echo '
  • ' . esc_html__('Archive by category', 'abiz') . ' "' . esc_html(single_cat_title('', false)) . '"' . '
  • '; + + } + + elseif (is_search()) + { + echo '
  • ' . esc_html__('Search results for ', 'abiz') . ' "' . esc_html(get_search_query()) . '"' . '
  • '; + } + + elseif (is_day()) + { + echo '' . esc_html(get_the_time('Y')) . ' ' . ' / '; + echo '' . esc_html(get_the_time('F')) . ' ' . ' / '; + echo '
  • ' . esc_html(get_the_time('d')) . '
  • '; + } + + elseif (is_month()) + { + echo '' . esc_html(get_the_time('Y')) . '  / '; + echo '
  • ' . esc_html(get_the_time('F')) . '
  • '; + } + + elseif (is_year()) + { + echo '
  • ' . esc_html(get_the_time('Y')) . '
  • '; + } + + elseif (is_single() && !is_attachment()) + { + if (get_post_type() != 'post') + { + if (class_exists('WooCommerce')) + { + echo '   ' . '
  • ' . wp_kses_post(get_the_title()) . '
  • '; + } + else + { + $post_type = get_post_type_object(get_post_type()); + $slug = $post_type->rewrite; + echo '' . $post_type + ->labels->singular_name . ''; + echo '  / ' . '
  • ' . wp_kses_post(get_the_title()) . '
  • '; + } + } + else + { + $cat = get_the_category(); + $cat = $cat[0]; + $cats = get_category_parents($cat, true, '  / '); + $cats = preg_replace("#^(.+)\s\s$#", "$1", $cats); + echo $cats; + echo '
  • ' . esc_html(get_the_title()) . '
  • '; + } + + } + + elseif (!is_single() && !is_page() && get_post_type() != 'post' && !is_404()) + { + if (class_exists('WooCommerce')) + { + if (is_shop()) + { + $thisshop = woocommerce_page_title(); + } + } + else + { + $post_type = get_post_type_object(get_post_type()); + echo '
  • ' . $post_type + ->labels->singular_name . '
  • '; + } + } + + elseif (!is_single() && !is_page() && get_post_type() != 'post' && !is_404()) + { + $post_type = get_post_type_object(get_post_type()); + echo '
  • ' . $post_type + ->labels->singular_name . '
  • '; + } + + elseif (is_attachment()) + { + $parent = get_post($post->post_parent); + $cat = get_the_category($parent->ID); + if (!empty($cat)) + { + $cat = $cat[0]; + echo get_category_parents($cat, true, '  / '); + } + echo '' . $parent->post_title . ''; + echo '
  • ' . esc_html(get_the_title()) . '
  • '; + + } + + elseif (is_page() && !$post->post_parent) + { + echo '
  • ' . esc_html(get_the_title()) . '
  • '; + } + + elseif (is_page() && $post->post_parent) + { + $parent_id = $post->post_parent; + $breadcrumbs = array(); + while ($parent_id) + { + $page = get_page($parent_id); + $breadcrumbs[] = '' . esc_html(get_the_title($page->ID)) . '' . ' / '; + $parent_id = $page->post_parent; + } + + $breadcrumbs = array_reverse($breadcrumbs); + for ($i = 0;$i < count($breadcrumbs);$i++) + { + echo $breadcrumbs[$i]; + if ($i != count($breadcrumbs) - 1) echo ' / '; + } + echo '
  • ' . esc_html(get_the_title()) . '
  • '; + + } + elseif (is_tag()) + { + echo '
  • ' . esc_html__('Posts tagged ', 'abiz') . ' "' . esc_html(single_tag_title('', false)) . '"' . '
  • '; + } + + elseif (is_author()) + { + global $author; + $userdata = get_userdata($author); + echo '
  • ' . esc_html__('Articles posted by ', 'abiz') . '' . $userdata->display_name . '
  • '; + } + + elseif (is_404()) + { + echo '
  • ' . esc_html__('Error 404 ', 'abiz') . '
  • '; + } + + if (get_query_var('paged')) + { + if (is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author()) echo ''; + echo ' ( ' . esc_html__('Page', 'abiz') . '' . esc_html(get_query_var('paged')) . ' )'; + if (is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author()) echo ''; + } + + echo ''; +} + + +// Excerpt Length +function abiz_blog_excerpt_length( $length ) { + $blog_excerpt_length = get_theme_mod( 'blog_excerpt_length', abiz_get_default_option( 'blog_excerpt_length' )); + if( $blog_excerpt_length == 1000 ) { + return 9999; + } + return esc_html( $blog_excerpt_length ); +} +add_filter( 'excerpt_length', 'abiz_blog_excerpt_length', 999 ); + + +// Excerpt Text +function abiz_blog_excerpt_after_text( $more ) { + $blog_excerpt_after_text = get_theme_mod( 'blog_excerpt_after_text', abiz_get_default_option( 'blog_excerpt_after_text' )); + return $blog_excerpt_after_text; +} +add_filter( 'excerpt_more', 'abiz_blog_excerpt_after_text' ); + + +// Blog Excerpt Button +if ( ! function_exists( 'abiz_blog_excerpt_button' ) ) : +function abiz_blog_excerpt_button() { + $enable_blog_excerpt_btn = get_theme_mod( 'enable_blog_excerpt_btn', abiz_get_default_option( 'enable_blog_excerpt_btn' )); + $blog_excerpt_btn_label = get_theme_mod( 'blog_excerpt_btn_label', abiz_get_default_option( 'blog_excerpt_btn_label' )); + if ( $enable_blog_excerpt_btn == '1' ): + ?> + + esc_html__('fab fa-facebook', 'abiz') , + 'link' => esc_html__('#', 'abiz') , + 'id' => 'customizer_repeater_header_social_001', + ) , + array( + 'icon_value' => esc_html__('fab fa-x-twitter', 'abiz') , + 'link' => esc_html__('#', 'abiz') , + 'id' => 'customizer_repeater_header_social_003', + ) , + array( + 'icon_value' => esc_html__('fab fa-instagram', 'abiz') , + 'link' => esc_html__('#', 'abiz') , + 'id' => 'customizer_repeater_header_social_004', + ) , + array( + 'icon_value' => esc_html__('fab fa-tiktok', 'abiz') , + 'link' => esc_html__('#', 'abiz') , + 'id' => 'customizer_repeater_header_social_005', + ) , + ))); +} + + + +/* + * + * Footer Top Default +*/ +function abiz_footer_top_default() +{ + return apply_filters('abiz_footer_top_default', json_encode(array( + array( + 'icon_value' => 'fas fa-envelope', + 'title' => esc_html__('Email Us 24/7', 'abiz') , + 'subtitle' => esc_html__('info@example.com', 'abiz') , + 'link' => 'mailto:info@example.com', + 'id' => 'customizer_repeater_footer_top_001' + ) , + array( + 'icon_value' => 'fas fa-question', + 'title' => esc_html__('Have Questions?', 'abiz') , + 'subtitle' => esc_html__('Contact Us', 'abiz') , + 'id' => 'customizer_repeater_footer_top_002', + ) , + array( + 'icon_value' => 'fas fa-phone', + 'title' => esc_html__('Call Us 24/7', 'abiz') , + 'subtitle' => esc_html__('+123 456 7890', 'abiz') , + 'link' => 'tell:+123 456 7890', + 'id' => 'customizer_repeater_footer_top_003', + ) , + array( + 'icon_value' => 'far fa-clock', + 'title' => esc_html__('Opening Hours', 'abiz') , + 'subtitle' => esc_html__('Mon-Sat: 10- 6 Pm', 'abiz') , + 'id' => 'customizer_repeater_footer_top_004', + ) , + ))); +} + +/******************************************************************************* + * Get Started Notice + *******************************************************************************/ + +add_action( 'wp_ajax_abiz_dismissed_notice_handler', 'abiz_ajax_notice_handler' ); + +/** + * AJAX handler to store the state of dismissible notices. + */ +function abiz_ajax_notice_handler() { + if ( isset( $_POST['type'] ) ) { + // Pick up the notice "type" - passed via jQuery (the "data-notice" attribute on the notice) + $type = sanitize_text_field( wp_unslash( $_POST['type'] ) ); + // Store it in the options table + update_option( 'dismissed-' . $type, TRUE ); + } +} + +function abiz_deprecated_hook_admin_notice() { + // Check if it's been dismissed... + if ( ! get_option('dismissed-get_started', FALSE ) ) { + // Added the class "notice-get-started-class" so jQuery pick it up and pass via AJAX, + // and added "data-notice" attribute in order to track multiple / different notices + // multiple dismissible notice states ?> +
    +
    +
    + <?php esc_attr_e( 'Theme Screenshot', 'abiz' ); ?> +
    +
    +

    + '. wp_get_theme()->get('Name'). '' ); + ?> +

    + +

    Daddy Plus plugin for taking full advantage of all the features this theme has to offer.', 'abiz')) ?>

    + + + '. wp_get_theme()->get('Name'). '' ); + ?> + + + ', + '', + '' + ); + ?> +
    +
    +
    + sanitize_key( wp_unslash( 'daddy-plus' ) ), + 'fields' => array( + 'sections' => false, + ), + ) ); + + $skin = new WP_Ajax_Upgrader_Skin(); + $upgrader = new Plugin_Upgrader( $skin ); + $result = $upgrader->install( $api->download_link ); + } + + // Activate plugin. + if ( current_user_can( 'activate_plugin' ) ) { + $result = activate_plugin( 'daddy-plus/daddy-plus.php' ); + } } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/custom-header.php b/gk-assets/themes/abiz/core/custom-header.php similarity index 96% rename from wp-content/themes/abiz/core/custom-header.php rename to gk-assets/themes/abiz/core/custom-header.php index b41934e..8d68c49 100644 --- a/wp-content/themes/abiz/core/custom-header.php +++ b/gk-assets/themes/abiz/core/custom-header.php @@ -1,38 +1,38 @@ - $header_image, - 'default-text-color' => '000', - 'width' => 2000, - 'height' => 200, - 'flex-height' => true, - 'wp-head-callback' => 'abiz_header_style', - ))); -} -add_action('after_setup_theme', 'abiz_custom_header_setup'); - -if (!function_exists('abiz_header_style')): - function abiz_header_style() - { - $header_text_color = get_header_textcolor(); - -?> - - $header_image, + 'default-text-color' => '000', + 'width' => 2000, + 'height' => 200, + 'flex-height' => true, + 'wp-head-callback' => 'abiz_header_style', + ))); +} +add_action('after_setup_theme', 'abiz_custom_header_setup'); + +if (!function_exists('abiz_header_style')): + function abiz_header_style() + { + $header_text_color = get_header_textcolor(); + +?> + + default ); -} - -// Select sanitization callback example. -function abiz_sanitize_select( $input, $setting ) { - - // Ensure input is a slug. - $input = sanitize_key( $input ); - - // Get list of choices from the control associated with the setting. - $choices = $setting->manager->get_control( $setting->id )->choices; - - // If the input is a valid key, return it; otherwise, return the default. - return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); -} - -// URL sanitization -function abiz_sanitize_url( $url ) { - return esc_url_raw( $url ); -} - - -// Sanitization Text -function abiz_sanitize_text( $text ) { - return wp_filter_post_kses( $text ); -} - -// Sanitize Sortable control. -function abiz_sanitize_sortable( $val, $setting ) { - if ( is_string( $val ) || is_numeric( $val ) ) { - return array( - esc_attr( $val ), - ); - } - $sanitized_value = array(); - foreach ( $val as $item ) { - if ( isset( $setting->manager->get_control( $setting->id )->choices[ $item ] ) ) { - $sanitized_value[] = esc_attr( $item ); - } - } - return $sanitized_value; +default ); +} + +// Select sanitization callback example. +function abiz_sanitize_select( $input, $setting ) { + + // Ensure input is a slug. + $input = sanitize_key( $input ); + + // Get list of choices from the control associated with the setting. + $choices = $setting->manager->get_control( $setting->id )->choices; + + // If the input is a valid key, return it; otherwise, return the default. + return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); +} + +// URL sanitization +function abiz_sanitize_url( $url ) { + return esc_url_raw( $url ); +} + + +// Sanitization Text +function abiz_sanitize_text( $text ) { + return wp_filter_post_kses( $text ); +} + +// Sanitize Sortable control. +function abiz_sanitize_sortable( $val, $setting ) { + if ( is_string( $val ) || is_numeric( $val ) ) { + return array( + esc_attr( $val ), + ); + } + $sanitized_value = array(); + foreach ( $val as $item ) { + if ( isset( $setting->manager->get_control( $setting->id )->choices[ $item ] ) ) { + $sanitized_value[] = esc_attr( $item ); + } + } + return $sanitized_value; } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/abiz-default-options.php b/gk-assets/themes/abiz/core/customizer/abiz-default-options.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/abiz-default-options.php rename to gk-assets/themes/abiz/core/customizer/abiz-default-options.php diff --git a/wp-content/themes/abiz/core/customizer/abiz-general.php b/gk-assets/themes/abiz/core/customizer/abiz-general.php similarity index 97% rename from wp-content/themes/abiz/core/customizer/abiz-general.php rename to gk-assets/themes/abiz/core/customizer/abiz-general.php index 6a6bea9..5fe75ea 100644 --- a/wp-content/themes/abiz/core/customizer/abiz-general.php +++ b/gk-assets/themes/abiz/core/customizer/abiz-general.php @@ -1,961 +1,961 @@ -selective_refresh) ? 'postMessage' : 'refresh'; - - /*========================================= - Site Identity - =========================================*/ - $wp_customize->add_setting('logo_size', array( - 'default' => abiz_get_default_option( 'logo_size' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => 'postMessage', - )); - - $wp_customize->add_control('logo_size', array( - 'label' => __('Logo Size', 'abiz') , - 'section' => 'title_tagline', - 'type' => 'number', - )); - - // Site Title// - $wp_customize->add_setting('site_ttl_font_size', array( - 'default' => abiz_get_default_option( 'site_ttl_font_size' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => 'postMessage', - )); - - $wp_customize->add_control('site_ttl_font_size', array( - 'label' => __('Site Title Font Size', 'abiz') , - 'section' => 'title_tagline', - 'type' => 'number', - )); - - // Site Description Font Size// - $wp_customize->add_setting('site_desc_font_size', array( - 'default' => abiz_get_default_option( 'site_desc_font_size' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => 'postMessage', - )); - - $wp_customize->add_control('site_desc_font_size', array( - 'label' => __('Site Description Font Size', 'abiz') , - 'section' => 'title_tagline', - 'type' => 'number', - )); - - - /*========================================= - Top Header Section - =========================================*/ - /*========================================= - Setting - =========================================*/ - $wp_customize->add_setting('top_hdr_set', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('top_hdr_set', array( - 'type' => 'hidden', - 'label' => __('Setting', 'abiz') , - 'section' => 'top_header', - 'priority' => 1, - )); - - // Enable / Disable - $wp_customize->add_setting('enable_top_hdr', array( - 'default' => abiz_get_default_option( 'enable_top_hdr' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_top_hdr', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_header', - 'priority' => 2, - - ))); - - /*========================================= - Info 1 - =========================================*/ - $wp_customize->add_setting('hdr_info1_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_info1_head', array( - 'type' => 'hidden', - 'label' => __('Info 1', 'abiz') , - 'section' => 'top_header', - 'priority' => 2, - )); - - // hide/show - $wp_customize->add_setting('enable_hdr_info1', array( - 'default' => abiz_get_default_option( 'enable_hdr_info1' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info1', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_header', - 'priority' => 2, - - ))); - - // icon // - $wp_customize->add_setting('hdr_info1_icon', array( - 'default' => abiz_get_default_option( 'hdr_info1_icon' ), - 'sanitize_callback' => 'sanitize_text_field', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('hdr_info1_icon', array( - 'label' => __('Icon', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 3, - )); - - // title // - $wp_customize->add_setting('hdr_info1_title', array( - 'default' => abiz_get_default_option( 'hdr_info1_title' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => $selective_refresh, - )); - - $wp_customize->add_control('hdr_info1_title', array( - 'label' => __('Title', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 3, - )); - - // Link // - $wp_customize->add_setting('hdr_info1_link', array( - 'default' => abiz_get_default_option( 'hdr_info1_link' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_url', - )); - - $wp_customize->add_control('hdr_info1_link', array( - 'label' => __('Link', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 3, - )); - - /*========================================= - Info 2 - =========================================*/ - $wp_customize->add_setting('hdr_info2_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_info2_head', array( - 'type' => 'hidden', - 'label' => __('Info 2', 'abiz') , - 'section' => 'top_header', - 'priority' => 4, - )); - - // hide/show - $wp_customize->add_setting('enable_hdr_info2', array( - 'default' => abiz_get_default_option( 'enable_hdr_info2' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info2', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_header', - 'priority' => 5, - - ))); - - // icon // - $wp_customize->add_setting('hdr_info2_icon', array( - 'default' => abiz_get_default_option( 'hdr_info2_icon' ), - 'sanitize_callback' => 'sanitize_text_field', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('hdr_info2_icon', array( - 'label' => __('Icon', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 6, - )); - - // title // - $wp_customize->add_setting('hdr_info2_title', array( - 'default' => abiz_get_default_option( 'hdr_info2_title' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => $selective_refresh, - )); - - $wp_customize->add_control('hdr_info2_title', array( - 'label' => __('Title', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 7, - )); - - // Link // - $wp_customize->add_setting('hdr_info2_link', array( - 'default' => abiz_get_default_option( 'hdr_info2_link' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_url', - )); - - $wp_customize->add_control('hdr_info2_link', array( - 'label' => __('Link', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 8, - )); - - /*========================================= - Info 3 - =========================================*/ - $wp_customize->add_setting('hdr_info3_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_info3_head', array( - 'type' => 'hidden', - 'label' => __('Info 3', 'abiz') , - 'section' => 'top_header', - 'priority' => 9, - )); - - // hide/show - $wp_customize->add_setting('enable_hdr_info3', array( - 'default' => abiz_get_default_option( 'enable_hdr_info3' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info3', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_header', - 'priority' => 10, - - ))); - - // icon // - $wp_customize->add_setting('hdr_info3_icon', array( - 'default' => abiz_get_default_option( 'hdr_info3_icon' ), - 'sanitize_callback' => 'sanitize_text_field', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('hdr_info3_icon', array( - 'label' => __('Icon', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 11, - )); - - - // title // - $wp_customize->add_setting('hdr_info3_title', array( - 'default' => abiz_get_default_option( 'hdr_info3_title' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => $selective_refresh, - )); - - $wp_customize->add_control('hdr_info3_title', array( - 'label' => __('Title', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 12, - )); - - // Link // - $wp_customize->add_setting('hdr_info3_link', array( - 'default' => abiz_get_default_option( 'hdr_info3_link' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_url', - )); - - $wp_customize->add_control('hdr_info3_link', array( - 'label' => __('Link', 'abiz') , - 'section' => 'top_header', - 'type' => 'text', - 'priority' => 13, - )); - - /*========================================= - Social - =========================================*/ - $wp_customize->add_setting('hdr_social_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_social_head', array( - 'type' => 'hidden', - 'label' => __('Social Icon', 'abiz') , - 'section' => 'top_header', - 'priority' => 15, - )); - - $wp_customize->add_setting('enable_social_icon', array( - 'default' => abiz_get_default_option( 'enable_social_icon' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_social_icon', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_header', - 'priority' => 16, - - ))); - - /** - * Customizer Repeater - */ - $wp_customize->add_setting('hdr_social_icons', array( - 'default' => abiz_get_default_option( 'hdr_social_icons' ), - 'sanitize_callback' => 'abiz_repeater_sanitize', - )); - - $wp_customize->add_control(new ABIZ_Repeater($wp_customize, 'hdr_social_icons', array( - 'label' => esc_html__('Social Icons', 'abiz') , - 'priority' => 17, - 'section' => 'top_header', - 'customizer_repeater_icon_control' => true, - 'customizer_repeater_link_control' => true, - ))); - - // Upgrade - if (class_exists('Daddy_Plus_Customize_Upgrade_Control')) - { - $wp_customize->add_setting('abiz_social_icon_upgrade',array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'sanitize_text_field', - )); - - $wp_customize->add_control(new Daddy_Plus_Customize_Upgrade_Control($wp_customize, - 'abiz_social_icon_upgrade', - array( - 'label' => __( 'Social Icons', 'abiz' ), - 'section' => 'top_header', - 'priority' => 17, - ) - ) - ); - } - /*========================================= - Header Navigation - =========================================*/ - // Cart - $wp_customize->add_setting('hdr_nav_cart', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_nav_cart', array( - 'type' => 'hidden', - 'label' => __('Cart', 'abiz') , - 'section' => 'header_nav', - 'priority' => 2, - )); - - // hide/show - $wp_customize->add_setting('enable_cart', array( - 'default' => abiz_get_default_option( 'enable_cart' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_cart', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 2, - - ))); - - // Account - $wp_customize->add_setting('hdr_nav_account', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_nav_account', array( - 'type' => 'hidden', - 'label' => __('Account', 'abiz') , - 'section' => 'header_nav', - 'priority' => 3, - )); - - // hide/show - $wp_customize->add_setting('enable_account', array( - 'default' => abiz_get_default_option( 'enable_account' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_account', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 3, - - ))); - - // Search - $wp_customize->add_setting('hdr_nav_search_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('hdr_nav_search_head', array( - 'type' => 'hidden', - 'label' => __('Search', 'abiz') , - 'section' => 'header_nav', - 'priority' => 3, - )); - - // hide/show - $wp_customize->add_setting('enable_nav_search', array( - 'default' => abiz_get_default_option( 'enable_nav_search' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_nav_search', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 3, - - ))); - - // Header Button - $wp_customize->add_setting('abv_hdr_btn_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('abv_hdr_btn_head', array( - 'type' => 'hidden', - 'label' => __('Button', 'abiz') , - 'section' => 'header_nav', - 'priority' => 18, - )); - - $wp_customize->add_setting('enable_hdr_btn', array( - 'default' => abiz_get_default_option( 'enable_hdr_btn' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_btn', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 19, - - ))); - - // Button Label // - $wp_customize->add_setting('hdr_btn_label', array( - 'default' => abiz_get_default_option( 'hdr_btn_label' ), - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => $selective_refresh, - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('hdr_btn_label', array( - 'label' => __('Label', 'abiz') , - 'section' => 'header_nav', - 'type' => 'text', - 'priority' => 21, - )); - - // Button URL // - $wp_customize->add_setting('hdr_btn_link', array( - 'default' => abiz_get_default_option( 'hdr_btn_link' ), - 'sanitize_callback' => 'abiz_sanitize_url', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('hdr_btn_link', array( - 'label' => __('Link', 'abiz') , - 'section' => 'header_nav', - 'type' => 'text', - 'priority' => 22, - )); - - $wp_customize->add_setting('hdr_btn_target', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'hdr_btn_target', array( - 'label' => __('Open in New Tab ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 23, - - ))); - - /*========================================= - Sticky Header - =========================================*/ - // Heading - $wp_customize->add_setting('sticky_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text' - )); - - $wp_customize->add_control('sticky_head', array( - 'type' => 'hidden', - 'label' => __('Sticky Header', 'abiz') , - 'section' => 'header_nav', - 'priority' => 23, - )); - $wp_customize->add_setting('enable_hdr_sticky', array( - 'default' => abiz_get_default_option( 'enable_hdr_sticky' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_sticky', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_nav', - 'priority' => 24, - - ))); - - /*========================================= - Scroller - =========================================*/ - // Head - $wp_customize->add_setting('top_scroller_settings', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text' - )); - - $wp_customize->add_control('top_scroller_settings', array( - 'type' => 'hidden', - 'label' => __('Top Scroller Setting', 'abiz') , - 'section' => 'top_scroller' - )); - - $wp_customize->add_setting('enable_scroller', array( - 'default' => abiz_get_default_option( 'enable_scroller' ), - 'sanitize_callback' => 'abiz_sanitize_checkbox', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_scroller', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'top_scroller' - - ))); - - // Scroller icon // - $wp_customize->add_setting('top_scroller_icon', array( - 'default' => abiz_get_default_option( 'top_scroller_icon' ), - 'sanitize_callback' => 'sanitize_text_field', - 'capability' => 'edit_theme_options', - )); - - $wp_customize->add_control('top_scroller_icon', array( - 'label' => __('Scroller Icon', 'abiz') , - 'section' => 'top_scroller', - 'type' => 'text' - )); - - /*========================================= - Page Header - =========================================*/ - // Heading - $wp_customize->add_setting('header_image_set', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - )); - - $wp_customize->add_control('header_image_set', array( - 'type' => 'hidden', - 'label' => __('Page Header', 'abiz') , - 'section' => 'header_image', - 'priority' => 1, - )); - - // Enable / Disable - $wp_customize->add_setting('enable_page_header', array( - 'default' => abiz_get_default_option( 'enable_page_header' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_page_header', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'header_image', - 'priority' => 2, - - ))); - - // Image Opacity // - $wp_customize->add_setting('page_header_img_opacity', array( - 'default' => abiz_get_default_option( 'page_header_img_opacity' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'priority' => 11, - )); - $wp_customize->add_control('page_header_img_opacity', array( - 'label' => __('Opacity', 'abiz') , - 'section' => 'header_image', - 'type' => 'number', - )); - - $wp_customize->add_setting('page_header_bg_color', array( - 'default' => abiz_get_default_option( 'page_header_bg_color' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'sanitize_hex_color', - 'priority' => 12, - )); - - $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'page_header_bg_color', array( - 'label' => __('Overlay Color', 'abiz') , - 'section' => 'header_image', - ))); - - /*========================================= - Blog - =========================================*/ - // Head // - $wp_customize->add_setting('blog_general_head', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - 'priority' => 1, - )); - - $wp_customize->add_control('blog_general_head', array( - 'type' => 'hidden', - 'label' => __('Blog/Archive/Single', 'abiz') , - 'section' => 'blog_general', - )); - - $wp_customize->add_setting('blog_archive_ordering', array( - 'default' => abiz_get_default_option( 'blog_archive_ordering' ), - 'sanitize_callback' => 'abiz_sanitize_sortable', - 'priority' => 2, - )); - - $wp_customize->add_control(new Abiz_Control_Sortable($wp_customize, 'blog_archive_ordering', array( - 'label' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'abiz') , - 'section' => 'blog_general', - 'choices' => array( - 'title' => __('Title', 'abiz') , - 'meta' => __('Meta', 'abiz') , - 'content' => __('Content', 'abiz') , - ) , - ))); - - // Enable / Disable - $wp_customize->add_setting('enable_blog_excerpt', array( - 'default' => abiz_get_default_option( 'enable_blog_excerpt' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - 'priority' => 3, - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_blog_excerpt', array( - 'label' => __('Enable / Disable Blog Excerpt ?', 'abiz') , - 'section' => 'blog_general', - ))); - - // Excerpt Length - $wp_customize->add_setting('blog_excerpt_length', array( - 'default' => abiz_get_default_option( 'blog_excerpt_length' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'priority' => 3, - )); - - $wp_customize->add_control('blog_excerpt_length', array( - 'label' => __('Blog Excerpt Length', 'abiz') , - 'section' => 'blog_general', - 'type' => 'number', - )); - - // Excerpt Text // - $wp_customize->add_setting('blog_excerpt_after_text', array( - 'default' => abiz_get_default_option( 'blog_excerpt_after_text' ), - 'sanitize_callback' => 'abiz_sanitize_html', - 'capability' => 'edit_theme_options', - 'priority' => 3, - )); - - $wp_customize->add_control('blog_excerpt_after_text', array( - 'label' => __('Blog Excerpt Text', 'abiz') , - 'section' => 'blog_general', - 'type' => 'text' - )); - - // Enable / Disable - $wp_customize->add_setting('enable_blog_excerpt_btn', array( - 'default' => abiz_get_default_option( 'enable_blog_excerpt_btn' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - 'priority' => 3, - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_blog_excerpt_btn', array( - 'label' => __('Enable / Disable Blog Excerpt Button ?', 'abiz') , - 'section' => 'blog_general', - ))); - - // Button Label // - $wp_customize->add_setting('blog_excerpt_btn_label', array( - 'default' => abiz_get_default_option( 'blog_excerpt_btn_label' ), - 'sanitize_callback' => 'abiz_sanitize_html', - 'capability' => 'edit_theme_options', - 'priority' => 5, - )); - - $wp_customize->add_control('blog_excerpt_btn_label', array( - 'label' => __('Blog Excerpt Button Label', 'abiz') , - 'section' => 'blog_general', - 'type' => 'text' - )); - - - - /*========================================= - Footer - =========================================*/ - /*========================================= - Footer Top - =========================================*/ - // Head // - $wp_customize->add_setting('footer_top_heading', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - 'priority' => 1, - )); - - $wp_customize->add_control('footer_top_heading', array( - 'type' => 'hidden', - 'label' => __('Footer Top', 'abiz') , - 'section' => 'footer_section', - )); - - // Enable / Disable - $wp_customize->add_setting('enable_top_footer', array( - 'default' => abiz_get_default_option( 'enable_top_footer' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_checkbox', - 'priority' => 2, - )); - - $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_top_footer', array( - 'label' => __('Enable / Disable ?', 'abiz') , - 'section' => 'footer_section', - - ))); - - // Footer Top Info - $wp_customize->add_setting('footer_top_info', array( - 'sanitize_callback' => 'abiz_repeater_sanitize', - 'transport' => $selective_refresh, - 'priority' => 8, - 'default' => abiz_get_default_option( 'footer_top_info' ), - )); - - $wp_customize->add_control(new Abiz_Repeater($wp_customize, 'footer_top_info', array( - 'label' => esc_html__('Contact', 'abiz') , - 'section' => 'footer_section', - 'add_field_label' => esc_html__('Add New Contact', 'abiz') , - 'item_name' => esc_html__('Contact', 'abiz') , - 'customizer_repeater_icon_control' => true, - 'customizer_repeater_title_control' => true, - 'customizer_repeater_subtitle_control' => true, - 'customizer_repeater_link_control' => true, - ))); - - // Upgrade - if (class_exists('Daddy_Plus_Customize_Upgrade_Control')) - { - $wp_customize->add_setting('abiz_footer_top_info_upgrade',array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'sanitize_text_field', - 'priority' => 8 - )); - - $wp_customize->add_control(new Daddy_Plus_Customize_Upgrade_Control($wp_customize, - 'abiz_footer_top_info_upgrade', - array( - 'label' => __( 'Info', 'abiz' ), - 'section' => 'footer_section' - ) - ) - ); - } - - /*========================================= - Footer Copyright - =========================================*/ - // Head - $wp_customize->add_setting('footer_copy_settings', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text', - 'priority' => 12, - )); - - $wp_customize->add_control('footer_copy_settings', array( - 'type' => 'hidden', - 'label' => __('Footer Copyright', 'abiz') , - 'section' => 'footer_section', - )); - - // Footer Copyright - $wp_customize->add_setting('footer_copyright', array( - 'default' => abiz_get_default_option( 'footer_copyright' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'wp_kses_post', - 'priority' => 16, - )); - - $wp_customize->add_control('footer_copyright', array( - 'label' => __('Copyright', 'abiz') , - 'section' => 'footer_section', - 'type' => 'textarea', - 'transport' => $selective_refresh, - )); - - /*========================================= - Abiz Typography - =========================================*/ - // Head - $wp_customize->add_setting('abiz_body_font_family_settings', array( - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_text' - )); - - $wp_customize->add_control('abiz_body_font_family_settings', array( - 'type' => 'hidden', - 'label' => __('Body Typography Setting', 'abiz') , - 'section' => 'abiz_typography', - 'priority' => 1, - )); - - // Body Font Size // - $wp_customize->add_setting('abiz_body_font_size', array( - 'default' => abiz_get_default_option( 'abiz_body_font_size' ), - 'capability' => 'edit_theme_options', - 'sanitize_callback' => 'abiz_sanitize_html', - 'transport' => 'postMessage', - )); - - $wp_customize->add_control('abiz_body_font_size', array( - 'label' => __('Font Size', 'abiz') , - 'section' => 'abiz_typography', - 'type' => 'number', - 'priority' => 1, - )); - - // Body Font weight // - $wp_customize->add_setting('abiz_body_font_weight', array( - 'capability' => 'edit_theme_options', - 'default' => 'inherit', - 'transport' => 'postMessage', - 'sanitize_callback' => 'abiz_sanitize_select', - )); - - $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_font_weight', array( - 'label' => __('Weight', 'abiz') , - 'section' => 'abiz_typography', - 'type' => 'select', - 'priority' => 5, - 'choices' => array( - 'inherit' => __('Default', 'abiz') , - '100' => __('Thin: 100', 'abiz') , - '200' => __('Light: 200', 'abiz') , - '300' => __('Book: 300', 'abiz') , - '400' => __('Normal: 400', 'abiz') , - '500' => __('Medium: 500', 'abiz') , - '600' => __('Semibold: 600', 'abiz') , - '700' => __('Bold: 700', 'abiz') , - '800' => __('Extra Bold: 800', 'abiz') , - '900' => __('Black: 900', 'abiz') , - ) , - ))); - - // Body Font style // - $wp_customize->add_setting('abiz_body_font_style', array( - 'capability' => 'edit_theme_options', - 'default' => 'inherit', - 'transport' => 'postMessage', - 'sanitize_callback' => 'abiz_sanitize_select', - )); - - $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_font_style', array( - 'label' => __('Font Style', 'abiz') , - 'section' => 'abiz_typography', - 'type' => 'select', - 'priority' => 6, - 'choices' => array( - 'inherit' => __('Inherit', 'abiz') , - 'normal' => __('Normal', 'abiz') , - 'italic' => __('Italic', 'abiz') , - 'oblique' => __('oblique', 'abiz') , - ) , - ))); - // Body Text Transform // - $wp_customize->add_setting('abiz_body_text_transform', array( - 'capability' => 'edit_theme_options', - 'default' => 'inherit', - 'transport' => 'postMessage', - 'sanitize_callback' => 'abiz_sanitize_select', - )); - - $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_text_transform', array( - 'label' => __('Transform', 'abiz') , - 'section' => 'abiz_typography', - 'type' => 'select', - 'priority' => 7, - 'choices' => array( - 'inherit' => __('Default', 'abiz') , - 'uppercase' => __('Uppercase', 'abiz') , - 'lowercase' => __('Lowercase', 'abiz') , - 'capitalize' => __('Capitalize', 'abiz') , - ) , - ))); - - // Body Text Decoration // - $wp_customize->add_setting('abiz_body_txt_decoration', array( - 'capability' => 'edit_theme_options', - 'default' => 'inherit', - 'transport' => 'postMessage', - 'sanitize_callback' => 'abiz_sanitize_select', - )); - - $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_txt_decoration', array( - 'label' => __('Text Decoration', 'abiz') , - 'section' => 'abiz_typography', - 'type' => 'select', - 'priority' => 8, - 'choices' => array( - 'inherit' => __('Inherit', 'abiz') , - 'underline' => __('Underline', 'abiz') , - 'overline' => __('Overline', 'abiz') , - 'line-through' => __('Line Through', 'abiz') , - 'none' => __('None', 'abiz') , - ) , - ))); -} +selective_refresh) ? 'postMessage' : 'refresh'; + + /*========================================= + Site Identity + =========================================*/ + $wp_customize->add_setting('logo_size', array( + 'default' => abiz_get_default_option( 'logo_size' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => 'postMessage', + )); + + $wp_customize->add_control('logo_size', array( + 'label' => __('Logo Size', 'abiz') , + 'section' => 'title_tagline', + 'type' => 'number', + )); + + // Site Title// + $wp_customize->add_setting('site_ttl_font_size', array( + 'default' => abiz_get_default_option( 'site_ttl_font_size' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => 'postMessage', + )); + + $wp_customize->add_control('site_ttl_font_size', array( + 'label' => __('Site Title Font Size', 'abiz') , + 'section' => 'title_tagline', + 'type' => 'number', + )); + + // Site Description Font Size// + $wp_customize->add_setting('site_desc_font_size', array( + 'default' => abiz_get_default_option( 'site_desc_font_size' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => 'postMessage', + )); + + $wp_customize->add_control('site_desc_font_size', array( + 'label' => __('Site Description Font Size', 'abiz') , + 'section' => 'title_tagline', + 'type' => 'number', + )); + + + /*========================================= + Top Header Section + =========================================*/ + /*========================================= + Setting + =========================================*/ + $wp_customize->add_setting('top_hdr_set', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('top_hdr_set', array( + 'type' => 'hidden', + 'label' => __('Setting', 'abiz') , + 'section' => 'top_header', + 'priority' => 1, + )); + + // Enable / Disable + $wp_customize->add_setting('enable_top_hdr', array( + 'default' => abiz_get_default_option( 'enable_top_hdr' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_top_hdr', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_header', + 'priority' => 2, + + ))); + + /*========================================= + Info 1 + =========================================*/ + $wp_customize->add_setting('hdr_info1_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_info1_head', array( + 'type' => 'hidden', + 'label' => __('Info 1', 'abiz') , + 'section' => 'top_header', + 'priority' => 2, + )); + + // hide/show + $wp_customize->add_setting('enable_hdr_info1', array( + 'default' => abiz_get_default_option( 'enable_hdr_info1' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info1', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_header', + 'priority' => 2, + + ))); + + // icon // + $wp_customize->add_setting('hdr_info1_icon', array( + 'default' => abiz_get_default_option( 'hdr_info1_icon' ), + 'sanitize_callback' => 'sanitize_text_field', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('hdr_info1_icon', array( + 'label' => __('Icon', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 3, + )); + + // title // + $wp_customize->add_setting('hdr_info1_title', array( + 'default' => abiz_get_default_option( 'hdr_info1_title' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => $selective_refresh, + )); + + $wp_customize->add_control('hdr_info1_title', array( + 'label' => __('Title', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 3, + )); + + // Link // + $wp_customize->add_setting('hdr_info1_link', array( + 'default' => abiz_get_default_option( 'hdr_info1_link' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_url', + )); + + $wp_customize->add_control('hdr_info1_link', array( + 'label' => __('Link', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 3, + )); + + /*========================================= + Info 2 + =========================================*/ + $wp_customize->add_setting('hdr_info2_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_info2_head', array( + 'type' => 'hidden', + 'label' => __('Info 2', 'abiz') , + 'section' => 'top_header', + 'priority' => 4, + )); + + // hide/show + $wp_customize->add_setting('enable_hdr_info2', array( + 'default' => abiz_get_default_option( 'enable_hdr_info2' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info2', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_header', + 'priority' => 5, + + ))); + + // icon // + $wp_customize->add_setting('hdr_info2_icon', array( + 'default' => abiz_get_default_option( 'hdr_info2_icon' ), + 'sanitize_callback' => 'sanitize_text_field', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('hdr_info2_icon', array( + 'label' => __('Icon', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 6, + )); + + // title // + $wp_customize->add_setting('hdr_info2_title', array( + 'default' => abiz_get_default_option( 'hdr_info2_title' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => $selective_refresh, + )); + + $wp_customize->add_control('hdr_info2_title', array( + 'label' => __('Title', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 7, + )); + + // Link // + $wp_customize->add_setting('hdr_info2_link', array( + 'default' => abiz_get_default_option( 'hdr_info2_link' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_url', + )); + + $wp_customize->add_control('hdr_info2_link', array( + 'label' => __('Link', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 8, + )); + + /*========================================= + Info 3 + =========================================*/ + $wp_customize->add_setting('hdr_info3_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_info3_head', array( + 'type' => 'hidden', + 'label' => __('Info 3', 'abiz') , + 'section' => 'top_header', + 'priority' => 9, + )); + + // hide/show + $wp_customize->add_setting('enable_hdr_info3', array( + 'default' => abiz_get_default_option( 'enable_hdr_info3' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_info3', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_header', + 'priority' => 10, + + ))); + + // icon // + $wp_customize->add_setting('hdr_info3_icon', array( + 'default' => abiz_get_default_option( 'hdr_info3_icon' ), + 'sanitize_callback' => 'sanitize_text_field', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('hdr_info3_icon', array( + 'label' => __('Icon', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 11, + )); + + + // title // + $wp_customize->add_setting('hdr_info3_title', array( + 'default' => abiz_get_default_option( 'hdr_info3_title' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => $selective_refresh, + )); + + $wp_customize->add_control('hdr_info3_title', array( + 'label' => __('Title', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 12, + )); + + // Link // + $wp_customize->add_setting('hdr_info3_link', array( + 'default' => abiz_get_default_option( 'hdr_info3_link' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_url', + )); + + $wp_customize->add_control('hdr_info3_link', array( + 'label' => __('Link', 'abiz') , + 'section' => 'top_header', + 'type' => 'text', + 'priority' => 13, + )); + + /*========================================= + Social + =========================================*/ + $wp_customize->add_setting('hdr_social_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_social_head', array( + 'type' => 'hidden', + 'label' => __('Social Icon', 'abiz') , + 'section' => 'top_header', + 'priority' => 15, + )); + + $wp_customize->add_setting('enable_social_icon', array( + 'default' => abiz_get_default_option( 'enable_social_icon' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_social_icon', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_header', + 'priority' => 16, + + ))); + + /** + * Customizer Repeater + */ + $wp_customize->add_setting('hdr_social_icons', array( + 'default' => abiz_get_default_option( 'hdr_social_icons' ), + 'sanitize_callback' => 'abiz_repeater_sanitize', + )); + + $wp_customize->add_control(new ABIZ_Repeater($wp_customize, 'hdr_social_icons', array( + 'label' => esc_html__('Social Icons', 'abiz') , + 'priority' => 17, + 'section' => 'top_header', + 'customizer_repeater_icon_control' => true, + 'customizer_repeater_link_control' => true, + ))); + + // Upgrade + if (class_exists('Daddy_Plus_Customize_Upgrade_Control')) + { + $wp_customize->add_setting('abiz_social_icon_upgrade',array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'sanitize_text_field', + )); + + $wp_customize->add_control(new Daddy_Plus_Customize_Upgrade_Control($wp_customize, + 'abiz_social_icon_upgrade', + array( + 'label' => __( 'Social Icons', 'abiz' ), + 'section' => 'top_header', + 'priority' => 17, + ) + ) + ); + } + /*========================================= + Header Navigation + =========================================*/ + // Cart + $wp_customize->add_setting('hdr_nav_cart', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_nav_cart', array( + 'type' => 'hidden', + 'label' => __('Cart', 'abiz') , + 'section' => 'header_nav', + 'priority' => 2, + )); + + // hide/show + $wp_customize->add_setting('enable_cart', array( + 'default' => abiz_get_default_option( 'enable_cart' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_cart', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 2, + + ))); + + // Account + $wp_customize->add_setting('hdr_nav_account', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_nav_account', array( + 'type' => 'hidden', + 'label' => __('Account', 'abiz') , + 'section' => 'header_nav', + 'priority' => 3, + )); + + // hide/show + $wp_customize->add_setting('enable_account', array( + 'default' => abiz_get_default_option( 'enable_account' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_account', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 3, + + ))); + + // Search + $wp_customize->add_setting('hdr_nav_search_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('hdr_nav_search_head', array( + 'type' => 'hidden', + 'label' => __('Search', 'abiz') , + 'section' => 'header_nav', + 'priority' => 3, + )); + + // hide/show + $wp_customize->add_setting('enable_nav_search', array( + 'default' => abiz_get_default_option( 'enable_nav_search' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_nav_search', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 3, + + ))); + + // Header Button + $wp_customize->add_setting('abv_hdr_btn_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('abv_hdr_btn_head', array( + 'type' => 'hidden', + 'label' => __('Button', 'abiz') , + 'section' => 'header_nav', + 'priority' => 18, + )); + + $wp_customize->add_setting('enable_hdr_btn', array( + 'default' => abiz_get_default_option( 'enable_hdr_btn' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_btn', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 19, + + ))); + + // Button Label // + $wp_customize->add_setting('hdr_btn_label', array( + 'default' => abiz_get_default_option( 'hdr_btn_label' ), + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => $selective_refresh, + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('hdr_btn_label', array( + 'label' => __('Label', 'abiz') , + 'section' => 'header_nav', + 'type' => 'text', + 'priority' => 21, + )); + + // Button URL // + $wp_customize->add_setting('hdr_btn_link', array( + 'default' => abiz_get_default_option( 'hdr_btn_link' ), + 'sanitize_callback' => 'abiz_sanitize_url', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('hdr_btn_link', array( + 'label' => __('Link', 'abiz') , + 'section' => 'header_nav', + 'type' => 'text', + 'priority' => 22, + )); + + $wp_customize->add_setting('hdr_btn_target', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'hdr_btn_target', array( + 'label' => __('Open in New Tab ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 23, + + ))); + + /*========================================= + Sticky Header + =========================================*/ + // Heading + $wp_customize->add_setting('sticky_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text' + )); + + $wp_customize->add_control('sticky_head', array( + 'type' => 'hidden', + 'label' => __('Sticky Header', 'abiz') , + 'section' => 'header_nav', + 'priority' => 23, + )); + $wp_customize->add_setting('enable_hdr_sticky', array( + 'default' => abiz_get_default_option( 'enable_hdr_sticky' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_hdr_sticky', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_nav', + 'priority' => 24, + + ))); + + /*========================================= + Scroller + =========================================*/ + // Head + $wp_customize->add_setting('top_scroller_settings', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text' + )); + + $wp_customize->add_control('top_scroller_settings', array( + 'type' => 'hidden', + 'label' => __('Top Scroller Setting', 'abiz') , + 'section' => 'top_scroller' + )); + + $wp_customize->add_setting('enable_scroller', array( + 'default' => abiz_get_default_option( 'enable_scroller' ), + 'sanitize_callback' => 'abiz_sanitize_checkbox', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_scroller', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'top_scroller' + + ))); + + // Scroller icon // + $wp_customize->add_setting('top_scroller_icon', array( + 'default' => abiz_get_default_option( 'top_scroller_icon' ), + 'sanitize_callback' => 'sanitize_text_field', + 'capability' => 'edit_theme_options', + )); + + $wp_customize->add_control('top_scroller_icon', array( + 'label' => __('Scroller Icon', 'abiz') , + 'section' => 'top_scroller', + 'type' => 'text' + )); + + /*========================================= + Page Header + =========================================*/ + // Heading + $wp_customize->add_setting('header_image_set', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + )); + + $wp_customize->add_control('header_image_set', array( + 'type' => 'hidden', + 'label' => __('Page Header', 'abiz') , + 'section' => 'header_image', + 'priority' => 1, + )); + + // Enable / Disable + $wp_customize->add_setting('enable_page_header', array( + 'default' => abiz_get_default_option( 'enable_page_header' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_page_header', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'header_image', + 'priority' => 2, + + ))); + + // Image Opacity // + $wp_customize->add_setting('page_header_img_opacity', array( + 'default' => abiz_get_default_option( 'page_header_img_opacity' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'priority' => 11, + )); + $wp_customize->add_control('page_header_img_opacity', array( + 'label' => __('Opacity', 'abiz') , + 'section' => 'header_image', + 'type' => 'number', + )); + + $wp_customize->add_setting('page_header_bg_color', array( + 'default' => abiz_get_default_option( 'page_header_bg_color' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'sanitize_hex_color', + 'priority' => 12, + )); + + $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'page_header_bg_color', array( + 'label' => __('Overlay Color', 'abiz') , + 'section' => 'header_image', + ))); + + /*========================================= + Blog + =========================================*/ + // Head // + $wp_customize->add_setting('blog_general_head', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + 'priority' => 1, + )); + + $wp_customize->add_control('blog_general_head', array( + 'type' => 'hidden', + 'label' => __('Blog/Archive/Single', 'abiz') , + 'section' => 'blog_general', + )); + + $wp_customize->add_setting('blog_archive_ordering', array( + 'default' => abiz_get_default_option( 'blog_archive_ordering' ), + 'sanitize_callback' => 'abiz_sanitize_sortable', + 'priority' => 2, + )); + + $wp_customize->add_control(new Abiz_Control_Sortable($wp_customize, 'blog_archive_ordering', array( + 'label' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'abiz') , + 'section' => 'blog_general', + 'choices' => array( + 'title' => __('Title', 'abiz') , + 'meta' => __('Meta', 'abiz') , + 'content' => __('Content', 'abiz') , + ) , + ))); + + // Enable / Disable + $wp_customize->add_setting('enable_blog_excerpt', array( + 'default' => abiz_get_default_option( 'enable_blog_excerpt' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + 'priority' => 3, + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_blog_excerpt', array( + 'label' => __('Enable / Disable Blog Excerpt ?', 'abiz') , + 'section' => 'blog_general', + ))); + + // Excerpt Length + $wp_customize->add_setting('blog_excerpt_length', array( + 'default' => abiz_get_default_option( 'blog_excerpt_length' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'priority' => 3, + )); + + $wp_customize->add_control('blog_excerpt_length', array( + 'label' => __('Blog Excerpt Length', 'abiz') , + 'section' => 'blog_general', + 'type' => 'number', + )); + + // Excerpt Text // + $wp_customize->add_setting('blog_excerpt_after_text', array( + 'default' => abiz_get_default_option( 'blog_excerpt_after_text' ), + 'sanitize_callback' => 'abiz_sanitize_html', + 'capability' => 'edit_theme_options', + 'priority' => 3, + )); + + $wp_customize->add_control('blog_excerpt_after_text', array( + 'label' => __('Blog Excerpt Text', 'abiz') , + 'section' => 'blog_general', + 'type' => 'text' + )); + + // Enable / Disable + $wp_customize->add_setting('enable_blog_excerpt_btn', array( + 'default' => abiz_get_default_option( 'enable_blog_excerpt_btn' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + 'priority' => 3, + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_blog_excerpt_btn', array( + 'label' => __('Enable / Disable Blog Excerpt Button ?', 'abiz') , + 'section' => 'blog_general', + ))); + + // Button Label // + $wp_customize->add_setting('blog_excerpt_btn_label', array( + 'default' => abiz_get_default_option( 'blog_excerpt_btn_label' ), + 'sanitize_callback' => 'abiz_sanitize_html', + 'capability' => 'edit_theme_options', + 'priority' => 5, + )); + + $wp_customize->add_control('blog_excerpt_btn_label', array( + 'label' => __('Blog Excerpt Button Label', 'abiz') , + 'section' => 'blog_general', + 'type' => 'text' + )); + + + + /*========================================= + Footer + =========================================*/ + /*========================================= + Footer Top + =========================================*/ + // Head // + $wp_customize->add_setting('footer_top_heading', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + 'priority' => 1, + )); + + $wp_customize->add_control('footer_top_heading', array( + 'type' => 'hidden', + 'label' => __('Footer Top', 'abiz') , + 'section' => 'footer_section', + )); + + // Enable / Disable + $wp_customize->add_setting('enable_top_footer', array( + 'default' => abiz_get_default_option( 'enable_top_footer' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_checkbox', + 'priority' => 2, + )); + + $wp_customize->add_control(new Abiz_Customize_Toggle_Control($wp_customize, 'enable_top_footer', array( + 'label' => __('Enable / Disable ?', 'abiz') , + 'section' => 'footer_section', + + ))); + + // Footer Top Info + $wp_customize->add_setting('footer_top_info', array( + 'sanitize_callback' => 'abiz_repeater_sanitize', + 'transport' => $selective_refresh, + 'priority' => 8, + 'default' => abiz_get_default_option( 'footer_top_info' ), + )); + + $wp_customize->add_control(new Abiz_Repeater($wp_customize, 'footer_top_info', array( + 'label' => esc_html__('Contact', 'abiz') , + 'section' => 'footer_section', + 'add_field_label' => esc_html__('Add New Contact', 'abiz') , + 'item_name' => esc_html__('Contact', 'abiz') , + 'customizer_repeater_icon_control' => true, + 'customizer_repeater_title_control' => true, + 'customizer_repeater_subtitle_control' => true, + 'customizer_repeater_link_control' => true, + ))); + + // Upgrade + if (class_exists('Daddy_Plus_Customize_Upgrade_Control')) + { + $wp_customize->add_setting('abiz_footer_top_info_upgrade',array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'sanitize_text_field', + 'priority' => 8 + )); + + $wp_customize->add_control(new Daddy_Plus_Customize_Upgrade_Control($wp_customize, + 'abiz_footer_top_info_upgrade', + array( + 'label' => __( 'Info', 'abiz' ), + 'section' => 'footer_section' + ) + ) + ); + } + + /*========================================= + Footer Copyright + =========================================*/ + // Head + $wp_customize->add_setting('footer_copy_settings', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text', + 'priority' => 12, + )); + + $wp_customize->add_control('footer_copy_settings', array( + 'type' => 'hidden', + 'label' => __('Footer Copyright', 'abiz') , + 'section' => 'footer_section', + )); + + // Footer Copyright + $wp_customize->add_setting('footer_copyright', array( + 'default' => abiz_get_default_option( 'footer_copyright' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'wp_kses_post', + 'priority' => 16, + )); + + $wp_customize->add_control('footer_copyright', array( + 'label' => __('Copyright', 'abiz') , + 'section' => 'footer_section', + 'type' => 'textarea', + 'transport' => $selective_refresh, + )); + + /*========================================= + Abiz Typography + =========================================*/ + // Head + $wp_customize->add_setting('abiz_body_font_family_settings', array( + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_text' + )); + + $wp_customize->add_control('abiz_body_font_family_settings', array( + 'type' => 'hidden', + 'label' => __('Body Typography Setting', 'abiz') , + 'section' => 'abiz_typography', + 'priority' => 1, + )); + + // Body Font Size // + $wp_customize->add_setting('abiz_body_font_size', array( + 'default' => abiz_get_default_option( 'abiz_body_font_size' ), + 'capability' => 'edit_theme_options', + 'sanitize_callback' => 'abiz_sanitize_html', + 'transport' => 'postMessage', + )); + + $wp_customize->add_control('abiz_body_font_size', array( + 'label' => __('Font Size', 'abiz') , + 'section' => 'abiz_typography', + 'type' => 'number', + 'priority' => 1, + )); + + // Body Font weight // + $wp_customize->add_setting('abiz_body_font_weight', array( + 'capability' => 'edit_theme_options', + 'default' => 'inherit', + 'transport' => 'postMessage', + 'sanitize_callback' => 'abiz_sanitize_select', + )); + + $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_font_weight', array( + 'label' => __('Weight', 'abiz') , + 'section' => 'abiz_typography', + 'type' => 'select', + 'priority' => 5, + 'choices' => array( + 'inherit' => __('Default', 'abiz') , + '100' => __('Thin: 100', 'abiz') , + '200' => __('Light: 200', 'abiz') , + '300' => __('Book: 300', 'abiz') , + '400' => __('Normal: 400', 'abiz') , + '500' => __('Medium: 500', 'abiz') , + '600' => __('Semibold: 600', 'abiz') , + '700' => __('Bold: 700', 'abiz') , + '800' => __('Extra Bold: 800', 'abiz') , + '900' => __('Black: 900', 'abiz') , + ) , + ))); + + // Body Font style // + $wp_customize->add_setting('abiz_body_font_style', array( + 'capability' => 'edit_theme_options', + 'default' => 'inherit', + 'transport' => 'postMessage', + 'sanitize_callback' => 'abiz_sanitize_select', + )); + + $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_font_style', array( + 'label' => __('Font Style', 'abiz') , + 'section' => 'abiz_typography', + 'type' => 'select', + 'priority' => 6, + 'choices' => array( + 'inherit' => __('Inherit', 'abiz') , + 'normal' => __('Normal', 'abiz') , + 'italic' => __('Italic', 'abiz') , + 'oblique' => __('oblique', 'abiz') , + ) , + ))); + // Body Text Transform // + $wp_customize->add_setting('abiz_body_text_transform', array( + 'capability' => 'edit_theme_options', + 'default' => 'inherit', + 'transport' => 'postMessage', + 'sanitize_callback' => 'abiz_sanitize_select', + )); + + $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_text_transform', array( + 'label' => __('Transform', 'abiz') , + 'section' => 'abiz_typography', + 'type' => 'select', + 'priority' => 7, + 'choices' => array( + 'inherit' => __('Default', 'abiz') , + 'uppercase' => __('Uppercase', 'abiz') , + 'lowercase' => __('Lowercase', 'abiz') , + 'capitalize' => __('Capitalize', 'abiz') , + ) , + ))); + + // Body Text Decoration // + $wp_customize->add_setting('abiz_body_txt_decoration', array( + 'capability' => 'edit_theme_options', + 'default' => 'inherit', + 'transport' => 'postMessage', + 'sanitize_callback' => 'abiz_sanitize_select', + )); + + $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'abiz_body_txt_decoration', array( + 'label' => __('Text Decoration', 'abiz') , + 'section' => 'abiz_typography', + 'type' => 'select', + 'priority' => 8, + 'choices' => array( + 'inherit' => __('Inherit', 'abiz') , + 'underline' => __('Underline', 'abiz') , + 'overline' => __('Overline', 'abiz') , + 'line-through' => __('Line Through', 'abiz') , + 'none' => __('None', 'abiz') , + ) , + ))); +} add_action('customize_register', 'abiz_general_customize'); \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/abiz-panels-and-sections.php b/gk-assets/themes/abiz/core/customizer/abiz-panels-and-sections.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/abiz-panels-and-sections.php rename to gk-assets/themes/abiz/core/customizer/abiz-panels-and-sections.php diff --git a/wp-content/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php b/gk-assets/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php similarity index 96% rename from wp-content/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php rename to gk-assets/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php index d2b779a..5246497 100644 --- a/wp-content/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php +++ b/gk-assets/themes/abiz/core/customizer/abiz-selective-refresh-and-partial.php @@ -1,70 +1,70 @@ -selective_refresh->add_partial( 'hdr_info1_title', array( - 'selector' => '.above-header .info1 h6', - 'settings' => 'hdr_info1_title', - 'render_callback' => 'abiz_hdr_info1_title_render_callback', - ) ); - - // hdr_info2_title - $wp_customize->selective_refresh->add_partial( 'hdr_info2_title', array( - 'selector' => '.main-header .info2 h6', - 'settings' => 'hdr_info2_title', - 'render_callback' => 'abiz_hdr_info2_title_render_callback', - ) ); - - // hdr_info3_title - $wp_customize->selective_refresh->add_partial( 'hdr_info3_title', array( - 'selector' => '.main-header .info3 h6', - 'settings' => 'hdr_info3_title', - 'render_callback' => 'abiz_hdr_info3_title_render_callback', - ) ); - - // hdr_btn_label - $wp_customize->selective_refresh->add_partial( 'hdr_btn_label', array( - 'selector' => '.main-navigation .button-area a', - 'settings' => 'hdr_btn_label', - 'render_callback' => 'abiz_hdr_btn_label_render_callback', - ) ); - - // footer_top_info - $wp_customize->selective_refresh->add_partial( 'footer_top_info', array( - 'selector' => '.footer-top .row' - ) ); - - // footer_copyright - $wp_customize->selective_refresh->add_partial( 'footer_copyright', array( - 'selector' => '.footer-copyright .copyright-text', - 'settings' => 'footer_copyright', - 'render_callback' => 'abiz_footer_copyright_render_callback', - ) ); -} -add_action( 'customize_register', 'abiz_selective_refresh' ); - - - -// hdr_info1_title -function abiz_hdr_info1_title_render_callback() { - return get_theme_mod( 'hdr_info1_title' ); -} - -// hdr_info2_title -function abiz_hdr_info2_title_render_callback() { - return get_theme_mod( 'hdr_info2_title' ); -} - -// hdr_info3_title -function abiz_hdr_info3_title_render_callback() { - return get_theme_mod( 'hdr_info3_title' ); -} - -// hdr_btn_label -function abiz_hdr_btn_label_render_callback() { - return get_theme_mod( 'hdr_btn_label' ); -} - -// footer_copyright -function abiz_footer_copyright_render_callback() { - return get_theme_mod( 'footer_copyright' ); +selective_refresh->add_partial( 'hdr_info1_title', array( + 'selector' => '.above-header .info1 h6', + 'settings' => 'hdr_info1_title', + 'render_callback' => 'abiz_hdr_info1_title_render_callback', + ) ); + + // hdr_info2_title + $wp_customize->selective_refresh->add_partial( 'hdr_info2_title', array( + 'selector' => '.main-header .info2 h6', + 'settings' => 'hdr_info2_title', + 'render_callback' => 'abiz_hdr_info2_title_render_callback', + ) ); + + // hdr_info3_title + $wp_customize->selective_refresh->add_partial( 'hdr_info3_title', array( + 'selector' => '.main-header .info3 h6', + 'settings' => 'hdr_info3_title', + 'render_callback' => 'abiz_hdr_info3_title_render_callback', + ) ); + + // hdr_btn_label + $wp_customize->selective_refresh->add_partial( 'hdr_btn_label', array( + 'selector' => '.main-navigation .button-area a', + 'settings' => 'hdr_btn_label', + 'render_callback' => 'abiz_hdr_btn_label_render_callback', + ) ); + + // footer_top_info + $wp_customize->selective_refresh->add_partial( 'footer_top_info', array( + 'selector' => '.footer-top .row' + ) ); + + // footer_copyright + $wp_customize->selective_refresh->add_partial( 'footer_copyright', array( + 'selector' => '.footer-copyright .copyright-text', + 'settings' => 'footer_copyright', + 'render_callback' => 'abiz_footer_copyright_render_callback', + ) ); +} +add_action( 'customize_register', 'abiz_selective_refresh' ); + + + +// hdr_info1_title +function abiz_hdr_info1_title_render_callback() { + return get_theme_mod( 'hdr_info1_title' ); +} + +// hdr_info2_title +function abiz_hdr_info2_title_render_callback() { + return get_theme_mod( 'hdr_info2_title' ); +} + +// hdr_info3_title +function abiz_hdr_info3_title_render_callback() { + return get_theme_mod( 'hdr_info3_title' ); +} + +// hdr_btn_label +function abiz_hdr_btn_label_render_callback() { + return get_theme_mod( 'hdr_btn_label' ); +} + +// footer_copyright +function abiz_footer_copyright_render_callback() { + return get_theme_mod( 'footer_copyright' ); } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/assets/css/admin.css b/gk-assets/themes/abiz/core/customizer/assets/css/admin.css similarity index 100% rename from wp-content/themes/abiz/core/customizer/assets/css/admin.css rename to gk-assets/themes/abiz/core/customizer/assets/css/admin.css diff --git a/wp-content/themes/abiz/core/customizer/assets/css/controls.css b/gk-assets/themes/abiz/core/customizer/assets/css/controls.css similarity index 100% rename from wp-content/themes/abiz/core/customizer/assets/css/controls.css rename to gk-assets/themes/abiz/core/customizer/assets/css/controls.css diff --git a/wp-content/themes/abiz/core/customizer/assets/js/admin-script.js b/gk-assets/themes/abiz/core/customizer/assets/js/admin-script.js similarity index 97% rename from wp-content/themes/abiz/core/customizer/assets/js/admin-script.js rename to gk-assets/themes/abiz/core/customizer/assets/js/admin-script.js index 9764db2..943a23c 100644 --- a/wp-content/themes/abiz/core/customizer/assets/js/admin-script.js +++ b/gk-assets/themes/abiz/core/customizer/assets/js/admin-script.js @@ -1,26 +1,26 @@ -( function( $ ){ - $( document ).ready( function(){ - $( '.abiz-btn-get-started' ).on( 'click', function( e ) { - e.preventDefault(); - $( this ).html( 'Processing.. Please wait' ).addClass( 'updating-message' ); - $.post( abiz_ajax_object.ajax_url, { 'action' : 'install_act_plugin' }, function( response ){ - location.href = 'customize.php'; - } ); - } ); - } ); - - $( document ).on( 'click', '.notice-get-started-class .notice-dismiss', function () { - // Read the "data-notice" information to track which notice - // is being dismissed and send it via AJAX - var type = $( this ).closest( '.notice-get-started-class' ).data( 'notice' ); - // Make an AJAX call - $.ajax( ajaxurl, - { - type: 'POST', - data: { - action: 'abiz_dismissed_notice_handler', - type: type, - } - } ); - } ); -}( jQuery ) ) +( function( $ ){ + $( document ).ready( function(){ + $( '.abiz-btn-get-started' ).on( 'click', function( e ) { + e.preventDefault(); + $( this ).html( 'Processing.. Please wait' ).addClass( 'updating-message' ); + $.post( abiz_ajax_object.ajax_url, { 'action' : 'install_act_plugin' }, function( response ){ + location.href = 'customize.php'; + } ); + } ); + } ); + + $( document ).on( 'click', '.notice-get-started-class .notice-dismiss', function () { + // Read the "data-notice" information to track which notice + // is being dismissed and send it via AJAX + var type = $( this ).closest( '.notice-get-started-class' ).data( 'notice' ); + // Make an AJAX call + $.ajax( ajaxurl, + { + type: 'POST', + data: { + action: 'abiz_dismissed_notice_handler', + type: type, + } + } ); + } ); +}( jQuery ) ) diff --git a/wp-content/themes/abiz/core/customizer/assets/js/controls.js b/gk-assets/themes/abiz/core/customizer/assets/js/controls.js similarity index 95% rename from wp-content/themes/abiz/core/customizer/assets/js/controls.js rename to gk-assets/themes/abiz/core/customizer/assets/js/controls.js index 3557d25..acea073 100644 --- a/wp-content/themes/abiz/core/customizer/assets/js/controls.js +++ b/gk-assets/themes/abiz/core/customizer/assets/js/controls.js @@ -1,86 +1,86 @@ -/** - * sortable - */ -wp.customize.controlConstructor['abiz-sortable'] = wp.customize.Control.extend({ - - ready: function() { - - 'use strict'; - - var control = this; - - // Set the sortable container. - control.sortableContainer = control.container.find( 'ul.sortable' ).first(); - - // Init sortable. - control.sortableContainer.sortable({ - - // Update value when we stop sorting. - stop: function() { - control.updateValue(); - } - }).disableSelection().find( 'li' ).each( function() { - - // Enable/disable options when we click on the eye of Thundera. - jQuery( this ).find( 'i.visibility' ).click( function() { - jQuery( this ).toggleClass( 'dashicons-visibility-faint' ).parents( 'li:eq(0)' ).toggleClass( 'invisible' ); - }); - }).click( function() { - - // Update value on click. - control.updateValue(); - }); - }, - - /** - * Updates the sorting list - */ - updateValue: function() { - - 'use strict'; - - var control = this, - newValue = []; - - this.sortableContainer.find( 'li' ).each( function() { - if ( ! jQuery( this ).is( '.invisible' ) ) { - newValue.push( jQuery( this ).data( 'value' ) ); - } - }); - - control.setting.set( newValue ); - } -}); - -/** - * Control: Toggle. - */ -wp.customize.controlConstructor['abiz-toggle'] = wp.customize.Control.extend( { - // When we're finished loading continue processing - ready: function () { - 'use strict'; - - var control = this; - - // Init the control. - if ( - !_.isUndefined( window.abizControlLoader ) && - _.isFunction( abizControlLoader ) - ) { - abizControlLoader( control ); - } else { - control.initAbizControl(); - } - }, - - initAbizControl: function () { - var control = this, - checkboxValue = control.setting._value; - - // Save the value - this.container.on( 'change', 'input', function () { - checkboxValue = jQuery( this ).is( ':checked' ) ? true : false; - control.setting.set( checkboxValue ); - } ); - } +/** + * sortable + */ +wp.customize.controlConstructor['abiz-sortable'] = wp.customize.Control.extend({ + + ready: function() { + + 'use strict'; + + var control = this; + + // Set the sortable container. + control.sortableContainer = control.container.find( 'ul.sortable' ).first(); + + // Init sortable. + control.sortableContainer.sortable({ + + // Update value when we stop sorting. + stop: function() { + control.updateValue(); + } + }).disableSelection().find( 'li' ).each( function() { + + // Enable/disable options when we click on the eye of Thundera. + jQuery( this ).find( 'i.visibility' ).click( function() { + jQuery( this ).toggleClass( 'dashicons-visibility-faint' ).parents( 'li:eq(0)' ).toggleClass( 'invisible' ); + }); + }).click( function() { + + // Update value on click. + control.updateValue(); + }); + }, + + /** + * Updates the sorting list + */ + updateValue: function() { + + 'use strict'; + + var control = this, + newValue = []; + + this.sortableContainer.find( 'li' ).each( function() { + if ( ! jQuery( this ).is( '.invisible' ) ) { + newValue.push( jQuery( this ).data( 'value' ) ); + } + }); + + control.setting.set( newValue ); + } +}); + +/** + * Control: Toggle. + */ +wp.customize.controlConstructor['abiz-toggle'] = wp.customize.Control.extend( { + // When we're finished loading continue processing + ready: function () { + 'use strict'; + + var control = this; + + // Init the control. + if ( + !_.isUndefined( window.abizControlLoader ) && + _.isFunction( abizControlLoader ) + ) { + abizControlLoader( control ); + } else { + control.initAbizControl(); + } + }, + + initAbizControl: function () { + var control = this, + checkboxValue = control.setting._value; + + // Save the value + this.container.on( 'change', 'input', function () { + checkboxValue = jQuery( this ).is( ':checked' ) ? true : false; + control.setting.set( checkboxValue ); + } ); + } } ); \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/assets/js/customizer-section.js b/gk-assets/themes/abiz/core/customizer/assets/js/customizer-section.js similarity index 97% rename from wp-content/themes/abiz/core/customizer/assets/js/customizer-section.js rename to gk-assets/themes/abiz/core/customizer/assets/js/customizer-section.js index dfbfb85..454b227 100644 --- a/wp-content/themes/abiz/core/customizer/assets/js/customizer-section.js +++ b/gk-assets/themes/abiz/core/customizer/assets/js/customizer-section.js @@ -1,38 +1,38 @@ -function abizshomesettingsscroll(section_id) { - var scroll_section_id = "slider-section"; - - var $contents = jQuery('#customize-preview iframe').contents(); - - switch (section_id) { - case 'accordion-section-info_section_set': - scroll_section_id = "info-section"; - break; - - case 'accordion-section-service_section_set': - scroll_section_id = "service-section"; - break; - - case 'accordion-section-marquee_section_set': - scroll_section_id = "abiz-marquee-section"; - break; - - case 'accordion-section-features2_section_set': - scroll_section_id = "abiz-features-section-2"; - break; - - case 'accordion-section-blog_section_set': - scroll_section_id = "abiz-blog-section"; - break; - } - - if ($contents.find('#' + scroll_section_id).length > 0) { - $contents.find("html, body").animate({ - scrollTop: $contents.find("#" + scroll_section_id).offset().top - }, 1000); - } -} - -jQuery('body').on('click', '#sub-accordion-panel-abiz_frontpage_sections .control-subsection .accordion-section-title', function(event) { - var section_id = jQuery(this).parent('.control-subsection').attr('id'); - abizshomesettingsscroll(section_id); +function abizshomesettingsscroll(section_id) { + var scroll_section_id = "slider-section"; + + var $contents = jQuery('#customize-preview iframe').contents(); + + switch (section_id) { + case 'accordion-section-info_section_set': + scroll_section_id = "info-section"; + break; + + case 'accordion-section-service_section_set': + scroll_section_id = "service-section"; + break; + + case 'accordion-section-marquee_section_set': + scroll_section_id = "abiz-marquee-section"; + break; + + case 'accordion-section-features2_section_set': + scroll_section_id = "abiz-features-section-2"; + break; + + case 'accordion-section-blog_section_set': + scroll_section_id = "abiz-blog-section"; + break; + } + + if ($contents.find('#' + scroll_section_id).length > 0) { + $contents.find("html, body").animate({ + scrollTop: $contents.find("#" + scroll_section_id).offset().top + }, 1000); + } +} + +jQuery('body').on('click', '#sub-accordion-panel-abiz_frontpage_sections .control-subsection .accordion-section-title', function(event) { + var section_id = jQuery(this).parent('.control-subsection').attr('id'); + abizshomesettingsscroll(section_id); }); \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/assets/js/customizer.js b/gk-assets/themes/abiz/core/customizer/assets/js/customizer.js similarity index 96% rename from wp-content/themes/abiz/core/customizer/assets/js/customizer.js rename to gk-assets/themes/abiz/core/customizer/assets/js/customizer.js index 180707f..1423c71 100644 --- a/wp-content/themes/abiz/core/customizer/assets/js/customizer.js +++ b/gk-assets/themes/abiz/core/customizer/assets/js/customizer.js @@ -1,259 +1,259 @@ -/** - * Contains handlers to make Theme Customizer preview reload changes asynchronously. - */ -(function($) { - // Site title and description. - wp.customize('blogname', function(value) { - value.bind(function(to) { - $('.site-title').text(to); - }); - }); - wp.customize('blogdescription', function(value) { - value.bind(function(to) { - $('.site-description').text(to); - }); - }); - - // Header text color. - wp.customize('header_textcolor', function(value) { - value.bind(function(to) { - if ('blank' === to) { - $('.site-title, .site-description').css({ - 'clip': 'rect(1px, 1px, 1px, 1px)', - 'position': 'absolute' - }); - } else { - $('.site-title, .site-description').css({ - 'clip': 'auto', - 'position': 'relative' - }); - $('.site-title, .site-description').css({ - 'color': to - }); - } - }); - }); - - $(document).ready(function($) { - $('input[data-input-type]').on('input change', function() { - var val = $(this).val(); - $(this).prev('.cs-range-value').html(val); - $(this).val(val); - }); - }) - - - // logo_size - wp.customize('logo_size', function(value) { - value.bind(function(logo_size) { - jQuery('.logo img, .mobile-logo img').css('max-width', logo_size + 'px'); - }); - }); - - // site_ttl_font_size - wp.customize('site_ttl_font_size', function(value) { - value.bind(function(site_ttl_font_size) { - jQuery('h4.site-title').css('font-size', site_ttl_font_size + 'px'); - }); - }); - - // site_desc_font_size - wp.customize('site_desc_font_size', function(value) { - value.bind(function(site_desc_font_size) { - jQuery('.site-description').css('font-size', site_desc_font_size + 'px'); - }); - }); - - - //hdr_info1_title - wp.customize( - 'hdr_info1_title', - function(value) { - value.bind( - function(newval) { - $('.above-header .info1 h6').text(newval); - } - ); - } - ); - - //hdr_info2_title - wp.customize( - 'hdr_info2_title', - function(value) { - value.bind( - function(newval) { - $('.main-header .info2 h6').text(newval); - } - ); - } - ); - - //hdr_info3_title - wp.customize( - 'hdr_info3_title', - function(value) { - value.bind( - function(newval) { - $('.main-header .info3 h6').text(newval); - } - ); - } - ); - - //hdr_btn_label - wp.customize( - 'hdr_btn_label', - function(value) { - value.bind( - function(newval) { - $('.main-navigation .button-area a').text(newval); - } - ); - } - ); - - //service_ttl - wp.customize( - 'service_ttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-service-main .theme-main-heading .title').text(newval); - } - ); - } - ); - - //service_subttl - wp.customize( - 'service_subttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-service-main .theme-main-heading h2').text(newval); - } - ); - } - ); - - //service_desc - wp.customize( - 'service_desc', - function(value) { - value.bind( - function(newval) { - $('.abiz-service-main .theme-main-heading p').text(newval); - } - ); - } - ); - - //features2_ttl - wp.customize( - 'features2_ttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-features-section-2 .theme-main-heading .title').text(newval); - } - ); - } - ); - - //features2_subttl - wp.customize( - 'features2_subttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-features-section-2 .theme-main-heading h2').text(newval); - } - ); - } - ); - - //features2_desc - wp.customize( - 'features2_desc', - function(value) { - value.bind( - function(newval) { - $('.abiz-features-section-2 .theme-main-heading p').text(newval); - } - ); - } - ); - - //blog_ttl - wp.customize( - 'blog_ttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-blog-main .theme-main-heading .title').text(newval); - } - ); - } - ); - - //blog_subttl - wp.customize( - 'blog_subttl', - function(value) { - value.bind( - function(newval) { - $('.abiz-blog-main .theme-main-heading h2').text(newval); - } - ); - } - ); - - //blog_desc - wp.customize( - 'blog_desc', - function(value) { - value.bind( - function(newval) { - $('.abiz-blog-main .theme-main-heading p').text(newval); - } - ); - } - ); - - // font size - wp.customize('abiz_body_font_size', function(value) { - value.bind(function(abiz_body_font_size) { - jQuery('body').css('font-size', abiz_body_font_size + 'px'); - }); - }); - - // font weight - wp.customize('abiz_body_font_weight', function(value) { - value.bind(function(font_weight) { - jQuery('body').css('font-weight', font_weight); - }); - }); - - // font style - wp.customize('abiz_body_font_style', function(value) { - value.bind(function(font_style) { - jQuery('body').css('font-style', font_style); - }); - }); - - // Text Decoration - wp.customize('abiz_body_txt_decoration', function(value) { - value.bind(function(decoration) { - jQuery('body, a').css('text-decoration', decoration); - }); - }); - - // text tranform - wp.customize('abiz_body_text_transform', function(value) { - value.bind(function(text_tranform) { - jQuery('body').css('text-transform', text_tranform); - }); - }); - +/** + * Contains handlers to make Theme Customizer preview reload changes asynchronously. + */ +(function($) { + // Site title and description. + wp.customize('blogname', function(value) { + value.bind(function(to) { + $('.site-title').text(to); + }); + }); + wp.customize('blogdescription', function(value) { + value.bind(function(to) { + $('.site-description').text(to); + }); + }); + + // Header text color. + wp.customize('header_textcolor', function(value) { + value.bind(function(to) { + if ('blank' === to) { + $('.site-title, .site-description').css({ + 'clip': 'rect(1px, 1px, 1px, 1px)', + 'position': 'absolute' + }); + } else { + $('.site-title, .site-description').css({ + 'clip': 'auto', + 'position': 'relative' + }); + $('.site-title, .site-description').css({ + 'color': to + }); + } + }); + }); + + $(document).ready(function($) { + $('input[data-input-type]').on('input change', function() { + var val = $(this).val(); + $(this).prev('.cs-range-value').html(val); + $(this).val(val); + }); + }) + + + // logo_size + wp.customize('logo_size', function(value) { + value.bind(function(logo_size) { + jQuery('.logo img, .mobile-logo img').css('max-width', logo_size + 'px'); + }); + }); + + // site_ttl_font_size + wp.customize('site_ttl_font_size', function(value) { + value.bind(function(site_ttl_font_size) { + jQuery('h4.site-title').css('font-size', site_ttl_font_size + 'px'); + }); + }); + + // site_desc_font_size + wp.customize('site_desc_font_size', function(value) { + value.bind(function(site_desc_font_size) { + jQuery('.site-description').css('font-size', site_desc_font_size + 'px'); + }); + }); + + + //hdr_info1_title + wp.customize( + 'hdr_info1_title', + function(value) { + value.bind( + function(newval) { + $('.above-header .info1 h6').text(newval); + } + ); + } + ); + + //hdr_info2_title + wp.customize( + 'hdr_info2_title', + function(value) { + value.bind( + function(newval) { + $('.main-header .info2 h6').text(newval); + } + ); + } + ); + + //hdr_info3_title + wp.customize( + 'hdr_info3_title', + function(value) { + value.bind( + function(newval) { + $('.main-header .info3 h6').text(newval); + } + ); + } + ); + + //hdr_btn_label + wp.customize( + 'hdr_btn_label', + function(value) { + value.bind( + function(newval) { + $('.main-navigation .button-area a').text(newval); + } + ); + } + ); + + //service_ttl + wp.customize( + 'service_ttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-service-main .theme-main-heading .title').text(newval); + } + ); + } + ); + + //service_subttl + wp.customize( + 'service_subttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-service-main .theme-main-heading h2').text(newval); + } + ); + } + ); + + //service_desc + wp.customize( + 'service_desc', + function(value) { + value.bind( + function(newval) { + $('.abiz-service-main .theme-main-heading p').text(newval); + } + ); + } + ); + + //features2_ttl + wp.customize( + 'features2_ttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-features-section-2 .theme-main-heading .title').text(newval); + } + ); + } + ); + + //features2_subttl + wp.customize( + 'features2_subttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-features-section-2 .theme-main-heading h2').text(newval); + } + ); + } + ); + + //features2_desc + wp.customize( + 'features2_desc', + function(value) { + value.bind( + function(newval) { + $('.abiz-features-section-2 .theme-main-heading p').text(newval); + } + ); + } + ); + + //blog_ttl + wp.customize( + 'blog_ttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-blog-main .theme-main-heading .title').text(newval); + } + ); + } + ); + + //blog_subttl + wp.customize( + 'blog_subttl', + function(value) { + value.bind( + function(newval) { + $('.abiz-blog-main .theme-main-heading h2').text(newval); + } + ); + } + ); + + //blog_desc + wp.customize( + 'blog_desc', + function(value) { + value.bind( + function(newval) { + $('.abiz-blog-main .theme-main-heading p').text(newval); + } + ); + } + ); + + // font size + wp.customize('abiz_body_font_size', function(value) { + value.bind(function(abiz_body_font_size) { + jQuery('body').css('font-size', abiz_body_font_size + 'px'); + }); + }); + + // font weight + wp.customize('abiz_body_font_weight', function(value) { + value.bind(function(font_weight) { + jQuery('body').css('font-weight', font_weight); + }); + }); + + // font style + wp.customize('abiz_body_font_style', function(value) { + value.bind(function(font_style) { + jQuery('body').css('font-style', font_style); + }); + }); + + // Text Decoration + wp.customize('abiz_body_txt_decoration', function(value) { + value.bind(function(decoration) { + jQuery('body, a').css('text-decoration', decoration); + }); + }); + + // text tranform + wp.customize('abiz_body_text_transform', function(value) { + value.bind(function(text_tranform) { + jQuery('body').css('text-transform', text_tranform); + }); + }); + })(jQuery); \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/custom-controls/customize-base-control.php b/gk-assets/themes/abiz/core/customizer/custom-controls/customize-base-control.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/custom-controls/customize-base-control.php rename to gk-assets/themes/abiz/core/customizer/custom-controls/customize-base-control.php diff --git a/wp-content/themes/abiz/core/customizer/custom-controls/customize-category-control.php b/gk-assets/themes/abiz/core/customizer/custom-controls/customize-category-control.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/custom-controls/customize-category-control.php rename to gk-assets/themes/abiz/core/customizer/custom-controls/customize-category-control.php diff --git a/wp-content/themes/abiz/core/customizer/custom-controls/customize-control-sortable.php b/gk-assets/themes/abiz/core/customizer/custom-controls/customize-control-sortable.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/custom-controls/customize-control-sortable.php rename to gk-assets/themes/abiz/core/customizer/custom-controls/customize-control-sortable.php diff --git a/wp-content/themes/abiz/core/customizer/custom-controls/customize-toggle-control.php b/gk-assets/themes/abiz/core/customizer/custom-controls/customize-toggle-control.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/custom-controls/customize-toggle-control.php rename to gk-assets/themes/abiz/core/customizer/custom-controls/customize-toggle-control.php diff --git a/wp-content/themes/abiz/core/customizer/custom-controls/customize-upgrade-control.php b/gk-assets/themes/abiz/core/customizer/custom-controls/customize-upgrade-control.php similarity index 100% rename from wp-content/themes/abiz/core/customizer/custom-controls/customize-upgrade-control.php rename to gk-assets/themes/abiz/core/customizer/custom-controls/customize-upgrade-control.php diff --git a/wp-content/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php b/gk-assets/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php similarity index 97% rename from wp-content/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php rename to gk-assets/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php index ac3bd76..9e65619 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php +++ b/gk-assets/themes/abiz/core/customizer/customizer-notice/abiz-customizer-notify-section.php @@ -1,298 +1,298 @@ - is_plugin_active( $slug . '/' . $slug . '.php' ), - 'needs' => $needs, - ); - } - - return array( - 'status' => false, - 'needs' => 'install', - ); - } - - - public function create_action_link( $state, $slug ) { - switch ( $state ) { - case 'install': - return wp_nonce_url( - add_query_arg( - array( - 'action' => 'install-plugin', - 'plugin' => $slug, - ), - network_admin_url( 'update.php' ) - ), - 'install-plugin_' . $slug - ); - break; - case 'deactivate': - return add_query_arg( - array( - 'action' => 'deactivate', - 'plugin' => rawurlencode( $slug . '/' . $slug . '.php' ), - 'plugin_status' => 'all', - 'paged' => '1', - '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . $slug . '/' . $slug . '.php' ), - ), network_admin_url( 'plugins.php' ) - ); - break; - case 'activate': - return add_query_arg( - array( - 'action' => 'activate', - 'plugin' => rawurlencode( $slug . '/' . $slug . '.php' ), - 'plugin_status' => 'all', - 'paged' => '1', - '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $slug . '/' . $slug . '.php' ), - ), network_admin_url( 'plugins.php' ) - ); - break; - }// End switch(). - } - - - public function call_plugin_api( $slug ) { - include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); - $call_api = get_transient( 'abiz_cust_notify_plugin_info_' . $slug ); - if ( false === $call_api ) { - $call_api = plugins_api( - 'plugin_information', array( - 'slug' => $slug, - 'fields' => array( - 'downloaded' => false, - 'rating' => false, - 'description' => false, - 'short_description' => true, - 'donate_link' => false, - 'tags' => false, - 'sections' => false, - 'homepage' => false, - 'added' => false, - 'last_updated' => false, - 'compatibility' => false, - 'tested' => false, - 'requires' => false, - 'downloadlink' => false, - 'icons' => false, - ), - ) - ); - set_transient( 'abiz_cust_notify_plugin_info_' . $slug, $call_api, 30 * MINUTE_IN_SECONDS ); - } - - return $call_api; - } - - - public function json() { - $json = parent::json(); - global $abiz_customizer_notify_recommended_actions; - global $abiz_customizer_notify_recommended_plugins; - - global $install_button_label; - global $activate_button_label; - global $abiz_deactivate_button_label; - - $formatted_array = array(); - $abiz_customizer_notify_show_recommended_actions = get_option( 'abiz_customizer_notify_show' ); - foreach ( $abiz_customizer_notify_recommended_actions as $key => $abiz_lite_customizer_notify_recommended_action ) { - if ( $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] === false ) { - continue; - } - if ( $abiz_lite_customizer_notify_recommended_action['check'] ) { - continue; - } - - $abiz_lite_customizer_notify_recommended_action['index'] = $key + 1; - - if ( isset( $abiz_lite_customizer_notify_recommended_action['plugin_slug'] ) ) { - $active = $this->check_active( $abiz_customizer_notify_recommended_action['plugin_slug'] ); - $abiz_lite_customizer_notify_recommended_action['url'] = $this->create_action_link( $active['needs'], $abiz_lite_customizer_notify_recommended_action['plugin_slug'] ); - if ( $active['needs'] !== 'install' && $active['status'] ) { - $abiz_lite_customizer_notify_recommended_action['class'] = 'active'; - } else { - $abiz_lite_customizer_notify_recommended_action['class'] = ''; - } - - switch ( $active['needs'] ) { - case 'install': - $abiz_lite_customizer_notify_recommended_action['button_class'] = 'install-now button'; - $abiz_lite_customizer_notify_recommended_action['button_label'] = $install_button_label; - break; - case 'activate': - $abiz_lite_customizer_notify_recommended_action['button_class'] = 'activate-now button button-primary'; - $abiz_lite_customizer_notify_recommended_action['button_label'] = $activate_button_label; - break; - case 'deactivate': - $abiz_lite_customizer_notify_recommended_action['button_class'] = 'deactivate-now button'; - $abiz_lite_customizer_notify_recommended_action['button_label'] = $abiz_deactivate_button_label; - break; - } - } - $formatted_array[] = $abiz_lite_customizer_notify_recommended_action; - }// End foreach(). - - $customize_plugins = array(); - - $abiz_lite_customizer_notify_show_recommended_plugins = get_option( 'abiz_customizer_notify_show_recommended_plugins' ); - - foreach ( $abiz_customizer_notify_recommended_plugins as $slug => $abiz_plugin_opt ) { - - if ( ! $abiz_plugin_opt['recommended'] ) { - continue; - } - - if ( isset( $abiz_lite_customizer_notify_show_recommended_plugins[ $slug ] ) && $abiz_lite_customizer_notify_show_recommended_plugins[ $slug ] ) { - continue; - } - - $active = $this->check_active( $slug ); - - if ( ! empty( $active['needs'] ) && ( $active['needs'] == 'deactivate' ) ) { - continue; - } - - $ti_customizer_notify_recommended_plugin['url'] = $this->create_action_link( $active['needs'], $slug ); - if ( $active['needs'] !== 'install' && $active['status'] ) { - $ti_customizer_notify_recommended_plugin['class'] = 'active'; - } else { - $ti_customizer_notify_recommended_plugin['class'] = ''; - } - - switch ( $active['needs'] ) { - case 'install': - $ti_customizer_notify_recommended_plugin['button_class'] = 'install-now button'; - $ti_customizer_notify_recommended_plugin['button_label'] = $install_button_label; - break; - case 'activate': - $ti_customizer_notify_recommended_plugin['button_class'] = 'activate-now button button-primary'; - $ti_customizer_notify_recommended_plugin['button_label'] = $activate_button_label; - break; - case 'deactivate': - $ti_customizer_notify_recommended_plugin['button_class'] = 'deactivate-now button'; - $ti_customizer_notify_recommended_plugin['button_label'] = $abiz_deactivate_button_label; - break; - } - $abiz_info = $this->call_plugin_api( $slug ); - $ti_customizer_notify_recommended_plugin['id'] = $slug; - $ti_customizer_notify_recommended_plugin['plugin_slug'] = $slug; - - if ( ! empty( $abiz_plugin_opt['description'] ) ) { - $ti_customizer_notify_recommended_plugin['description'] = $abiz_plugin_opt['description']; - } else { - $ti_customizer_notify_recommended_plugin['description'] = $abiz_info->short_description; - } - - $ti_customizer_notify_recommended_plugin['title'] = $abiz_info->name; - - $customize_plugins[] = $ti_customizer_notify_recommended_plugin; - - }// End foreach(). - - $json['recommended_actions'] = $formatted_array; - $json['recommended_plugins'] = $customize_plugins; - $json['total_actions'] = count( $abiz_customizer_notify_recommended_actions ); - $json['plugin_text'] = $this->plugin_text; - $json['dismiss_button'] = $this->dismiss_button; - return $json; - - } - - protected function render_template() { - ?> - <# if( data.recommended_actions.length > 0 || data.recommended_plugins.length > 0 ){ #> -
  • - -

    - - <# if( data.recommended_actions.length > 0 ){ #> - {{ data.title }} - <# }else{ #> - <# if( data.recommended_plugins.length > 0 ){ #> - {{ data.plugin_text }} - <# }#> - <# } #> - - <# if( data.recommended_actions.length > 0 ){ #> - - {{ data.recommended_actions[0].index }} - {{ data.total_actions }} - - <# } #> -

    -
    - <# if( data.recommended_actions.length > 0 ){ #> - <# for (action in data.recommended_actions) { #> -
    - <# if( !data.recommended_actions[action].check ){ #> -
    -

    {{ data.recommended_actions[action].title }}

    - -
    {{{ data.recommended_actions[action].description }}}
    - <# if( data.recommended_actions[action].plugin_slug ){ #> - - <# } #> - <# if( data.recommended_actions[action].help ){ #> -
    {{{ data.recommended_actions[action].help }}}
    - <# } #> -
    - <# } #> -
    - <# } #> - <# } #> - - <# if( data.recommended_plugins.length > 0 ){ #> - <# for (action in data.recommended_plugins) { #> - - <# } #> - <# } #> -
    -
  • - <# } #> - is_plugin_active( $slug . '/' . $slug . '.php' ), + 'needs' => $needs, + ); + } + + return array( + 'status' => false, + 'needs' => 'install', + ); + } + + + public function create_action_link( $state, $slug ) { + switch ( $state ) { + case 'install': + return wp_nonce_url( + add_query_arg( + array( + 'action' => 'install-plugin', + 'plugin' => $slug, + ), + network_admin_url( 'update.php' ) + ), + 'install-plugin_' . $slug + ); + break; + case 'deactivate': + return add_query_arg( + array( + 'action' => 'deactivate', + 'plugin' => rawurlencode( $slug . '/' . $slug . '.php' ), + 'plugin_status' => 'all', + 'paged' => '1', + '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . $slug . '/' . $slug . '.php' ), + ), network_admin_url( 'plugins.php' ) + ); + break; + case 'activate': + return add_query_arg( + array( + 'action' => 'activate', + 'plugin' => rawurlencode( $slug . '/' . $slug . '.php' ), + 'plugin_status' => 'all', + 'paged' => '1', + '_wpnonce' => wp_create_nonce( 'activate-plugin_' . $slug . '/' . $slug . '.php' ), + ), network_admin_url( 'plugins.php' ) + ); + break; + }// End switch(). + } + + + public function call_plugin_api( $slug ) { + include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); + $call_api = get_transient( 'abiz_cust_notify_plugin_info_' . $slug ); + if ( false === $call_api ) { + $call_api = plugins_api( + 'plugin_information', array( + 'slug' => $slug, + 'fields' => array( + 'downloaded' => false, + 'rating' => false, + 'description' => false, + 'short_description' => true, + 'donate_link' => false, + 'tags' => false, + 'sections' => false, + 'homepage' => false, + 'added' => false, + 'last_updated' => false, + 'compatibility' => false, + 'tested' => false, + 'requires' => false, + 'downloadlink' => false, + 'icons' => false, + ), + ) + ); + set_transient( 'abiz_cust_notify_plugin_info_' . $slug, $call_api, 30 * MINUTE_IN_SECONDS ); + } + + return $call_api; + } + + + public function json() { + $json = parent::json(); + global $abiz_customizer_notify_recommended_actions; + global $abiz_customizer_notify_recommended_plugins; + + global $install_button_label; + global $activate_button_label; + global $abiz_deactivate_button_label; + + $formatted_array = array(); + $abiz_customizer_notify_show_recommended_actions = get_option( 'abiz_customizer_notify_show' ); + foreach ( $abiz_customizer_notify_recommended_actions as $key => $abiz_lite_customizer_notify_recommended_action ) { + if ( $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] === false ) { + continue; + } + if ( $abiz_lite_customizer_notify_recommended_action['check'] ) { + continue; + } + + $abiz_lite_customizer_notify_recommended_action['index'] = $key + 1; + + if ( isset( $abiz_lite_customizer_notify_recommended_action['plugin_slug'] ) ) { + $active = $this->check_active( $abiz_customizer_notify_recommended_action['plugin_slug'] ); + $abiz_lite_customizer_notify_recommended_action['url'] = $this->create_action_link( $active['needs'], $abiz_lite_customizer_notify_recommended_action['plugin_slug'] ); + if ( $active['needs'] !== 'install' && $active['status'] ) { + $abiz_lite_customizer_notify_recommended_action['class'] = 'active'; + } else { + $abiz_lite_customizer_notify_recommended_action['class'] = ''; + } + + switch ( $active['needs'] ) { + case 'install': + $abiz_lite_customizer_notify_recommended_action['button_class'] = 'install-now button'; + $abiz_lite_customizer_notify_recommended_action['button_label'] = $install_button_label; + break; + case 'activate': + $abiz_lite_customizer_notify_recommended_action['button_class'] = 'activate-now button button-primary'; + $abiz_lite_customizer_notify_recommended_action['button_label'] = $activate_button_label; + break; + case 'deactivate': + $abiz_lite_customizer_notify_recommended_action['button_class'] = 'deactivate-now button'; + $abiz_lite_customizer_notify_recommended_action['button_label'] = $abiz_deactivate_button_label; + break; + } + } + $formatted_array[] = $abiz_lite_customizer_notify_recommended_action; + }// End foreach(). + + $customize_plugins = array(); + + $abiz_lite_customizer_notify_show_recommended_plugins = get_option( 'abiz_customizer_notify_show_recommended_plugins' ); + + foreach ( $abiz_customizer_notify_recommended_plugins as $slug => $abiz_plugin_opt ) { + + if ( ! $abiz_plugin_opt['recommended'] ) { + continue; + } + + if ( isset( $abiz_lite_customizer_notify_show_recommended_plugins[ $slug ] ) && $abiz_lite_customizer_notify_show_recommended_plugins[ $slug ] ) { + continue; + } + + $active = $this->check_active( $slug ); + + if ( ! empty( $active['needs'] ) && ( $active['needs'] == 'deactivate' ) ) { + continue; + } + + $ti_customizer_notify_recommended_plugin['url'] = $this->create_action_link( $active['needs'], $slug ); + if ( $active['needs'] !== 'install' && $active['status'] ) { + $ti_customizer_notify_recommended_plugin['class'] = 'active'; + } else { + $ti_customizer_notify_recommended_plugin['class'] = ''; + } + + switch ( $active['needs'] ) { + case 'install': + $ti_customizer_notify_recommended_plugin['button_class'] = 'install-now button'; + $ti_customizer_notify_recommended_plugin['button_label'] = $install_button_label; + break; + case 'activate': + $ti_customizer_notify_recommended_plugin['button_class'] = 'activate-now button button-primary'; + $ti_customizer_notify_recommended_plugin['button_label'] = $activate_button_label; + break; + case 'deactivate': + $ti_customizer_notify_recommended_plugin['button_class'] = 'deactivate-now button'; + $ti_customizer_notify_recommended_plugin['button_label'] = $abiz_deactivate_button_label; + break; + } + $abiz_info = $this->call_plugin_api( $slug ); + $ti_customizer_notify_recommended_plugin['id'] = $slug; + $ti_customizer_notify_recommended_plugin['plugin_slug'] = $slug; + + if ( ! empty( $abiz_plugin_opt['description'] ) ) { + $ti_customizer_notify_recommended_plugin['description'] = $abiz_plugin_opt['description']; + } else { + $ti_customizer_notify_recommended_plugin['description'] = $abiz_info->short_description; + } + + $ti_customizer_notify_recommended_plugin['title'] = $abiz_info->name; + + $customize_plugins[] = $ti_customizer_notify_recommended_plugin; + + }// End foreach(). + + $json['recommended_actions'] = $formatted_array; + $json['recommended_plugins'] = $customize_plugins; + $json['total_actions'] = count( $abiz_customizer_notify_recommended_actions ); + $json['plugin_text'] = $this->plugin_text; + $json['dismiss_button'] = $this->dismiss_button; + return $json; + + } + + protected function render_template() { + ?> + <# if( data.recommended_actions.length > 0 || data.recommended_plugins.length > 0 ){ #> +
  • + +

    + + <# if( data.recommended_actions.length > 0 ){ #> + {{ data.title }} + <# }else{ #> + <# if( data.recommended_plugins.length > 0 ){ #> + {{ data.plugin_text }} + <# }#> + <# } #> + + <# if( data.recommended_actions.length > 0 ){ #> + + {{ data.recommended_actions[0].index }} + {{ data.total_actions }} + + <# } #> +

    +
    + <# if( data.recommended_actions.length > 0 ){ #> + <# for (action in data.recommended_actions) { #> +
    + <# if( !data.recommended_actions[action].check ){ #> +
    +

    {{ data.recommended_actions[action].title }}

    + +
    {{{ data.recommended_actions[action].description }}}
    + <# if( data.recommended_actions[action].plugin_slug ){ #> + + <# } #> + <# if( data.recommended_actions[action].help ){ #> +
    {{{ data.recommended_actions[action].help }}}
    + <# } #> +
    + <# } #> +
    + <# } #> + <# } #> + + <# if( data.recommended_plugins.length > 0 ){ #> + <# for (action in data.recommended_plugins) { #> + + <# } #> + <# } #> +
    +
  • + <# } #> + config = $config; - self::$instance->setup_config(); - self::$instance->setup_actions(); - } - } - - } - - - public function setup_config() { - - global $abiz_customizer_notify_recommended_plugins; - global $abiz_customizer_notify_recommended_actions; - - global $install_button_label; - global $activate_button_label; - global $abiz_deactivate_button_label; - - $this->recommended_actions = isset( $this->config['recommended_actions'] ) ? $this->config['recommended_actions'] : array(); - $this->recommended_plugins = isset( $this->config['recommended_plugins'] ) ? $this->config['recommended_plugins'] : array(); - - $this->recommended_actions_title = isset( $this->config['recommended_actions_title'] ) ? $this->config['recommended_actions_title'] : ''; - $this->recommended_plugins_title = isset( $this->config['recommended_plugins_title'] ) ? $this->config['recommended_plugins_title'] : ''; - $this->dismiss_button = isset( $this->config['dismiss_button'] ) ? $this->config['dismiss_button'] : ''; - - $abiz_customizer_notify_recommended_plugins = array(); - $abiz_customizer_notify_recommended_actions = array(); - - if ( isset( $this->recommended_plugins ) ) { - $abiz_customizer_notify_recommended_plugins = $this->recommended_plugins; - } - - if ( isset( $this->recommended_actions ) ) { - $abiz_customizer_notify_recommended_actions = $this->recommended_actions; - } - - $install_button_label = isset( $this->config['install_button_label'] ) ? $this->config['install_button_label'] : ''; - $activate_button_label = isset( $this->config['activate_button_label'] ) ? $this->config['activate_button_label'] : ''; - $abiz_deactivate_button_label = isset( $this->config['abiz_deactivate_button_label'] ) ? $this->config['abiz_deactivate_button_label'] : ''; - - } - - - public function setup_actions() { - - // Register the section. - add_action( 'customize_register', array( $this, 'abiz_plugin_notification_customize_register' ) ); - - // Enqueue scripts and styles. - add_action( 'customize_controls_enqueue_scripts', array( $this, 'abiz_customizer_notify_scripts_for_customizer' ), 0 ); - - /* ajax callback for dismissable recommended actions */ - add_action( 'wp_ajax_abiz_customizer_notify_dismiss_action', array( $this, 'abiz_customizer_notify_dismiss_recommended_action_callback' ) ); - - add_action( 'wp_ajax_abiz_customizer_notify_dismiss_recommended_plugins', array( $this, 'abiz_customizer_notify_dismiss_recommended_plugins_callback' ) ); - - } - - - public function abiz_customizer_notify_scripts_for_customizer() { - - wp_enqueue_style( 'abiz-customizer-notify-css', get_template_directory_uri() . '/core/customizer/customizer-notice/css/abiz-customizer-notify.css', array() ); - - wp_enqueue_style( 'plugin-install' ); - wp_enqueue_script( 'plugin-install' ); - wp_add_inline_script( 'plugin-install', 'var pagenow = "customizer";' ); - - wp_enqueue_script( 'updates' ); - - wp_enqueue_script( 'abiz-customizer-notify-js', get_template_directory_uri() . '/core/customizer/customizer-notice/js/abiz-customizer-notify.js', array( 'customize-controls' ) ); - wp_localize_script( - 'abiz-customizer-notify-js', - 'abizCustomizercompanionObject', - array( - 'ajaxurl' => admin_url( 'admin-ajax.php' ), - 'template_directory' => get_template_directory_uri(), - 'base_path' => admin_url(), - 'activating_string' => __( 'Activating', 'abiz' ), - ) - ); - - } - - - public function abiz_plugin_notification_customize_register( $wp_customize ) { - - require_once get_template_directory() . '/core/customizer/customizer-notice/abiz-customizer-notify-section.php'; - - $wp_customize->register_section_type( 'abiz_Customizer_Notify_Section' ); - - $wp_customize->add_section( - new abiz_Customizer_Notify_Section( - $wp_customize, - 'abiz-customizer-notify-section', - array( - 'title' => $this->recommended_actions_title, - 'plugin_text' => $this->recommended_plugins_title, - 'dismiss_button' => $this->dismiss_button, - 'priority' => 0, - ) - ) - ); - - } - - - public function abiz_customizer_notify_dismiss_recommended_action_callback() { - - global $abiz_customizer_notify_recommended_actions; - - $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; - - echo esc_html($action_id); - - if ( ! empty( $action_id ) ) { - - if ( get_option( 'abiz_customizer_notify_show' ) ) { - - $abiz_customizer_notify_show_recommended_actions = get_option( 'abiz_customizer_notify_show' ); - switch ( $_GET['todo'] ) { - case 'add': - $abiz_customizer_notify_show_recommended_actions[ $action_id ] = true; - break; - case 'dismiss': - $abiz_customizer_notify_show_recommended_actions[ $action_id ] = false; - break; - } - update_option( 'abiz_customizer_notify_show', $abiz_customizer_notify_show_recommended_actions ); - - } else { - $abiz_customizer_notify_show_recommended_actions = array(); - if ( ! empty( $abiz_customizer_notify_recommended_actions ) ) { - foreach ( $abiz_customizer_notify_recommended_actions as $abiz_lite_customizer_notify_recommended_action ) { - if ( $abiz_lite_customizer_notify_recommended_action['id'] == $action_id ) { - $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] = false; - } else { - $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] = true; - } - } - update_option( 'abiz_customizer_notify_show', $abiz_customizer_notify_show_recommended_actions ); - } - } - } - die(); - } - - - public function abiz_customizer_notify_dismiss_recommended_plugins_callback() { - - $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; - - echo esc_html($action_id); - - if ( ! empty( $action_id ) ) { - - $abiz_lite_customizer_notify_show_recommended_plugins = get_option( 'abiz_customizer_notify_show_recommended_plugins' ); - - switch ( $_GET['todo'] ) { - case 'add': - $abiz_lite_customizer_notify_show_recommended_plugins[ $action_id ] = false; - break; - case 'dismiss': - $abiz_lite_customizer_notify_show_recommended_plugins[ $action_id ] = true; - break; - } - update_option( 'abiz_customizer_notify_show_recommended_plugins', $abiz_lite_customizer_notify_show_recommended_plugins ); - } - die(); - } - -} +config = $config; + self::$instance->setup_config(); + self::$instance->setup_actions(); + } + } + + } + + + public function setup_config() { + + global $abiz_customizer_notify_recommended_plugins; + global $abiz_customizer_notify_recommended_actions; + + global $install_button_label; + global $activate_button_label; + global $abiz_deactivate_button_label; + + $this->recommended_actions = isset( $this->config['recommended_actions'] ) ? $this->config['recommended_actions'] : array(); + $this->recommended_plugins = isset( $this->config['recommended_plugins'] ) ? $this->config['recommended_plugins'] : array(); + + $this->recommended_actions_title = isset( $this->config['recommended_actions_title'] ) ? $this->config['recommended_actions_title'] : ''; + $this->recommended_plugins_title = isset( $this->config['recommended_plugins_title'] ) ? $this->config['recommended_plugins_title'] : ''; + $this->dismiss_button = isset( $this->config['dismiss_button'] ) ? $this->config['dismiss_button'] : ''; + + $abiz_customizer_notify_recommended_plugins = array(); + $abiz_customizer_notify_recommended_actions = array(); + + if ( isset( $this->recommended_plugins ) ) { + $abiz_customizer_notify_recommended_plugins = $this->recommended_plugins; + } + + if ( isset( $this->recommended_actions ) ) { + $abiz_customizer_notify_recommended_actions = $this->recommended_actions; + } + + $install_button_label = isset( $this->config['install_button_label'] ) ? $this->config['install_button_label'] : ''; + $activate_button_label = isset( $this->config['activate_button_label'] ) ? $this->config['activate_button_label'] : ''; + $abiz_deactivate_button_label = isset( $this->config['abiz_deactivate_button_label'] ) ? $this->config['abiz_deactivate_button_label'] : ''; + + } + + + public function setup_actions() { + + // Register the section. + add_action( 'customize_register', array( $this, 'abiz_plugin_notification_customize_register' ) ); + + // Enqueue scripts and styles. + add_action( 'customize_controls_enqueue_scripts', array( $this, 'abiz_customizer_notify_scripts_for_customizer' ), 0 ); + + /* ajax callback for dismissable recommended actions */ + add_action( 'wp_ajax_abiz_customizer_notify_dismiss_action', array( $this, 'abiz_customizer_notify_dismiss_recommended_action_callback' ) ); + + add_action( 'wp_ajax_abiz_customizer_notify_dismiss_recommended_plugins', array( $this, 'abiz_customizer_notify_dismiss_recommended_plugins_callback' ) ); + + } + + + public function abiz_customizer_notify_scripts_for_customizer() { + + wp_enqueue_style( 'abiz-customizer-notify-css', get_template_directory_uri() . '/core/customizer/customizer-notice/css/abiz-customizer-notify.css', array() ); + + wp_enqueue_style( 'plugin-install' ); + wp_enqueue_script( 'plugin-install' ); + wp_add_inline_script( 'plugin-install', 'var pagenow = "customizer";' ); + + wp_enqueue_script( 'updates' ); + + wp_enqueue_script( 'abiz-customizer-notify-js', get_template_directory_uri() . '/core/customizer/customizer-notice/js/abiz-customizer-notify.js', array( 'customize-controls' ) ); + wp_localize_script( + 'abiz-customizer-notify-js', + 'abizCustomizercompanionObject', + array( + 'ajaxurl' => admin_url( 'admin-ajax.php' ), + 'template_directory' => get_template_directory_uri(), + 'base_path' => admin_url(), + 'activating_string' => __( 'Activating', 'abiz' ), + ) + ); + + } + + + public function abiz_plugin_notification_customize_register( $wp_customize ) { + + require_once get_template_directory() . '/core/customizer/customizer-notice/abiz-customizer-notify-section.php'; + + $wp_customize->register_section_type( 'abiz_Customizer_Notify_Section' ); + + $wp_customize->add_section( + new abiz_Customizer_Notify_Section( + $wp_customize, + 'abiz-customizer-notify-section', + array( + 'title' => $this->recommended_actions_title, + 'plugin_text' => $this->recommended_plugins_title, + 'dismiss_button' => $this->dismiss_button, + 'priority' => 0, + ) + ) + ); + + } + + + public function abiz_customizer_notify_dismiss_recommended_action_callback() { + + global $abiz_customizer_notify_recommended_actions; + + $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; + + echo esc_html($action_id); + + if ( ! empty( $action_id ) ) { + + if ( get_option( 'abiz_customizer_notify_show' ) ) { + + $abiz_customizer_notify_show_recommended_actions = get_option( 'abiz_customizer_notify_show' ); + switch ( $_GET['todo'] ) { + case 'add': + $abiz_customizer_notify_show_recommended_actions[ $action_id ] = true; + break; + case 'dismiss': + $abiz_customizer_notify_show_recommended_actions[ $action_id ] = false; + break; + } + update_option( 'abiz_customizer_notify_show', $abiz_customizer_notify_show_recommended_actions ); + + } else { + $abiz_customizer_notify_show_recommended_actions = array(); + if ( ! empty( $abiz_customizer_notify_recommended_actions ) ) { + foreach ( $abiz_customizer_notify_recommended_actions as $abiz_lite_customizer_notify_recommended_action ) { + if ( $abiz_lite_customizer_notify_recommended_action['id'] == $action_id ) { + $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] = false; + } else { + $abiz_customizer_notify_show_recommended_actions[ $abiz_lite_customizer_notify_recommended_action['id'] ] = true; + } + } + update_option( 'abiz_customizer_notify_show', $abiz_customizer_notify_show_recommended_actions ); + } + } + } + die(); + } + + + public function abiz_customizer_notify_dismiss_recommended_plugins_callback() { + + $action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0; + + echo esc_html($action_id); + + if ( ! empty( $action_id ) ) { + + $abiz_lite_customizer_notify_show_recommended_plugins = get_option( 'abiz_customizer_notify_show_recommended_plugins' ); + + switch ( $_GET['todo'] ) { + case 'add': + $abiz_lite_customizer_notify_show_recommended_plugins[ $action_id ] = false; + break; + case 'dismiss': + $abiz_lite_customizer_notify_show_recommended_plugins[ $action_id ] = true; + break; + } + update_option( 'abiz_customizer_notify_show_recommended_plugins', $abiz_lite_customizer_notify_show_recommended_plugins ); + } + die(); + } + +} diff --git a/wp-content/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css b/gk-assets/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css similarity index 95% rename from wp-content/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css rename to gk-assets/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css index 012e755..2d07f79 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css +++ b/gk-assets/themes/abiz/core/customizer/customizer-notice/css/abiz-customizer-notify.css @@ -1,139 +1,139 @@ -.abiz-customizer-plugin-notify-actions-count { - display: inline-block; - z-index: 26; - margin: 1px 0 0 2px; - padding: 0 6px; - border-radius: 10px; - color: #fff; - background-color: #d54e21; - font-size: 9px; - font-weight: 600; - line-height: 17px; - vertical-align: top; -} - -div.abiz-theme-recomended-actions_container { - margin-bottom: 2em; - padding: 0 10px; -} - -.abiz-theme-recomended-actions_container p.succes { - margin: 1em 0; -} - -.abiz-epsilon-recommeded-actions p.title { - margin-bottom: 0; - color: #555d66; - font-size: 14px; - font-weight: 600; -} - -.abiz-epsilon-recommeded-actions div.description { - font-size: 12px; -} - -.abiz-epsilon-recommeded-actions .custom-action { - margin-top: 1em; - padding-top: 1em; - border-top: 1px solid #fafafa; -} - -.abiz-epsilon-recommeded-actions .custom-action p { - margin-top: 0; -} - -.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container:not(:first-child) { - overflow: hidden; - height: 0; - opacity: 0; -} - -.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container:first-child { - height: auto; - opacity: 1; -} - -.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container { - -webkit-transition: opacity 2s; - /* Safari */ - transition: opacity 2s; -} - -.abiz-theme-recomended-actions_container .hide { - display: none; -} - -.abiz-customizer-plugin-notify-actions-count.complete { - background-color: #79ba49; -} - -.abiz-theme-recomended-actions_container #demo_content .button { - display: block; - margin-bottom: 1em; - text-align: center; -} - -.abiz-theme-recomended-actions_container .succes a { - display: inline-block; - width: 100%; - text-align: center; -} - -.abiz-theme-recomended-actions_container .succes a.social { - width: 49%; - margin-bottom: 1em; - padding-top: 4px; - line-height: 20px; -} - -.abiz-theme-recomended-actions_container .succes a.social span, -.abiz-theme-recomended-actions_container .succes span { - margin-right: 5px; -} - -.abiz-theme-recomended-actions_container .succes { - padding-top: 4px; - line-height: 20px; -} - -.abiz-customizer-notify-dismiss-button-recommended-plugin, -.abiz-customizer-notify-dismiss-recommended-action { - position: absolute; - top: 10px; - right: 10px; - border-radius: 50%; - color: #d54e21; - text-decoration: none; - cursor: pointer; -} - -.abiz-epsilon-recommeded-actions { - position: relative; -} - -.abiz-customizer-notify-dismiss-recommended-action, -.abiz-epsilon-recommeded-actions .abiz-customizer-notify-dismiss-button-recommended-plugin { - top: 0; - right: 0; -} - -.abiz-epsilon-recommeded-actions #temp_load { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - - -webkit-align-items: center; - align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; -} - -.abiz-epsilon-recommeded-actions #temp_load img { - margin: 0 auto; -} +.abiz-customizer-plugin-notify-actions-count { + display: inline-block; + z-index: 26; + margin: 1px 0 0 2px; + padding: 0 6px; + border-radius: 10px; + color: #fff; + background-color: #d54e21; + font-size: 9px; + font-weight: 600; + line-height: 17px; + vertical-align: top; +} + +div.abiz-theme-recomended-actions_container { + margin-bottom: 2em; + padding: 0 10px; +} + +.abiz-theme-recomended-actions_container p.succes { + margin: 1em 0; +} + +.abiz-epsilon-recommeded-actions p.title { + margin-bottom: 0; + color: #555d66; + font-size: 14px; + font-weight: 600; +} + +.abiz-epsilon-recommeded-actions div.description { + font-size: 12px; +} + +.abiz-epsilon-recommeded-actions .custom-action { + margin-top: 1em; + padding-top: 1em; + border-top: 1px solid #fafafa; +} + +.abiz-epsilon-recommeded-actions .custom-action p { + margin-top: 0; +} + +.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container:not(:first-child) { + overflow: hidden; + height: 0; + opacity: 0; +} + +.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container:first-child { + height: auto; + opacity: 1; +} + +.abiz-theme-recomended-actions_container .abiz-recommeded-actions-container { + -webkit-transition: opacity 2s; + /* Safari */ + transition: opacity 2s; +} + +.abiz-theme-recomended-actions_container .hide { + display: none; +} + +.abiz-customizer-plugin-notify-actions-count.complete { + background-color: #79ba49; +} + +.abiz-theme-recomended-actions_container #demo_content .button { + display: block; + margin-bottom: 1em; + text-align: center; +} + +.abiz-theme-recomended-actions_container .succes a { + display: inline-block; + width: 100%; + text-align: center; +} + +.abiz-theme-recomended-actions_container .succes a.social { + width: 49%; + margin-bottom: 1em; + padding-top: 4px; + line-height: 20px; +} + +.abiz-theme-recomended-actions_container .succes a.social span, +.abiz-theme-recomended-actions_container .succes span { + margin-right: 5px; +} + +.abiz-theme-recomended-actions_container .succes { + padding-top: 4px; + line-height: 20px; +} + +.abiz-customizer-notify-dismiss-button-recommended-plugin, +.abiz-customizer-notify-dismiss-recommended-action { + position: absolute; + top: 10px; + right: 10px; + border-radius: 50%; + color: #d54e21; + text-decoration: none; + cursor: pointer; +} + +.abiz-epsilon-recommeded-actions { + position: relative; +} + +.abiz-customizer-notify-dismiss-recommended-action, +.abiz-epsilon-recommeded-actions .abiz-customizer-notify-dismiss-button-recommended-plugin { + top: 0; + right: 0; +} + +.abiz-epsilon-recommeded-actions #temp_load { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + + -webkit-align-items: center; + align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; +} + +.abiz-epsilon-recommeded-actions #temp_load img { + margin: 0 auto; +} diff --git a/wp-content/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js b/gk-assets/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js similarity index 96% rename from wp-content/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js rename to gk-assets/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js index 0bb2ddc..77dffef 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js +++ b/gk-assets/themes/abiz/core/customizer/customizer-notice/js/abiz-customizer-notify.js @@ -1,180 +1,180 @@ -/** - * Customizer notification system - */ -(function (api) { - - api.sectionConstructor['abiz-customizer-notify-section'] = api.Section.extend( - { - - // No events for this type of section. - attachEvents: function () { - }, - - // Always make the section active. - isContextuallyActive: function () { - return true; - } - } - ); - -})( wp.customize ); - -jQuery( document ).ready( - function () { - - jQuery( '.abiz-customizer-notify-dismiss-recommended-action' ).click( - function () { - - var id = jQuery( this ).attr( 'id' ), - action = jQuery( this ).attr( 'data-action' ); - jQuery.ajax( - { - type: 'GET', - data: {action: 'abiz_customizer_notify_dismiss_action', id: id, todo: action}, - dataType: 'html', - url: abizCustomizercompanionObject.ajaxurl, - beforeSend: function () { - jQuery( '#' + id ).parent().append( '
    ' ); - }, - success: function (data) { - var container = jQuery( '#' + data ).parent().parent(); - var index = container.next().data( 'index' ); - var recommended_sction = jQuery( '#accordion-section-ti_customizer_notify_recomended_actions' ); - var actions_count = recommended_sction.find( '.abiz-customizer-plugin-notify-actions-count' ); - var section_title = recommended_sction.find( '.section-title' ); - jQuery( '.abiz-customizer-plugin-notify-actions-count .current-index' ).text( index ); - container.slideToggle().remove(); - if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-actions' ).length === 0) { - - actions_count.remove(); - - if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { - jQuery( '.control-section-ti-customizer-notify-recomended-actions' ).remove(); - } else { - section_title.text( section_title.data( 'plugin_text' ) ); - } - - } - }, - error: function (jqXHR, textStatus, errorThrown) { - console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); - } - } - ); - } - ); - - jQuery( '.abiz-customizer-notify-dismiss-button-recommended-plugin' ).click( - function () { - var id = jQuery( this ).attr( 'id' ), - action = jQuery( this ).attr( 'data-action' ); - jQuery.ajax( - { - type: 'GET', - data: {action: 'abiz_customizer_notify_dismiss_recommended_plugins', id: id, todo: action}, - dataType: 'html', - url: abizCustomizercompanionObject.ajaxurl, - beforeSend: function () { - jQuery( '#' + id ).parent().append( '
    ' ); - }, - success: function (data) { - var container = jQuery( '#' + data ).parent().parent(); - var index = container.next().data( 'index' ); - jQuery( '.abiz-customizer-plugin-notify-actions-count .current-index' ).text( index ); - container.slideToggle().remove(); - - if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { - jQuery( '.control-section-ti-customizer-notify-recomended-section' ).remove(); - } - }, - error: function (jqXHR, textStatus, errorThrown) { - console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); - } - } - ); - } - ); - - // Remove activate button and replace with activation in progress button. - jQuery( document ).on( - 'DOMNodeInserted','.activate-now', function () { - var activateButton = jQuery( '.activate-now' ); - if (activateButton.length) { - var url = jQuery( activateButton ).attr( 'href' ); - if (typeof url !== 'undefined') { - // Request plugin activation. - jQuery.ajax( - { - beforeSend: function () { - jQuery( activateButton ).replaceWith( '' + abizCustomizercompanionObject.activating_string + '...' ); - }, - async: true, - type: 'GET', - url: url, - success: function () { - // Reload the page. - location.reload(); - } - } - ); - } - } - } - ); - } -); - - - -/** - * Remove activate button and replace with activation in progress button. - * - * @package abiz - */ - - -jQuery( document ).ready( - function ($) { - $( 'body' ).on( - 'click', ' .abiz-install-plugin ', function () { - var slug = $( this ).attr( 'data-slug' ); - - wp.updates.installPlugin( - { - slug: slug - } - ); - return false; - } - ); - - $( '.activate-now' ).on( - 'click', function (e) { - - var activateButton = $( this ); - e.preventDefault(); - if ($( activateButton ).length) { - var url = $( activateButton ).attr( 'href' ); - - if (typeof url !== 'undefined') { - // Request plugin activation. - $.ajax( - { - beforeSend: function () { - $( activateButton ).replaceWith( ''+"activating"+'...' ); - }, - async: true, - type: 'GET', - url: url, - success: function () { - // Reload the page. - location.reload(); - } - } - ); - } - } - } - ); - } -); +/** + * Customizer notification system + */ +(function (api) { + + api.sectionConstructor['abiz-customizer-notify-section'] = api.Section.extend( + { + + // No events for this type of section. + attachEvents: function () { + }, + + // Always make the section active. + isContextuallyActive: function () { + return true; + } + } + ); + +})( wp.customize ); + +jQuery( document ).ready( + function () { + + jQuery( '.abiz-customizer-notify-dismiss-recommended-action' ).click( + function () { + + var id = jQuery( this ).attr( 'id' ), + action = jQuery( this ).attr( 'data-action' ); + jQuery.ajax( + { + type: 'GET', + data: {action: 'abiz_customizer_notify_dismiss_action', id: id, todo: action}, + dataType: 'html', + url: abizCustomizercompanionObject.ajaxurl, + beforeSend: function () { + jQuery( '#' + id ).parent().append( '
    ' ); + }, + success: function (data) { + var container = jQuery( '#' + data ).parent().parent(); + var index = container.next().data( 'index' ); + var recommended_sction = jQuery( '#accordion-section-ti_customizer_notify_recomended_actions' ); + var actions_count = recommended_sction.find( '.abiz-customizer-plugin-notify-actions-count' ); + var section_title = recommended_sction.find( '.section-title' ); + jQuery( '.abiz-customizer-plugin-notify-actions-count .current-index' ).text( index ); + container.slideToggle().remove(); + if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-actions' ).length === 0) { + + actions_count.remove(); + + if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { + jQuery( '.control-section-ti-customizer-notify-recomended-actions' ).remove(); + } else { + section_title.text( section_title.data( 'plugin_text' ) ); + } + + } + }, + error: function (jqXHR, textStatus, errorThrown) { + console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); + } + } + ); + } + ); + + jQuery( '.abiz-customizer-notify-dismiss-button-recommended-plugin' ).click( + function () { + var id = jQuery( this ).attr( 'id' ), + action = jQuery( this ).attr( 'data-action' ); + jQuery.ajax( + { + type: 'GET', + data: {action: 'abiz_customizer_notify_dismiss_recommended_plugins', id: id, todo: action}, + dataType: 'html', + url: abizCustomizercompanionObject.ajaxurl, + beforeSend: function () { + jQuery( '#' + id ).parent().append( '
    ' ); + }, + success: function (data) { + var container = jQuery( '#' + data ).parent().parent(); + var index = container.next().data( 'index' ); + jQuery( '.abiz-customizer-plugin-notify-actions-count .current-index' ).text( index ); + container.slideToggle().remove(); + + if (jQuery( '.abiz-theme-recomended-actions_container > .epsilon-recommended-plugins' ).length === 0) { + jQuery( '.control-section-ti-customizer-notify-recomended-section' ).remove(); + } + }, + error: function (jqXHR, textStatus, errorThrown) { + console.log( jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown ); + } + } + ); + } + ); + + // Remove activate button and replace with activation in progress button. + jQuery( document ).on( + 'DOMNodeInserted','.activate-now', function () { + var activateButton = jQuery( '.activate-now' ); + if (activateButton.length) { + var url = jQuery( activateButton ).attr( 'href' ); + if (typeof url !== 'undefined') { + // Request plugin activation. + jQuery.ajax( + { + beforeSend: function () { + jQuery( activateButton ).replaceWith( '' + abizCustomizercompanionObject.activating_string + '...' ); + }, + async: true, + type: 'GET', + url: url, + success: function () { + // Reload the page. + location.reload(); + } + } + ); + } + } + } + ); + } +); + + + +/** + * Remove activate button and replace with activation in progress button. + * + * @package abiz + */ + + +jQuery( document ).ready( + function ($) { + $( 'body' ).on( + 'click', ' .abiz-install-plugin ', function () { + var slug = $( this ).attr( 'data-slug' ); + + wp.updates.installPlugin( + { + slug: slug + } + ); + return false; + } + ); + + $( '.activate-now' ).on( + 'click', function (e) { + + var activateButton = $( this ); + e.preventDefault(); + if ($( activateButton ).length) { + var url = $( activateButton ).attr( 'href' ); + + if (typeof url !== 'undefined') { + // Request plugin activation. + $.ajax( + { + beforeSend: function () { + $( activateButton ).replaceWith( ''+"activating"+'...' ); + }, + async: true, + type: 'GET', + url: url, + success: function () { + // Reload the page. + location.reload(); + } + } + ); + } + } + } + ); + } +); diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php b/gk-assets/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php similarity index 97% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php index 004ac48..cbd6b9b 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/class/customizer-repeater-control.php @@ -1,849 +1,849 @@ -add_field_label = esc_html__( 'Add new field', 'abiz' ); - if ( ! empty( $args['add_field_label'] ) ) { - $this->add_field_label = $args['add_field_label']; - } - - $this->boxtitle = esc_html__( 'Customizer Repeater', 'abiz' ); - if ( ! empty ( $args['item_name'] ) ) { - $this->boxtitle = $args['item_name']; - } elseif ( ! empty( $this->label ) ) { - $this->boxtitle = $this->label; - } - - if ( ! empty( $args['customizer_repeater_image_control'] ) ) { - $this->customizer_repeater_image_control = $args['customizer_repeater_image_control']; - } - - - if ( ! empty( $args['customizer_repeater_icon_control'] ) ) { - $this->customizer_repeater_icon_control = $args['customizer_repeater_icon_control']; - } - - if ( ! empty( $args['customizer_repeater_color_control'] ) ) { - $this->customizer_repeater_color_control = $args['customizer_repeater_color_control']; - } - - if ( ! empty( $args['customizer_repeater_title_control'] ) ) { - $this->customizer_repeater_title_control = $args['customizer_repeater_title_control']; - } - - - if ( ! empty( $args['customizer_repeater_subtitle_control'] ) ) { - $this->customizer_repeater_subtitle_control = $args['customizer_repeater_subtitle_control']; - } - - if ( ! empty( $args['customizer_repeater_subtitle2_control'] ) ) { - $this->customizer_repeater_subtitle2_control = $args['customizer_repeater_subtitle2_control']; - } - - if ( ! empty( $args['customizer_repeater_btn3_control'] ) ) { - $this->customizer_repeater_btn3_control = $args['customizer_repeater_btn3_control']; - } - - if ( ! empty( $args['customizer_repeater_text_control'] ) ) { - $this->customizer_repeater_text_control = $args['customizer_repeater_text_control']; - } - if ( ! empty( $args['customizer_repeater_text2_control'] ) ) { - $this->customizer_repeater_text2_control = $args['customizer_repeater_text2_control']; - } - if ( ! empty( $args['customizer_repeater_button2_control'] ) ) { - $this->customizer_repeater_button2_control = $args['customizer_repeater_button2_control']; - } - if ( ! empty( $args['customizer_repeater_link2_control'] ) ) { - $this->customizer_repeater_link2_control = $args['customizer_repeater_link2_control']; - } - - if ( ! empty( $args['customizer_repeater_link3_control'] ) ) { - $this->customizer_repeater_link3_control = $args['customizer_repeater_link3_control']; - } - - if ( ! empty( $args['customizer_repeater_designation_control'] ) ) { - $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control']; - } - - if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) { - $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control']; - } - - if ( ! empty( $args['customizer_repeater_link_control'] ) ) { - $this->customizer_repeater_link_control = $args['customizer_repeater_link_control']; - } - - if ( ! empty( $args['customizer_repeater_checkbox_control'] ) ) { - $this->customizer_repeater_checkbox_control = $args['customizer_repeater_checkbox_control']; - } - - if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) { - $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control']; - } - - if ( ! empty( $args['customizer_repeater_align_control'] ) ) { - $this->customizer_repeater_align_control = $args['customizer_repeater_align_control']; - } - - if ( ! empty( $args['customizer_repeater_shortcode_control'] ) ) { - $this->customizer_repeater_shortcode_control = $args['customizer_repeater_shortcode_control']; - } - - if ( ! empty( $args['customizer_repeater_repeater_control'] ) ) { - $this->customizer_repeater_repeater_control = $args['customizer_repeater_repeater_control']; - } - - - if ( ! empty( $id ) ) { - $this->id = $id; - } - - if ( file_exists( get_template_directory() . '/core/customizer/customizer-repeater/inc/icons.php' ) ) { - $this->customizer_icon_container = 'core/customizer/customizer-repeater/inc/icons'; - } - - $allowed_array1 = wp_kses_allowed_html( 'post' ); - $allowed_array2 = array( - 'input' => array( - 'type' => array(), - 'class' => array(), - 'placeholder' => array() - ) - ); - - $this->allowed_html = array_merge( $allowed_array1, $allowed_array2 ); - } - - /*Enqueue resources for the control*/ - public function enqueue() { - wp_enqueue_style( 'all-css', get_template_directory_uri() . '/assets/css/all.min.css', array(), 999 ); - - wp_enqueue_style( 'abiz_customizer-repeater-admin-stylesheet', get_template_directory_uri() . '/core/customizer/customizer-repeater/css/admin-style.css', array(), 999 ); - - wp_enqueue_style( 'wp-color-picker' ); - - wp_enqueue_script( 'abiz_customizer-repeater-script', get_template_directory_uri() . '/core/customizer/customizer-repeater/js/customizer_repeater.js', array('jquery', 'jquery-ui-draggable', 'wp-color-picker' ), 999, true ); - - wp_enqueue_script( 'abiz_customizer-repeater-fontawesome-iconpicker', get_template_directory_uri() . '/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js', array( 'jquery' ), 999, true ); - - wp_enqueue_style( 'abiz_customizer-repeater-fontawesome-iconpicker-script', get_template_directory_uri() . '/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css', array(), 999 ); - } - - public function render_content() { - - /*Get default options*/ - $this_default = json_decode( $this->setting->default ); - - /*Get values (json format)*/ - $values = $this->value(); - - /*Decode values*/ - $json = json_decode( $values ); - - if ( ! is_array( $json ) ) { - $json = array( $values ); - } ?> - - label ); ?> -
    - iterate_array( $this_default ); ?> - link() ); ?> - class="customizer-repeater-colector" - value=""/> - iterate_array(); ?> - link() ); ?> - class="customizer-repeater-colector"/> - iterate_array( $json ); ?> - link() ); ?> - class="customizer-repeater-colector" value="value() ); ?>"/> - -
    - - boxtitle; - - global $abiz_limit; - global $abiz_type_with_id; - echo sprintf(""); - foreach($array as $icon){ - if($it<4) - { - $abiz_limit="abiz_limit"; - $abiz_type_with_id=''; - } - else - { - $abiz_limit="abiz_overlimit"; - $abiz_type_with_id=$abiz_del_btn_id."_".$it; - } - - - ?> -
    -
    - boxtitle ) ?> -
    -
    - id)){ - $id = $icon->id; - } - if(!empty($icon->choice)){ - $choice = $icon->choice; - } - if(!empty($icon->image_url)){ - $image_url = $icon->image_url; - } - if(!empty($icon->icon_value)){ - $icon_value = $icon->icon_value; - } - if(!empty($icon->color)){ - $color = $icon->color; - } - if(!empty($icon->title)){ - $title = $icon->title; - } - - if(!empty($icon->align)){ - $align = $icon->align; - } - - if(!empty($icon->designation)){ - $designation = $icon->designation; - } - - if(!empty($icon->subtitle)){ - $subtitle = $icon->subtitle; - } - - if(!empty($icon->subtitle2)){ - $subtitle2 = $icon->subtitle2; - } - - if(!empty($icon->text)){ - $text = $icon->text; - } - if(!empty($icon->text2)){ - $text2 = $icon->text2; - } - - if(!empty($icon->button_second)){ - $button_second = $icon->button_second; - } - - if(!empty($icon->link2)){ - $link2 = $icon->link2; - } - - if(!empty($icon->btn3)){ - $btn3 = $icon->btn3; - } - - if(!empty($icon->link3)){ - $link3 = $icon->link3; - } - - if(!empty($icon->video_url)){ - $video_url = $icon->video_url; - } - - if(!empty($icon->button)){ - $button = $icon->button_text; - } - if(!empty($icon->link)){ - $link = $icon->link; - } - if(!empty($icon->shortcode)){ - $shortcode = $icon->shortcode; - } - - if(!empty($icon->social_repeater)){ - $repeater = $icon->social_repeater; - } - - if(!empty($icon->open_new_tab)){ - $open_new_tab = $icon->open_new_tab; - } - - - if($this->customizer_repeater_title_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Title','abiz' ), $this->id, 'customizer_repeater_title_control' ), - 'class' => 'customizer-repeater-title-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), - ), $title); - } - - if($this->customizer_repeater_subtitle_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle','abiz' ), $this->id, 'customizer_repeater_subtitle_control' ), - 'class' => 'customizer-repeater-subtitle-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), - ), $subtitle); - } - - if($this->customizer_repeater_subtitle2_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle 2','abiz' ), $this->id, 'customizer_repeater_subtitle2_control' ), - 'class' => 'customizer-repeater-subtitle2-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle2_control' ), - ), $subtitle2); - } - - if($this->customizer_repeater_text_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Description','abiz' ), $this->id, 'customizer_repeater_text_control' ), - 'class' => 'customizer-repeater-text-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), - ), $text); - } - if($this->customizer_repeater_text2_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label','abiz' ), $this->id, 'customizer_repeater_text2_control' ), - 'class' => 'customizer-repeater-text2-control '."$abiz_limit".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_text2_control' ), - ), $text2); - } - - if($this->customizer_repeater_link_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Link','abiz' ), $this->id, 'customizer_repeater_link_control' ), - 'class' => 'customizer-repeater-link-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'sanitize_callback' => 'esc_url_raw', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), - ), $link); - } - - - if($this->customizer_repeater_button2_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label second','abiz' ), $this->id, 'customizer_repeater_button2_control' ), - 'class' => 'customizer-repeater-button2-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_button2_control' ), - ), $button_second); - } - - if($this->customizer_repeater_link2_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link2_control' ), - 'class' => 'customizer-repeater-link2-control '."$abiz_limit".' '."$abiz_type_with_id".'', - //'sanitize_callback' => 'esc_url_raw', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link2_control' ), - ), $link2); - } - if($this->customizer_repeater_button_text_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Button Text', - 'abiz'), $this->id, 'customizer_repeater_button_text_control'), - 'class' => 'customizer-repeater-button-text-control '."$abiz_limit".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '' , $this->id, - 'customizer_repeater_button_text_control'), - ), $button); - } - - - - - if($this->customizer_repeater_btn3_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label Third','abiz' ), $this->id, 'customizer_repeater_btn3_control' ), - 'class' => 'customizer-repeater-btn3-control '."$abiz_limit".' '."$abiz_type_with_id".'', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_btn3_control' ), - ), $btn3); - } - - if($this->customizer_repeater_link3_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link3_control' ), - 'class' => 'customizer-repeater-link3-control '."$abiz_limit".' '."$abiz_type_with_id".'', - //'sanitize_callback' => 'esc_url_raw', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link3_control' ), - ), $link3); - } - - if($this->customizer_repeater_checkbox_control == true){ - $this->testimonila_check($open_new_tab); - - } - - if($this->customizer_repeater_video_url_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Video Url', - 'abiz'), $this->id, 'customizer_repeater_video_url_control'), - 'class' => 'customizer-repeater-video-url-control', - 'type' => apply_filters('abiz_customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), - ), $video_url); - } - - if($this->customizer_repeater_align_control == true){ - $this->align($align); - - } - - if($this->customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true) { - $this->icon_type_choice( $choice,$abiz_limit ); - } - if($this->customizer_repeater_image_control == true){ - $this->image_control($image_url, $choice, $abiz_limit, $it+1, $abiz_del_btn_id); - } - if($this->customizer_repeater_icon_control == true){ - $this->icon_picker_control($icon_value, $choice); - } - - - - - if($this->customizer_repeater_color_control == true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Color','abiz' ), $this->id, 'customizer_repeater_color_control' ), - 'class' => 'customizer-repeater-color-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), - 'sanitize_callback' => 'sanitize_hex_color' - ), $color); - } - - - if($this->customizer_repeater_shortcode_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Shortcode','abiz' ), $this->id, 'customizer_repeater_shortcode_control' ), - 'class' => 'customizer-repeater-shortcode-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), - ), $shortcode); - } - - if($this->customizer_repeater_designation_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Designation','abiz' ), $this->id, 'customizer_repeater_designation_control' ), - 'class' => 'customizer-repeater-designation-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), - ), $designation); - } - - if($this->customizer_repeater_repeater_control==true){ - $this->repeater_control($repeater, $abiz_limit, $abiz_type_with_id); - } ?> - - - - -
    -
    - - -
    -
    - boxtitle ) ?> -
    -
    - customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true ) { - $this->icon_type_choice(); - } - if ( $this->customizer_repeater_image_control == true ) { - $this->image_control(); - } - if ( $this->customizer_repeater_icon_control == true ) { - $this->icon_picker_control(); - } - - - - if($this->customizer_repeater_color_control==true){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Color','abiz' ), $this->id, 'customizer_repeater_color_control' ), - 'class' => 'customizer-repeater-color-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), - 'sanitize_callback' => 'sanitize_hex_color' - ) ); - } - if ( $this->customizer_repeater_title_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Title','abiz' ), $this->id, 'customizer_repeater_title_control' ), - 'class' => 'customizer-repeater-title-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), - ) ); - } - - if ( $this->customizer_repeater_subtitle_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle','abiz' ), $this->id, 'customizer_repeater_subtitle_control' ), - 'class' => 'customizer-repeater-subtitle-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), - ) ); - } - - if ( $this->customizer_repeater_subtitle2_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle 2','abiz' ), $this->id, 'customizer_repeater_subtitle2_control' ), - 'class' => 'customizer-repeater-subtitle-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle2_control' ), - ) ); - } - - - if ( $this->customizer_repeater_text_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Description','abiz' ), $this->id, 'customizer_repeater_text_control' ), - 'class' => 'customizer-repeater-text-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), - ) ); - } - if ( $this->customizer_repeater_text2_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label','abiz' ), $this->id, 'customizer_repeater_text2_control' ), - 'class' => 'customizer-repeater-text2-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_text2_control' ), - ) ); - } - - if ( $this->customizer_repeater_button2_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label Second','abiz' ), $this->id, 'customizer_repeater_button2_control' ), - 'class' => 'customizer-repeater-button2-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_button2_control' ), - ) ); - } - - if ( $this->customizer_repeater_link2_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link2_control' ), - 'class' => 'customizer-repeater-link2-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link2_control' ), - ) ); - } - if($this->customizer_repeater_button_text_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Button Text', - 'abiz'), $this->id, 'customizer_repeater_button_text_control'), - 'class' => 'customizer-repeater-button-text-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '' , $this->id, - 'customizer_repeater_button_text_control'), - )); - } - - if ( $this->customizer_repeater_link_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Link','abiz' ), $this->id, 'customizer_repeater_link_control' ), - 'class' => 'customizer-repeater-link-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), - ) ); - } - - if ( $this->customizer_repeater_btn3_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label 3','abiz' ), $this->id, 'customizer_repeater_btn3_control' ), - 'class' => 'customizer-repeater-btn3-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_btn3_control' ), - ) ); - } - - if ( $this->customizer_repeater_link3_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link3_control' ), - 'class' => 'customizer-repeater-link3-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link3_control' ), - ) ); - } - - if($this->customizer_repeater_checkbox_control == true){ - $this->testimonila_check(); - - } - - if($this->customizer_repeater_video_url_control){ - $this->input_control(array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Video Url', - 'abiz'), $this->id, 'customizer_repeater_video_url_control'), - 'class' => 'customizer-repeater-video-url-control', - 'type' => apply_filters('abiz_customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), - )); - } - - if($this->customizer_repeater_align_control == true){ - $this->align($align); - - } - - - if ( $this->customizer_repeater_shortcode_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Shortcode','abiz' ), $this->id, 'customizer_repeater_shortcode_control' ), - 'class' => 'customizer-repeater-shortcode-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), - ) ); - } - - - if ( $this->customizer_repeater_designation_control == true ) { - $this->input_control( array( - 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Designation','abiz' ), $this->id, 'customizer_repeater_designation_control' ), - 'class' => 'customizer-repeater-designation-control', - 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), - ) ); - } - - if($this->customizer_repeater_repeater_control==true){ - $this->repeater_control(); - } ?> - - -
    -
    - - - - > - - - - - - - -
    - - - class="customizer-repeater-checkbox "> - -
    - - - -
    > - - - - " value=""> - " value="" /> -
    - - - - - - - - - - - - - - - -
    -
    -
    - - -
    - customizer_icon_container ); ?> - - - -
    - -
    - - -
    - -
    -
    - - -
    - customizer_icon_container ); ?> - - - -
    - - -
    - - add_field_label = esc_html__( 'Add new field', 'abiz' ); + if ( ! empty( $args['add_field_label'] ) ) { + $this->add_field_label = $args['add_field_label']; + } + + $this->boxtitle = esc_html__( 'Customizer Repeater', 'abiz' ); + if ( ! empty ( $args['item_name'] ) ) { + $this->boxtitle = $args['item_name']; + } elseif ( ! empty( $this->label ) ) { + $this->boxtitle = $this->label; + } + + if ( ! empty( $args['customizer_repeater_image_control'] ) ) { + $this->customizer_repeater_image_control = $args['customizer_repeater_image_control']; + } + + + if ( ! empty( $args['customizer_repeater_icon_control'] ) ) { + $this->customizer_repeater_icon_control = $args['customizer_repeater_icon_control']; + } + + if ( ! empty( $args['customizer_repeater_color_control'] ) ) { + $this->customizer_repeater_color_control = $args['customizer_repeater_color_control']; + } + + if ( ! empty( $args['customizer_repeater_title_control'] ) ) { + $this->customizer_repeater_title_control = $args['customizer_repeater_title_control']; + } + + + if ( ! empty( $args['customizer_repeater_subtitle_control'] ) ) { + $this->customizer_repeater_subtitle_control = $args['customizer_repeater_subtitle_control']; + } + + if ( ! empty( $args['customizer_repeater_subtitle2_control'] ) ) { + $this->customizer_repeater_subtitle2_control = $args['customizer_repeater_subtitle2_control']; + } + + if ( ! empty( $args['customizer_repeater_btn3_control'] ) ) { + $this->customizer_repeater_btn3_control = $args['customizer_repeater_btn3_control']; + } + + if ( ! empty( $args['customizer_repeater_text_control'] ) ) { + $this->customizer_repeater_text_control = $args['customizer_repeater_text_control']; + } + if ( ! empty( $args['customizer_repeater_text2_control'] ) ) { + $this->customizer_repeater_text2_control = $args['customizer_repeater_text2_control']; + } + if ( ! empty( $args['customizer_repeater_button2_control'] ) ) { + $this->customizer_repeater_button2_control = $args['customizer_repeater_button2_control']; + } + if ( ! empty( $args['customizer_repeater_link2_control'] ) ) { + $this->customizer_repeater_link2_control = $args['customizer_repeater_link2_control']; + } + + if ( ! empty( $args['customizer_repeater_link3_control'] ) ) { + $this->customizer_repeater_link3_control = $args['customizer_repeater_link3_control']; + } + + if ( ! empty( $args['customizer_repeater_designation_control'] ) ) { + $this->customizer_repeater_designation_control = $args['customizer_repeater_designation_control']; + } + + if ( ! empty( $args['customizer_repeater_button_text_control'] ) ) { + $this->customizer_repeater_button_text_control = $args['customizer_repeater_button_text_control']; + } + + if ( ! empty( $args['customizer_repeater_link_control'] ) ) { + $this->customizer_repeater_link_control = $args['customizer_repeater_link_control']; + } + + if ( ! empty( $args['customizer_repeater_checkbox_control'] ) ) { + $this->customizer_repeater_checkbox_control = $args['customizer_repeater_checkbox_control']; + } + + if ( ! empty( $args['customizer_repeater_video_url_control'] ) ) { + $this->customizer_repeater_video_url_control = $args['customizer_repeater_video_url_control']; + } + + if ( ! empty( $args['customizer_repeater_align_control'] ) ) { + $this->customizer_repeater_align_control = $args['customizer_repeater_align_control']; + } + + if ( ! empty( $args['customizer_repeater_shortcode_control'] ) ) { + $this->customizer_repeater_shortcode_control = $args['customizer_repeater_shortcode_control']; + } + + if ( ! empty( $args['customizer_repeater_repeater_control'] ) ) { + $this->customizer_repeater_repeater_control = $args['customizer_repeater_repeater_control']; + } + + + if ( ! empty( $id ) ) { + $this->id = $id; + } + + if ( file_exists( get_template_directory() . '/core/customizer/customizer-repeater/inc/icons.php' ) ) { + $this->customizer_icon_container = 'core/customizer/customizer-repeater/inc/icons'; + } + + $allowed_array1 = wp_kses_allowed_html( 'post' ); + $allowed_array2 = array( + 'input' => array( + 'type' => array(), + 'class' => array(), + 'placeholder' => array() + ) + ); + + $this->allowed_html = array_merge( $allowed_array1, $allowed_array2 ); + } + + /*Enqueue resources for the control*/ + public function enqueue() { + wp_enqueue_style( 'all-css', get_template_directory_uri() . '/assets/css/all.min.css', array(), 999 ); + + wp_enqueue_style( 'abiz_customizer-repeater-admin-stylesheet', get_template_directory_uri() . '/core/customizer/customizer-repeater/css/admin-style.css', array(), 999 ); + + wp_enqueue_style( 'wp-color-picker' ); + + wp_enqueue_script( 'abiz_customizer-repeater-script', get_template_directory_uri() . '/core/customizer/customizer-repeater/js/customizer_repeater.js', array('jquery', 'jquery-ui-draggable', 'wp-color-picker' ), 999, true ); + + wp_enqueue_script( 'abiz_customizer-repeater-fontawesome-iconpicker', get_template_directory_uri() . '/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js', array( 'jquery' ), 999, true ); + + wp_enqueue_style( 'abiz_customizer-repeater-fontawesome-iconpicker-script', get_template_directory_uri() . '/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css', array(), 999 ); + } + + public function render_content() { + + /*Get default options*/ + $this_default = json_decode( $this->setting->default ); + + /*Get values (json format)*/ + $values = $this->value(); + + /*Decode values*/ + $json = json_decode( $values ); + + if ( ! is_array( $json ) ) { + $json = array( $values ); + } ?> + + label ); ?> +
    + iterate_array( $this_default ); ?> + link() ); ?> + class="customizer-repeater-colector" + value=""/> + iterate_array(); ?> + link() ); ?> + class="customizer-repeater-colector"/> + iterate_array( $json ); ?> + link() ); ?> + class="customizer-repeater-colector" value="value() ); ?>"/> + +
    + + boxtitle; + + global $abiz_limit; + global $abiz_type_with_id; + echo sprintf(""); + foreach($array as $icon){ + if($it<4) + { + $abiz_limit="abiz_limit"; + $abiz_type_with_id=''; + } + else + { + $abiz_limit="abiz_overlimit"; + $abiz_type_with_id=$abiz_del_btn_id."_".$it; + } + + + ?> +
    +
    + boxtitle ) ?> +
    +
    + id)){ + $id = $icon->id; + } + if(!empty($icon->choice)){ + $choice = $icon->choice; + } + if(!empty($icon->image_url)){ + $image_url = $icon->image_url; + } + if(!empty($icon->icon_value)){ + $icon_value = $icon->icon_value; + } + if(!empty($icon->color)){ + $color = $icon->color; + } + if(!empty($icon->title)){ + $title = $icon->title; + } + + if(!empty($icon->align)){ + $align = $icon->align; + } + + if(!empty($icon->designation)){ + $designation = $icon->designation; + } + + if(!empty($icon->subtitle)){ + $subtitle = $icon->subtitle; + } + + if(!empty($icon->subtitle2)){ + $subtitle2 = $icon->subtitle2; + } + + if(!empty($icon->text)){ + $text = $icon->text; + } + if(!empty($icon->text2)){ + $text2 = $icon->text2; + } + + if(!empty($icon->button_second)){ + $button_second = $icon->button_second; + } + + if(!empty($icon->link2)){ + $link2 = $icon->link2; + } + + if(!empty($icon->btn3)){ + $btn3 = $icon->btn3; + } + + if(!empty($icon->link3)){ + $link3 = $icon->link3; + } + + if(!empty($icon->video_url)){ + $video_url = $icon->video_url; + } + + if(!empty($icon->button)){ + $button = $icon->button_text; + } + if(!empty($icon->link)){ + $link = $icon->link; + } + if(!empty($icon->shortcode)){ + $shortcode = $icon->shortcode; + } + + if(!empty($icon->social_repeater)){ + $repeater = $icon->social_repeater; + } + + if(!empty($icon->open_new_tab)){ + $open_new_tab = $icon->open_new_tab; + } + + + if($this->customizer_repeater_title_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Title','abiz' ), $this->id, 'customizer_repeater_title_control' ), + 'class' => 'customizer-repeater-title-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), + ), $title); + } + + if($this->customizer_repeater_subtitle_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle','abiz' ), $this->id, 'customizer_repeater_subtitle_control' ), + 'class' => 'customizer-repeater-subtitle-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), + ), $subtitle); + } + + if($this->customizer_repeater_subtitle2_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle 2','abiz' ), $this->id, 'customizer_repeater_subtitle2_control' ), + 'class' => 'customizer-repeater-subtitle2-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle2_control' ), + ), $subtitle2); + } + + if($this->customizer_repeater_text_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Description','abiz' ), $this->id, 'customizer_repeater_text_control' ), + 'class' => 'customizer-repeater-text-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), + ), $text); + } + if($this->customizer_repeater_text2_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label','abiz' ), $this->id, 'customizer_repeater_text2_control' ), + 'class' => 'customizer-repeater-text2-control '."$abiz_limit".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_text2_control' ), + ), $text2); + } + + if($this->customizer_repeater_link_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Link','abiz' ), $this->id, 'customizer_repeater_link_control' ), + 'class' => 'customizer-repeater-link-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'sanitize_callback' => 'esc_url_raw', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), + ), $link); + } + + + if($this->customizer_repeater_button2_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label second','abiz' ), $this->id, 'customizer_repeater_button2_control' ), + 'class' => 'customizer-repeater-button2-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_button2_control' ), + ), $button_second); + } + + if($this->customizer_repeater_link2_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link2_control' ), + 'class' => 'customizer-repeater-link2-control '."$abiz_limit".' '."$abiz_type_with_id".'', + //'sanitize_callback' => 'esc_url_raw', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link2_control' ), + ), $link2); + } + if($this->customizer_repeater_button_text_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Button Text', + 'abiz'), $this->id, 'customizer_repeater_button_text_control'), + 'class' => 'customizer-repeater-button-text-control '."$abiz_limit".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '' , $this->id, + 'customizer_repeater_button_text_control'), + ), $button); + } + + + + + if($this->customizer_repeater_btn3_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label Third','abiz' ), $this->id, 'customizer_repeater_btn3_control' ), + 'class' => 'customizer-repeater-btn3-control '."$abiz_limit".' '."$abiz_type_with_id".'', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_btn3_control' ), + ), $btn3); + } + + if($this->customizer_repeater_link3_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link3_control' ), + 'class' => 'customizer-repeater-link3-control '."$abiz_limit".' '."$abiz_type_with_id".'', + //'sanitize_callback' => 'esc_url_raw', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link3_control' ), + ), $link3); + } + + if($this->customizer_repeater_checkbox_control == true){ + $this->testimonila_check($open_new_tab); + + } + + if($this->customizer_repeater_video_url_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Video Url', + 'abiz'), $this->id, 'customizer_repeater_video_url_control'), + 'class' => 'customizer-repeater-video-url-control', + 'type' => apply_filters('abiz_customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), + ), $video_url); + } + + if($this->customizer_repeater_align_control == true){ + $this->align($align); + + } + + if($this->customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true) { + $this->icon_type_choice( $choice,$abiz_limit ); + } + if($this->customizer_repeater_image_control == true){ + $this->image_control($image_url, $choice, $abiz_limit, $it+1, $abiz_del_btn_id); + } + if($this->customizer_repeater_icon_control == true){ + $this->icon_picker_control($icon_value, $choice); + } + + + + + if($this->customizer_repeater_color_control == true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Color','abiz' ), $this->id, 'customizer_repeater_color_control' ), + 'class' => 'customizer-repeater-color-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), + 'sanitize_callback' => 'sanitize_hex_color' + ), $color); + } + + + if($this->customizer_repeater_shortcode_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Shortcode','abiz' ), $this->id, 'customizer_repeater_shortcode_control' ), + 'class' => 'customizer-repeater-shortcode-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), + ), $shortcode); + } + + if($this->customizer_repeater_designation_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Designation','abiz' ), $this->id, 'customizer_repeater_designation_control' ), + 'class' => 'customizer-repeater-designation-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), + ), $designation); + } + + if($this->customizer_repeater_repeater_control==true){ + $this->repeater_control($repeater, $abiz_limit, $abiz_type_with_id); + } ?> + + + + +
    +
    + + +
    +
    + boxtitle ) ?> +
    +
    + customizer_repeater_image_control == true && $this->customizer_repeater_icon_control == true ) { + $this->icon_type_choice(); + } + if ( $this->customizer_repeater_image_control == true ) { + $this->image_control(); + } + if ( $this->customizer_repeater_icon_control == true ) { + $this->icon_picker_control(); + } + + + + if($this->customizer_repeater_color_control==true){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Color','abiz' ), $this->id, 'customizer_repeater_color_control' ), + 'class' => 'customizer-repeater-color-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'color', $this->id, 'customizer_repeater_color_control' ), + 'sanitize_callback' => 'sanitize_hex_color' + ) ); + } + if ( $this->customizer_repeater_title_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Title','abiz' ), $this->id, 'customizer_repeater_title_control' ), + 'class' => 'customizer-repeater-title-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_title_control' ), + ) ); + } + + if ( $this->customizer_repeater_subtitle_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle','abiz' ), $this->id, 'customizer_repeater_subtitle_control' ), + 'class' => 'customizer-repeater-subtitle-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle_control' ), + ) ); + } + + if ( $this->customizer_repeater_subtitle2_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Subtitle 2','abiz' ), $this->id, 'customizer_repeater_subtitle2_control' ), + 'class' => 'customizer-repeater-subtitle-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_subtitle2_control' ), + ) ); + } + + + if ( $this->customizer_repeater_text_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Description','abiz' ), $this->id, 'customizer_repeater_text_control' ), + 'class' => 'customizer-repeater-text-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_text_control' ), + ) ); + } + if ( $this->customizer_repeater_text2_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label','abiz' ), $this->id, 'customizer_repeater_text2_control' ), + 'class' => 'customizer-repeater-text2-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_text2_control' ), + ) ); + } + + if ( $this->customizer_repeater_button2_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label Second','abiz' ), $this->id, 'customizer_repeater_button2_control' ), + 'class' => 'customizer-repeater-button2-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_button2_control' ), + ) ); + } + + if ( $this->customizer_repeater_link2_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link2_control' ), + 'class' => 'customizer-repeater-link2-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link2_control' ), + ) ); + } + if($this->customizer_repeater_button_text_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Button Text', + 'abiz'), $this->id, 'customizer_repeater_button_text_control'), + 'class' => 'customizer-repeater-button-text-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '' , $this->id, + 'customizer_repeater_button_text_control'), + )); + } + + if ( $this->customizer_repeater_link_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Link','abiz' ), $this->id, 'customizer_repeater_link_control' ), + 'class' => 'customizer-repeater-link-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link_control' ), + ) ); + } + + if ( $this->customizer_repeater_btn3_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Button Label 3','abiz' ), $this->id, 'customizer_repeater_btn3_control' ), + 'class' => 'customizer-repeater-btn3-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_btn3_control' ), + ) ); + } + + if ( $this->customizer_repeater_link3_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'link','abiz' ), $this->id, 'customizer_repeater_link3_control' ), + 'class' => 'customizer-repeater-link3-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_link3_control' ), + ) ); + } + + if($this->customizer_repeater_checkbox_control == true){ + $this->testimonila_check(); + + } + + if($this->customizer_repeater_video_url_control){ + $this->input_control(array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__('Video Url', + 'abiz'), $this->id, 'customizer_repeater_video_url_control'), + 'class' => 'customizer-repeater-video-url-control', + 'type' => apply_filters('abiz_customizer_repeater_video_url_control', 'textarea', $this->id, 'customizer_repeater_video_url_control' ), + )); + } + + if($this->customizer_repeater_align_control == true){ + $this->align($align); + + } + + + if ( $this->customizer_repeater_shortcode_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Shortcode','abiz' ), $this->id, 'customizer_repeater_shortcode_control' ), + 'class' => 'customizer-repeater-shortcode-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', '', $this->id, 'customizer_repeater_shortcode_control' ), + ) ); + } + + + if ( $this->customizer_repeater_designation_control == true ) { + $this->input_control( array( + 'label' => apply_filters('abiz_repeater_input_labels_filter', esc_html__( 'Designation','abiz' ), $this->id, 'customizer_repeater_designation_control' ), + 'class' => 'customizer-repeater-designation-control', + 'type' => apply_filters('abiz_repeater_input_types_filter', 'textarea', $this->id, 'customizer_repeater_designation_control' ), + ) ); + } + + if($this->customizer_repeater_repeater_control==true){ + $this->repeater_control(); + } ?> + + +
    +
    + + + + > + + + + + + + +
    + + + class="customizer-repeater-checkbox "> + +
    + + + +
    > + + + + " value=""> + " value="" /> +
    + + + + + + + + + + + + + + + +
    +
    +
    + + +
    + customizer_icon_container ); ?> + + + +
    + +
    + + +
    + +
    +
    + + +
    + customizer_icon_container ); ?> + + + +
    + + +
    + + div { - margin: 1em 0; -} - -.customizer-repeater-box-content-hidden .customize-control-title { - font-size: 13px; - line-height: 1.5; - font-weight: normal; - margin-bottom: 0; - margin-top: 1em; -} - -.customizer-repeater-box-content-hidden .customize-control-title:after { - content: ":"; -} - -.customizer-repeater-box-content-hidden span.description { - font-size: 12px; - font-style: normal; -} - -.customizer-repeater-general-control-repeater-container, .customizer-repeater-general-control-repeater_container { - border: 1px solid #e5e5e5; - border-top: none; - margin-bottom: 12px; - width: 100%; - float: left; - background: #fff; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); - box-shadow: 0 1px 1px rgba(0, 0, 0, .04); -} - -.customizer-repeater-box-content-hidden .wp-picker-container, .customizer-repeater-box-content-hidden .wp-picker-container .wp-color-result, .icp-container { - margin: 0; -} - -.customizer-repeater-box-content-hidden input:not(.icp, .wp-color-picker), -.customizer-repeater-box-content-hidden textarea, -.customizer-repeater-box-content-hidden .wp-picker-container { - margin-bottom: 1em !important; -} - -.social-repeater-general-control-remove-field { - cursor: pointer; - color: #a00; - background: none; - border: none; - padding: 0; - margin-top: 10px; -} - -.social-repeater-general-control-remove-field:hover { - color: red; -} - -.customizer-repeater-box-content-hidden .wp-picker-holder { - position: relative; - left: -10px; -} - -.customizer-repeater-box-content-hidden .wp-picker-input-wrap { - margin-left: 10px; -} - -.customizer-repeater-box-content-hidden .wp-picker-container .iris-picker { - border-left: none; - border-right: none; -} - -button.customizer-repeater-new-field { - float: right; -} - -button.customizer-repeater-new-field:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: -1px; - font: 400 20px/1 dashicons; - vertical-align: middle; - -webkit-transition: all .2s; - transition: all .2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.customizer-repeater-box-content-hidden > div.customizer-repeater-social-repeater { - margin-top: 0; -} - -.customizer-repeater-general-control-repeater-container .customizer-repeater-icon-control { - width: 100%; - margin: 0; - padding: 0; -} - -#customizer-repeater-new-field { - width: 100%; -} - -.customize-control-widget_form .widget-control-save { - display: block !important; -} - -.customizer-repeater-box-content-hidden { - background-color: #fff; -} - -.customizer-repeater-image-control .customizer-repeater-custom-media-button { - margin-top: 5px; -} - -.customizer-icons { - display: inline-block; - padding: 0 10px 0 0; - vertical-align: middle; -} - -.social-repeater-remove-social-item { - display: inline-block; - vertical-align: top; - color: #a00; - border: none; - background: none; - cursor: pointer; - padding: 0; -} - -.social-repeater-remove-social-item:hover { - color: red; -} - -.customizer-repeater-social-repeater > .customizer-repeater-social-repeater-container:not(:first-child) { - margin-top: 25px; -} - -.icp-container { - margin-bottom: 10px; -} - -.button-secondary.social-repeater-add-social-item:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: -1px; - font: 400 20px/1 dashicons; - vertical-align: middle; - -webkit-transition: all .2s; - transition: all .2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.button-secondary.social-repeater-add-social-item { - vertical-align: text-top; - float: right; -} - -.customizer-repeater-box-content-hidden textarea { - width: 100%; +.customizer-repeater-general-control-repeater-container .customizer-repeater-box-content-hidden:after { + content: ""; + display: table; + clear: both; +} + +.customizer-repeater-general-control-repeater-container .customizer-repeater-box-content-hidden { + display: none; +} + +.customizer-repeater-customize-control-title { + margin: 0; + padding: 15px; + font-size: 1em; + line-height: 1; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + display: block; + font-weight: 600; + color: #23282d; + border: 1px solid #e5e5e5; + cursor: move; +} + +.customizer-repeater-customize-control-title:hover { + border: 1px solid #999; +} + +.customizer-repeater-customize-control-title:after { + content: "\f140"; + font-family: dashicons; + font-size: 20px; + height: 13px; + bottom: 3px; + position: relative; + float: right; +} + +.customizer-repeater-customize-control-title.repeater-expanded:after { + content: "\f142"; +} + +.customizer-repeater-box-content-hidden { + border: 1px solid #e5e5e5; + border-top: none; + padding: 1px 10px 10px; +} + +.customizer-repeater-box-content-hidden > div { + margin: 1em 0; +} + +.customizer-repeater-box-content-hidden .customize-control-title { + font-size: 13px; + line-height: 1.5; + font-weight: normal; + margin-bottom: 0; + margin-top: 1em; +} + +.customizer-repeater-box-content-hidden .customize-control-title:after { + content: ":"; +} + +.customizer-repeater-box-content-hidden span.description { + font-size: 12px; + font-style: normal; +} + +.customizer-repeater-general-control-repeater-container, .customizer-repeater-general-control-repeater_container { + border: 1px solid #e5e5e5; + border-top: none; + margin-bottom: 12px; + width: 100%; + float: left; + background: #fff; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); + box-shadow: 0 1px 1px rgba(0, 0, 0, .04); +} + +.customizer-repeater-box-content-hidden .wp-picker-container, .customizer-repeater-box-content-hidden .wp-picker-container .wp-color-result, .icp-container { + margin: 0; +} + +.customizer-repeater-box-content-hidden input:not(.icp, .wp-color-picker), +.customizer-repeater-box-content-hidden textarea, +.customizer-repeater-box-content-hidden .wp-picker-container { + margin-bottom: 1em !important; +} + +.social-repeater-general-control-remove-field { + cursor: pointer; + color: #a00; + background: none; + border: none; + padding: 0; + margin-top: 10px; +} + +.social-repeater-general-control-remove-field:hover { + color: red; +} + +.customizer-repeater-box-content-hidden .wp-picker-holder { + position: relative; + left: -10px; +} + +.customizer-repeater-box-content-hidden .wp-picker-input-wrap { + margin-left: 10px; +} + +.customizer-repeater-box-content-hidden .wp-picker-container .iris-picker { + border-left: none; + border-right: none; +} + +button.customizer-repeater-new-field { + float: right; +} + +button.customizer-repeater-new-field:before { + content: "\f132"; + display: inline-block; + position: relative; + left: -2px; + top: -1px; + font: 400 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all .2s; + transition: all .2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.customizer-repeater-box-content-hidden > div.customizer-repeater-social-repeater { + margin-top: 0; +} + +.customizer-repeater-general-control-repeater-container .customizer-repeater-icon-control { + width: 100%; + margin: 0; + padding: 0; +} + +#customizer-repeater-new-field { + width: 100%; +} + +.customize-control-widget_form .widget-control-save { + display: block !important; +} + +.customizer-repeater-box-content-hidden { + background-color: #fff; +} + +.customizer-repeater-image-control .customizer-repeater-custom-media-button { + margin-top: 5px; +} + +.customizer-icons { + display: inline-block; + padding: 0 10px 0 0; + vertical-align: middle; +} + +.social-repeater-remove-social-item { + display: inline-block; + vertical-align: top; + color: #a00; + border: none; + background: none; + cursor: pointer; + padding: 0; +} + +.social-repeater-remove-social-item:hover { + color: red; +} + +.customizer-repeater-social-repeater > .customizer-repeater-social-repeater-container:not(:first-child) { + margin-top: 25px; +} + +.icp-container { + margin-bottom: 10px; +} + +.button-secondary.social-repeater-add-social-item:before { + content: "\f132"; + display: inline-block; + position: relative; + left: -2px; + top: -1px; + font: 400 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all .2s; + transition: all .2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.button-secondary.social-repeater-add-social-item { + vertical-align: text-top; + float: right; +} + +.customizer-repeater-box-content-hidden textarea { + width: 100%; } \ No newline at end of file diff --git a/wp-content/themes/chromax/inc/customizer/controls/code/customizer-repeater/css/fontawesome-iconpicker.css b/gk-assets/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.css similarity index 94% rename from wp-content/themes/chromax/inc/customizer/controls/code/customizer-repeater/css/fontawesome-iconpicker.css rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.css index d9f25cd..2070ebe 100644 --- a/wp-content/themes/chromax/inc/customizer/controls/code/customizer-repeater/css/fontawesome-iconpicker.css +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.css @@ -1,156 +1,156 @@ -.iconpicker .iconpicker-items, -.iconpicker .iconpicker-items:after, -.iconpicker-popover .popover-footer:after, -.iconpicker:after { - clear: both -} - -.iconpicker-popover.popover { - position: absolute; - padding: 1px; - text-align: left; - background: #e5e5e5; - z-index: 999; - display: none; - margin-left: -10px; - width: 254px -} - -.iconpicker, -.iconpicker-popover.popover.iconpicker-visible { - display: block -} - -.iconpicker-popover.popover .popover-title { - padding: 5px; - font-size: 5px; - line-height: 16px; - border-bottom: 1px solid #ebebeb; - background-color: #e5e5e5 -} - -.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search { - margin: 0 0 2px -} - -.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search { - margin-top: 14px -} - -.iconpicker-popover.popover .popover-content { - padding: 0; - text-align: center -} - -.iconpicker-popover.popover>.arrow, -.iconpicker-popover.popover>.arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid -} - -.iconpicker *, -.icp-container { - position: relative -} - -.iconpicker-popover.popover>.arrow { - border-width: 11px -} - -.iconpicker-popover.popover>.arrow:after { - border-width: 10px; - content: "" -} - -.iconpicker-popover.popover.bottomLeft>.arrow { - border-top-width: 0; - border-bottom-color: #e5e5e5; - top: -11px -} - -.iconpicker-popover.popover.bottomLeft>.arrow:after { - content: " "; - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #e5e5e5 -} - -.iconpicker-popover.popover.bottomLeft>.arrow { - left: 14px; - margin-left: 0 -} - -.iconpicker, -.iconpicker .iconpicker-items { - position: relative; - margin: 0; - overflow: hidden -} - -.iconpicker { - text-align: left; - text-shadow: none; - line-height: 0 -} - -.iconpicker .iconpicker-items:after, -.iconpicker .iconpicker-items:before, -.iconpicker:after, -.iconpicker:before { - content: " "; - display: table -} - -.iconpicker * { - box-sizing: content-box -} - -.iconpicker .iconpicker-items { - float: none; - padding: 5px 0 0 5px; - background: #fff; - overflow-y: auto; - min-height: 55px; - max-height: 275px -} - -.iconpicker .iconpicker-items i { - float: left; - width: 32px; - height: 32px; - line-height: 32px; - margin: 0 7px 7px 0; - text-align: center; - cursor: pointer; - border-radius: 3px; - font-size: 18px; - color: #444; - box-shadow: 0 0 0 1px #ddd; - transition: transform .2s ease -} - -.iconpicker .iconpicker-items i:nth-child(6n) { - margin-right: 0 -} - -.iconpicker .iconpicker-items i:hover { - transform: scale(1.4); - color: #008ec2; - box-shadow: none -} - -.icp { - padding-left: 30px -} - -.icp-container .input-group-addon { - position: absolute; - top: 1px; - left: 5px; - padding: 3px +.iconpicker .iconpicker-items, +.iconpicker .iconpicker-items:after, +.iconpicker-popover .popover-footer:after, +.iconpicker:after { + clear: both +} + +.iconpicker-popover.popover { + position: absolute; + padding: 1px; + text-align: left; + background: #e5e5e5; + z-index: 999; + display: none; + margin-left: -10px; + width: 254px +} + +.iconpicker, +.iconpicker-popover.popover.iconpicker-visible { + display: block +} + +.iconpicker-popover.popover .popover-title { + padding: 5px; + font-size: 5px; + line-height: 16px; + border-bottom: 1px solid #ebebeb; + background-color: #e5e5e5 +} + +.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search { + margin: 0 0 2px +} + +.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search { + margin-top: 14px +} + +.iconpicker-popover.popover .popover-content { + padding: 0; + text-align: center +} + +.iconpicker-popover.popover>.arrow, +.iconpicker-popover.popover>.arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid +} + +.iconpicker *, +.icp-container { + position: relative +} + +.iconpicker-popover.popover>.arrow { + border-width: 11px +} + +.iconpicker-popover.popover>.arrow:after { + border-width: 10px; + content: "" +} + +.iconpicker-popover.popover.bottomLeft>.arrow { + border-top-width: 0; + border-bottom-color: #e5e5e5; + top: -11px +} + +.iconpicker-popover.popover.bottomLeft>.arrow:after { + content: " "; + top: 1px; + margin-left: -10px; + border-top-width: 0; + border-bottom-color: #e5e5e5 +} + +.iconpicker-popover.popover.bottomLeft>.arrow { + left: 14px; + margin-left: 0 +} + +.iconpicker, +.iconpicker .iconpicker-items { + position: relative; + margin: 0; + overflow: hidden +} + +.iconpicker { + text-align: left; + text-shadow: none; + line-height: 0 +} + +.iconpicker .iconpicker-items:after, +.iconpicker .iconpicker-items:before, +.iconpicker:after, +.iconpicker:before { + content: " "; + display: table +} + +.iconpicker * { + box-sizing: content-box +} + +.iconpicker .iconpicker-items { + float: none; + padding: 5px 0 0 5px; + background: #fff; + overflow-y: auto; + min-height: 55px; + max-height: 275px +} + +.iconpicker .iconpicker-items i { + float: left; + width: 32px; + height: 32px; + line-height: 32px; + margin: 0 7px 7px 0; + text-align: center; + cursor: pointer; + border-radius: 3px; + font-size: 18px; + color: #444; + box-shadow: 0 0 0 1px #ddd; + transition: transform .2s ease +} + +.iconpicker .iconpicker-items i:nth-child(6n) { + margin-right: 0 +} + +.iconpicker .iconpicker-items i:hover { + transform: scale(1.4); + color: #008ec2; + box-shadow: none +} + +.icp { + padding-left: 30px +} + +.icp-container .input-group-addon { + position: absolute; + top: 1px; + left: 5px; + padding: 3px } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css b/gk-assets/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css similarity index 100% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/css/fontawesome-iconpicker.min.css diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php b/gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php similarity index 96% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php index 59c032a..8a29f96 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/customizer.php @@ -1,34 +1,34 @@ - $box ){ - foreach ($box as $key => $value){ - - switch ( $key ) { - case 'icon_value': - $input_decoded[$boxk][$key] = wp_kses_post( force_balance_tags( $value ) ); - break; - - case 'link': - $input_decoded[$boxk][$key] = esc_url_raw( $value ); - break; - - default: - $input_decoded[$boxk][$key] = wp_kses_post( force_balance_tags( $value ) ); - } - - } - } - return json_encode($input_decoded); - } - return $input; -} + $box ){ + foreach ($box as $key => $value){ + + switch ( $key ) { + case 'icon_value': + $input_decoded[$boxk][$key] = wp_kses_post( force_balance_tags( $value ) ); + break; + + case 'link': + $input_decoded[$boxk][$key] = esc_url_raw( $value ); + break; + + default: + $input_decoded[$boxk][$key] = wp_kses_post( force_balance_tags( $value ) ); + } + + } + } + return json_encode($input_decoded); + } + return $input; +} diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/inc/icons.php b/gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/icons.php similarity index 98% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/inc/icons.php rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/icons.php index 832fbe9..c3c483e 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-repeater/inc/icons.php +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/inc/icons.php @@ -1,87 +1,87 @@ -
    -
    -
    - -
    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js b/gk-assets/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js similarity index 97% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js index 10acccd..25e97ed 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/js/customizer_repeater.js @@ -1,584 +1,584 @@ -/* global jQuery */ -/* global wp */ -function abiz_media_upload(button_class) { - 'use strict'; - jQuery('body').on('click', button_class, function () { - var button_id = '#' + jQuery(this).attr('id'); - var display_field = jQuery(this).parent().children('input:text'); - var _custom_media = true; - - wp.media.editor.send.attachment = function (props, attachment) { - - if (_custom_media) { - if (typeof display_field !== 'undefined') { - switch (props.size) { - case 'full': - display_field.val(attachment.sizes.full.url); - display_field.trigger('change'); - break; - case 'medium': - display_field.val(attachment.sizes.medium.url); - display_field.trigger('change'); - break; - case 'thumbnail': - display_field.val(attachment.sizes.thumbnail.url); - display_field.trigger('change'); - break; - default: - display_field.val(attachment.url); - display_field.trigger('change'); - } - } - _custom_media = false; - } else { - return wp.media.editor.send.attachment(button_id, [props, attachment]); - } - }; - wp.media.editor.open(button_class); - window.send_to_editor = function (html) { - - }; - return false; - }); -} - -/******************************************** - *** Generate unique id *** - *********************************************/ -function abiz_customizer_repeater_uniqid(prefix, more_entropy) { - 'use strict'; - if (typeof prefix === 'undefined') { - prefix = ''; - } - - var retId; - var php_js; - var formatSeed = function (seed, reqWidth) { - seed = parseInt(seed, 10) - .toString(16); // to hex str - if (reqWidth < seed.length) { // so long we split - return seed.slice(seed.length - reqWidth); - } - if (reqWidth > seed.length) { // so short we pad - return new Array(1 + (reqWidth - seed.length)) - .join('0') + seed; - } - return seed; - }; - - // BEGIN REDUNDANT - if (!php_js) { - php_js = {}; - } - // END REDUNDANT - if (!php_js.uniqidSeed) { // init seed with big random int - php_js.uniqidSeed = Math.floor(Math.random() * 0x75bcd15); - } - php_js.uniqidSeed++; - - retId = prefix; // start with prefix, add current milliseconds hex string - retId += formatSeed(parseInt(new Date() - .getTime() / 1000, 10), 8); - retId += formatSeed(php_js.uniqidSeed, 5); // add seed hex string - if (more_entropy) { - // for more entropy we add a float lower to 10 - retId += (Math.random() * 10) - .toFixed(8) - .toString(); - } - - return retId; -} - - -/******************************************** - *** General Repeater *** - *********************************************/ -function abiz_customizer_repeater_refresh_social_icons(th) { - 'use strict'; - var icons_repeater_values = []; - th.find('.customizer-repeater-social-repeater-container').each(function () { - var icon = jQuery(this).find('.icp').val(); - var link = jQuery(this).find('.customizer-repeater-social-repeater-link').val(); - var id = jQuery(this).find('.customizer-repeater-social-repeater-id').val(); - - if (!id) { - id = 'customizer-repeater-social-repeater-' + abiz_customizer_repeater_uniqid(); - jQuery(this).find('.customizer-repeater-social-repeater-id').val(id); - } - - if (icon !== '' && link !== '') { - icons_repeater_values.push({ - 'icon': icon, - 'link': link, - 'id': id - }); - } - }); - - th.find('.social-repeater-socials-repeater-colector').val(JSON.stringify(icons_repeater_values)); - abiz_customizer_repeater_refresh_general_control_values(); -} - - -function abiz_customizer_repeater_refresh_general_control_values() { - 'use strict'; - jQuery('.customizer-repeater-general-control-repeater').each(function () { - var values = []; - var th = jQuery(this); - th.find('.customizer-repeater-general-control-repeater-container').each(function () { - - var icon_value = jQuery(this).find('.icp').val(); - var text = jQuery(this).find('.customizer-repeater-text-control').val(); - var link = jQuery(this).find('.customizer-repeater-link-control').val(); - var text2 = jQuery(this).find('.customizer-repeater-text2-control').val(); - var link2 = jQuery(this).find('.customizer-repeater-link2-control').val(); - var link3 = jQuery(this).find('.customizer-repeater-link3-control').val(); - var color = jQuery(this).find('input.customizer-repeater-color-control').val(); - var color2 = jQuery(this).find('input.customizer-repeater-color2-control').val(); - var image_url = jQuery(this).find('.custom-media-url').val(); - var choice = jQuery(this).find('.customizer-repeater-image-choice').val(); - var title = jQuery(this).find('.customizer-repeater-title-control').val(); - var subtitle = jQuery(this).find('.customizer-repeater-subtitle-control').val(); - var subtitle2 = jQuery(this).find('.customizer-repeater-subtitle2-control').val(); - var btn3 = jQuery(this).find('.customizer-repeater-btn3-control').val(); - var button_second = jQuery(this).find('.customizer-repeater-button2-control').val(); - var align = jQuery(this).find('.customizer-repeater-align').val(); - var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').attr("checked") ? 'yes' : 'no'; - var id = jQuery(this).find('.social-repeater-box-id').val(); - if (!id) { - id = 'social-repeater-' + abiz_customizer_repeater_uniqid(); - jQuery(this).find('.social-repeater-box-id').val(id); - } - var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val(); - var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val(); - - if (text !== '' || image_url !== '' || title !== '' || subtitle !== '' || subtitle2 !== '' || btn3 !== '' || icon_value !== '' || link !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || align !== '' || color !== '') { - values.push({ - 'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value), - 'color': color, - 'color2': color2, - 'text': abizescapeHtml(text), - 'link': link, - 'text2': abizescapeHtml(text2), - 'button_second': abizescapeHtml(button_second), - 'link2': link2, - 'link3': link3, - 'image_url': (choice === 'customizer_repeater_none' ? '' : image_url), - 'choice': choice, - 'title': abizescapeHtml(title), - 'subtitle': abizescapeHtml(subtitle), - 'subtitle2': abizescapeHtml(subtitle2), - 'btn3': abizescapeHtml(btn3), - 'align': abizescapeHtml(align), - 'open_new_tab' : open_new_tab, - 'social_repeater': abizescapeHtml(social_repeater), - 'id': id, - 'shortcode': abizescapeHtml(shortcode) - }); - } - - }); - th.find('.customizer-repeater-colector').val(JSON.stringify(values)); - th.find('.customizer-repeater-colector').trigger('change'); - }); -} - - -jQuery(document).ready(function () { - 'use strict'; - var abiz_theme_controls = jQuery('#customize-theme-controls'); - abiz_theme_controls.on('click', '.customizer-repeater-customize-control-title', function () { - jQuery(this).next().slideToggle('medium', function () { - if (jQuery(this).is(':visible')){ - jQuery(this).prev().addClass('repeater-expanded'); - jQuery(this).css('display', 'block'); - } else { - jQuery(this).prev().removeClass('repeater-expanded'); - } - }); - }); - - abiz_theme_controls.on('change', '.icp',function(){ - abiz_customizer_repeater_refresh_general_control_values(); - return false; - }); - - abiz_theme_controls.on('change','.customizer-repeater-align', function(){ - abiz_customizer_repeater_refresh_general_control_values(); - return false; - - }); - - abiz_theme_controls.on('change', '.customizer-repeater-image-choice', function () { - if (jQuery(this).val() === 'customizer_repeater_image') { - jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); - jQuery(this).parent().parent().find('.customizer-repeater-image-control').show(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().hide(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').hide(); - - } - if (jQuery(this).val() === 'customizer_repeater_icon') { - jQuery(this).parent().parent().find('.social-repeater-general-control-icon').show(); - jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().show(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').show(); - } - if (jQuery(this).val() === 'customizer_repeater_none') { - jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); - jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().hide(); - jQuery(this).parent().parent().find('.customizer-repeater-color-control').hide(); - } - - abiz_customizer_repeater_refresh_general_control_values(); - return false; - }); - abiz_media_upload('.customizer-repeater-custom-media-button'); - jQuery('.custom-media-url').on('change', function () { - abiz_customizer_repeater_refresh_general_control_values(); - return false; - }); - - var color_options = { - change: function(event, ui){ - abiz_customizer_repeater_refresh_general_control_values(); - } - }; - - /** - * This adds a new box to repeater - * - */ - abiz_theme_controls.on('click', '.customizer-repeater-new-field', function () { - // Usable For Free Theme Only - var parentid = jQuery(this).parent().attr("id"); - - if(parentid == 'customize-control-hdr_social_icons') - { - var numItems = jQuery("#customize-control-hdr_social_icons .customizer-repeater-general-control-repeater-container").length - if(numItems >= 4){ - jQuery( "#customize-control-abiz_social_icon_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - if(parentid == 'customize-control-footer_top_info') - { - var numItems = jQuery("#customize-control-footer_top_info .customizer-repeater-general-control-repeater-container").length - if(numItems >= 4){ - jQuery( "#customize-control-abiz_footer_top_info_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - if(parentid == 'customize-control-slider') - { - var numItems = jQuery("#customize-control-slider .customizer-repeater-general-control-repeater-container").length - if(numItems >= 3){ - jQuery( "#customize-control-abiz_slider_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - if(parentid == 'customize-control-info_data') - { - var numItems = jQuery("#customize-control-info_data .customizer-repeater-general-control-repeater-container").length - if(numItems >= 4){ - jQuery( "#customize-control-abiz_info_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - if(parentid == 'customize-control-service_data') - { - var numItems = jQuery("#customize-control-service_data .customizer-repeater-general-control-repeater-container").length - if(numItems >= 4){ - jQuery( "#customize-control-abiz_service_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - if(parentid == 'customize-control-features2_data') - { - var numItems = jQuery("#customize-control-features2_data .customizer-repeater-general-control-repeater-container").length - if(numItems >= 8){ - jQuery( "#customize-control-abiz_features_upgrade .flixita-upgrade-pro-message" ).show(); - return false; - } - } - - var th = jQuery(this).parent(); - var id = 'customizer-repeater-' + abiz_customizer_repeater_uniqid(); - - if (typeof th !== 'undefined') { - /* Clone the first box*/ - var field = th.find('.customizer-repeater-general-control-repeater-container:first').clone( true, true ); - - if (typeof field !== 'undefined') { - /*Set the default value for choice between image and icon to icon*/ - field.find('.customizer-repeater-image-choice').val('customizer_repeater_icon'); - - /*Show icon selector*/ - field.find('.social-repeater-general-control-icon').show(); - - /*Hide image selector*/ - if (field.find('.social-repeater-general-control-icon').length > 0) { - field.find('.customizer-repeater-image-control').hide(); - } - - /*Show delete box button because it's not the first box*/ - field.find('.social-repeater-general-control-remove-field').show(); - - /* Empty control for icon */ - field.find('.input-group-addon').find('.fa').attr('class', 'fa'); - - - /*Remove all repeater fields except first one*/ - - field.find('.customizer-repeater-social-repeater').find('.customizer-repeater-social-repeater-container').not(':first').remove(); - field.find('.customizer-repeater-social-repeater-link').val(''); - field.find('.social-repeater-socials-repeater-colector').val(''); - - /*Remove value from icon field*/ - field.find('.icp').val(''); - - /*Remove value from text field*/ - field.find('.customizer-repeater-text-control').val(''); - - /*Remove value from link field*/ - field.find('.customizer-repeater-link-control').val(''); - - /*Remove value from text field*/ - field.find('.customizer-repeater-text2-control').val(''); - - /*Remove value from button field*/ - field.find('.customizer-repeater-button2-control').val(''); - - /*Remove value from link field*/ - field.find('.customizer-repeater-link2-control').val(''); - - /*Remove value from link field*/ - field.find('.customizer-repeater-link3-control').val(''); - - /*Set the default value in slide align*/ - field.find('.customizer-repeater-align').val('left'); - - /*Set the default value in checkbox*/ - field.find('.customizer-repeater-checkbox').val(''); - - /*Set box id*/ - field.find('.social-repeater-box-id').val(id); - - /*Remove value from media field*/ - field.find('.custom-media-url').val(''); - - /*Remove value from title field*/ - field.find('.customizer-repeater-title-control').val(''); - - - /*Remove value from color field*/ - field.find('div.customizer-repeater-color-control .wp-picker-container').replaceWith(''); - field.find('input.customizer-repeater-color-control').wpColorPicker(color_options); - - - field.find('div.customizer-repeater-color2-control .wp-picker-container').replaceWith(''); - field.find('input.customizer-repeater-color2-control').wpColorPicker(color_options); - - // field.find('.customize-control-notifications-container').remove(); - - - /*Remove value from subtitle field*/ - field.find('.customizer-repeater-subtitle-control').val(''); - - /*Remove value from subtitle field*/ - field.find('.customizer-repeater-subtitle2-control').val(''); - - - /*Remove value from subtitle field*/ - field.find('.customizer-repeater-btn3-control').val(''); - - /*Remove value from shortcode field*/ - field.find('.customizer-repeater-shortcode-control').val(''); - - /*Append new box*/ - th.find('.customizer-repeater-general-control-repeater-container:first').parent().append(field); - - /*Refresh values*/ - abiz_customizer_repeater_refresh_general_control_values(); - } - - } - return false; - }); - - - abiz_theme_controls.on('click', '.social-repeater-general-control-remove-field', function () { - if (typeof jQuery(this).parent() !== 'undefined') { - jQuery(this).parent().hide(500, function(){ - var main_social_items = jQuery("#customize-control-hdr_social_icons .customizer-repeater-general-control-repeater-container").length - if(main_social_items <= 4){ - jQuery( "#customize-control-abiz_social_icon_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - var main_footer_top_items = jQuery("#customize-control-footer_top_info .customizer-repeater-general-control-repeater-container").length - if(main_footer_top_items <= 4){ - jQuery( "#customize-control-abiz_footer_top_info_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - var main_slider_items = jQuery("#customize-control-slider .customizer-repeater-general-control-repeater-container").length - if(main_slider_items <= 3){ - jQuery( "#customize-control-abiz_slider_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - var main_info_items = jQuery("#customize-control-info_data .customizer-repeater-general-control-repeater-container").length - if(main_info_items <= 4){ - jQuery( "#customize-control-abiz_info_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - var main_service_items = jQuery("#customize-control-service_data .customizer-repeater-general-control-repeater-container").length - if(main_service_items <= 4){ - jQuery( "#customize-control-abiz_service_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - var main_features_items = jQuery("#customize-control-features2_data .customizer-repeater-general-control-repeater-container").length - if(main_features_items <= 8){ - jQuery( "#customize-control-abiz_features_upgrade .flixita-upgrade-pro-message" ).hide(); - } - - jQuery(this).parent().remove(); - abiz_customizer_repeater_refresh_general_control_values(); - - }); - } - return false; - }); - - - abiz_theme_controls.on('keyup', '.customizer-repeater-title-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - jQuery('input.customizer-repeater-color-control').wpColorPicker(color_options); - jQuery('input.customizer-repeater-color2-control').wpColorPicker(color_options); - - abiz_theme_controls.on('keyup', '.customizer-repeater-subtitle-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-subtitle2-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - - abiz_theme_controls.on('keyup', '.customizer-repeater-btn3-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - - abiz_theme_controls.on('keyup', '.customizer-repeater-shortcode-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-text-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-link-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-text2-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-button2-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-link2-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-link3-control', function () { - abiz_customizer_repeater_refresh_general_control_values(); - }); - - abiz_theme_controls.on('change','.customizer-repeater-checkbox', function(){ - - abiz_customizer_repeater_refresh_general_control_values(); - }); - - /*Drag and drop to change icons order*/ - - jQuery('.customizer-repeater-general-control-droppable').sortable({ - axis: 'y', - update: function () { - abiz_customizer_repeater_refresh_general_control_values(); - } - }); - - - /*----------------- Socials Repeater ---------------------*/ - abiz_theme_controls.on('click', '.social-repeater-add-social-item', function (event) { - event.preventDefault(); - var th = jQuery(this).parent(); - var id = 'customizer-repeater-social-repeater-' + abiz_customizer_repeater_uniqid(); - if (typeof th !== 'undefined') { - var field = th.find('.customizer-repeater-social-repeater-container:first').clone( true, true ); - if (typeof field !== 'undefined') { - field.find( '.icp' ).val(''); - field.find( '.input-group-addon' ).find('.fa').attr('class','fa'); - field.find('.social-repeater-remove-social-item').show(); - field.find('.customizer-repeater-social-repeater-link').val(''); - field.find('.customizer-repeater-social-repeater-id').val(id); - th.find('.customizer-repeater-social-repeater-container:first').parent().append(field); - } - } - return false; - }); - - abiz_theme_controls.on('click', '.social-repeater-remove-social-item', function (event) { - event.preventDefault(); - var th = jQuery(this).parent(); - var repeater = jQuery(this).parent().parent(); - th.remove(); - abiz_customizer_repeater_refresh_social_icons(repeater); - return false; - }); - - abiz_theme_controls.on('keyup', '.customizer-repeater-social-repeater-link', function (event) { - event.preventDefault(); - var repeater = jQuery(this).parent().parent(); - abiz_customizer_repeater_refresh_social_icons(repeater); - return false; - }); - - abiz_theme_controls.on('change', '.customizer-repeater-social-repeater-container .icp', function (event) { - event.preventDefault(); - var repeater = jQuery(this).parent().parent().parent(); - abiz_customizer_repeater_refresh_social_icons(repeater); - return false; - }); - -}); - -var abizentityMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - '\'': ''', - '/': '/' -}; - -function abizescapeHtml(string) { - 'use strict'; - //noinspection JSUnresolvedFunction - string = String(string).replace(new RegExp('\r?\n', 'g'), '
    '); - string = String(string).replace(/\\/g, '\'); - return String(string).replace(/[&<>"'\/]/g, function (s) { - return abizentityMap[s]; - }); - +/* global jQuery */ +/* global wp */ +function abiz_media_upload(button_class) { + 'use strict'; + jQuery('body').on('click', button_class, function () { + var button_id = '#' + jQuery(this).attr('id'); + var display_field = jQuery(this).parent().children('input:text'); + var _custom_media = true; + + wp.media.editor.send.attachment = function (props, attachment) { + + if (_custom_media) { + if (typeof display_field !== 'undefined') { + switch (props.size) { + case 'full': + display_field.val(attachment.sizes.full.url); + display_field.trigger('change'); + break; + case 'medium': + display_field.val(attachment.sizes.medium.url); + display_field.trigger('change'); + break; + case 'thumbnail': + display_field.val(attachment.sizes.thumbnail.url); + display_field.trigger('change'); + break; + default: + display_field.val(attachment.url); + display_field.trigger('change'); + } + } + _custom_media = false; + } else { + return wp.media.editor.send.attachment(button_id, [props, attachment]); + } + }; + wp.media.editor.open(button_class); + window.send_to_editor = function (html) { + + }; + return false; + }); +} + +/******************************************** + *** Generate unique id *** + *********************************************/ +function abiz_customizer_repeater_uniqid(prefix, more_entropy) { + 'use strict'; + if (typeof prefix === 'undefined') { + prefix = ''; + } + + var retId; + var php_js; + var formatSeed = function (seed, reqWidth) { + seed = parseInt(seed, 10) + .toString(16); // to hex str + if (reqWidth < seed.length) { // so long we split + return seed.slice(seed.length - reqWidth); + } + if (reqWidth > seed.length) { // so short we pad + return new Array(1 + (reqWidth - seed.length)) + .join('0') + seed; + } + return seed; + }; + + // BEGIN REDUNDANT + if (!php_js) { + php_js = {}; + } + // END REDUNDANT + if (!php_js.uniqidSeed) { // init seed with big random int + php_js.uniqidSeed = Math.floor(Math.random() * 0x75bcd15); + } + php_js.uniqidSeed++; + + retId = prefix; // start with prefix, add current milliseconds hex string + retId += formatSeed(parseInt(new Date() + .getTime() / 1000, 10), 8); + retId += formatSeed(php_js.uniqidSeed, 5); // add seed hex string + if (more_entropy) { + // for more entropy we add a float lower to 10 + retId += (Math.random() * 10) + .toFixed(8) + .toString(); + } + + return retId; +} + + +/******************************************** + *** General Repeater *** + *********************************************/ +function abiz_customizer_repeater_refresh_social_icons(th) { + 'use strict'; + var icons_repeater_values = []; + th.find('.customizer-repeater-social-repeater-container').each(function () { + var icon = jQuery(this).find('.icp').val(); + var link = jQuery(this).find('.customizer-repeater-social-repeater-link').val(); + var id = jQuery(this).find('.customizer-repeater-social-repeater-id').val(); + + if (!id) { + id = 'customizer-repeater-social-repeater-' + abiz_customizer_repeater_uniqid(); + jQuery(this).find('.customizer-repeater-social-repeater-id').val(id); + } + + if (icon !== '' && link !== '') { + icons_repeater_values.push({ + 'icon': icon, + 'link': link, + 'id': id + }); + } + }); + + th.find('.social-repeater-socials-repeater-colector').val(JSON.stringify(icons_repeater_values)); + abiz_customizer_repeater_refresh_general_control_values(); +} + + +function abiz_customizer_repeater_refresh_general_control_values() { + 'use strict'; + jQuery('.customizer-repeater-general-control-repeater').each(function () { + var values = []; + var th = jQuery(this); + th.find('.customizer-repeater-general-control-repeater-container').each(function () { + + var icon_value = jQuery(this).find('.icp').val(); + var text = jQuery(this).find('.customizer-repeater-text-control').val(); + var link = jQuery(this).find('.customizer-repeater-link-control').val(); + var text2 = jQuery(this).find('.customizer-repeater-text2-control').val(); + var link2 = jQuery(this).find('.customizer-repeater-link2-control').val(); + var link3 = jQuery(this).find('.customizer-repeater-link3-control').val(); + var color = jQuery(this).find('input.customizer-repeater-color-control').val(); + var color2 = jQuery(this).find('input.customizer-repeater-color2-control').val(); + var image_url = jQuery(this).find('.custom-media-url').val(); + var choice = jQuery(this).find('.customizer-repeater-image-choice').val(); + var title = jQuery(this).find('.customizer-repeater-title-control').val(); + var subtitle = jQuery(this).find('.customizer-repeater-subtitle-control').val(); + var subtitle2 = jQuery(this).find('.customizer-repeater-subtitle2-control').val(); + var btn3 = jQuery(this).find('.customizer-repeater-btn3-control').val(); + var button_second = jQuery(this).find('.customizer-repeater-button2-control').val(); + var align = jQuery(this).find('.customizer-repeater-align').val(); + var open_new_tab = jQuery(this).find('.customizer-repeater-checkbox').attr("checked") ? 'yes' : 'no'; + var id = jQuery(this).find('.social-repeater-box-id').val(); + if (!id) { + id = 'social-repeater-' + abiz_customizer_repeater_uniqid(); + jQuery(this).find('.social-repeater-box-id').val(id); + } + var social_repeater = jQuery(this).find('.social-repeater-socials-repeater-colector').val(); + var shortcode = jQuery(this).find('.customizer-repeater-shortcode-control').val(); + + if (text !== '' || image_url !== '' || title !== '' || subtitle !== '' || subtitle2 !== '' || btn3 !== '' || icon_value !== '' || link !== '' || choice !== '' || social_repeater !== '' || shortcode !== '' || align !== '' || color !== '') { + values.push({ + 'icon_value': (choice === 'customizer_repeater_none' ? '' : icon_value), + 'color': color, + 'color2': color2, + 'text': abizescapeHtml(text), + 'link': link, + 'text2': abizescapeHtml(text2), + 'button_second': abizescapeHtml(button_second), + 'link2': link2, + 'link3': link3, + 'image_url': (choice === 'customizer_repeater_none' ? '' : image_url), + 'choice': choice, + 'title': abizescapeHtml(title), + 'subtitle': abizescapeHtml(subtitle), + 'subtitle2': abizescapeHtml(subtitle2), + 'btn3': abizescapeHtml(btn3), + 'align': abizescapeHtml(align), + 'open_new_tab' : open_new_tab, + 'social_repeater': abizescapeHtml(social_repeater), + 'id': id, + 'shortcode': abizescapeHtml(shortcode) + }); + } + + }); + th.find('.customizer-repeater-colector').val(JSON.stringify(values)); + th.find('.customizer-repeater-colector').trigger('change'); + }); +} + + +jQuery(document).ready(function () { + 'use strict'; + var abiz_theme_controls = jQuery('#customize-theme-controls'); + abiz_theme_controls.on('click', '.customizer-repeater-customize-control-title', function () { + jQuery(this).next().slideToggle('medium', function () { + if (jQuery(this).is(':visible')){ + jQuery(this).prev().addClass('repeater-expanded'); + jQuery(this).css('display', 'block'); + } else { + jQuery(this).prev().removeClass('repeater-expanded'); + } + }); + }); + + abiz_theme_controls.on('change', '.icp',function(){ + abiz_customizer_repeater_refresh_general_control_values(); + return false; + }); + + abiz_theme_controls.on('change','.customizer-repeater-align', function(){ + abiz_customizer_repeater_refresh_general_control_values(); + return false; + + }); + + abiz_theme_controls.on('change', '.customizer-repeater-image-choice', function () { + if (jQuery(this).val() === 'customizer_repeater_image') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').show(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().hide(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').hide(); + + } + if (jQuery(this).val() === 'customizer_repeater_icon') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').show(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().show(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').show(); + } + if (jQuery(this).val() === 'customizer_repeater_none') { + jQuery(this).parent().parent().find('.social-repeater-general-control-icon').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-image-control').hide(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').prev().prev().hide(); + jQuery(this).parent().parent().find('.customizer-repeater-color-control').hide(); + } + + abiz_customizer_repeater_refresh_general_control_values(); + return false; + }); + abiz_media_upload('.customizer-repeater-custom-media-button'); + jQuery('.custom-media-url').on('change', function () { + abiz_customizer_repeater_refresh_general_control_values(); + return false; + }); + + var color_options = { + change: function(event, ui){ + abiz_customizer_repeater_refresh_general_control_values(); + } + }; + + /** + * This adds a new box to repeater + * + */ + abiz_theme_controls.on('click', '.customizer-repeater-new-field', function () { + // Usable For Free Theme Only + var parentid = jQuery(this).parent().attr("id"); + + if(parentid == 'customize-control-hdr_social_icons') + { + var numItems = jQuery("#customize-control-hdr_social_icons .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-abiz_social_icon_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-footer_top_info') + { + var numItems = jQuery("#customize-control-footer_top_info .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-abiz_footer_top_info_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-slider') + { + var numItems = jQuery("#customize-control-slider .customizer-repeater-general-control-repeater-container").length + if(numItems >= 3){ + jQuery( "#customize-control-abiz_slider_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-info_data') + { + var numItems = jQuery("#customize-control-info_data .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-abiz_info_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-service_data') + { + var numItems = jQuery("#customize-control-service_data .customizer-repeater-general-control-repeater-container").length + if(numItems >= 4){ + jQuery( "#customize-control-abiz_service_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + if(parentid == 'customize-control-features2_data') + { + var numItems = jQuery("#customize-control-features2_data .customizer-repeater-general-control-repeater-container").length + if(numItems >= 8){ + jQuery( "#customize-control-abiz_features_upgrade .flixita-upgrade-pro-message" ).show(); + return false; + } + } + + var th = jQuery(this).parent(); + var id = 'customizer-repeater-' + abiz_customizer_repeater_uniqid(); + + if (typeof th !== 'undefined') { + /* Clone the first box*/ + var field = th.find('.customizer-repeater-general-control-repeater-container:first').clone( true, true ); + + if (typeof field !== 'undefined') { + /*Set the default value for choice between image and icon to icon*/ + field.find('.customizer-repeater-image-choice').val('customizer_repeater_icon'); + + /*Show icon selector*/ + field.find('.social-repeater-general-control-icon').show(); + + /*Hide image selector*/ + if (field.find('.social-repeater-general-control-icon').length > 0) { + field.find('.customizer-repeater-image-control').hide(); + } + + /*Show delete box button because it's not the first box*/ + field.find('.social-repeater-general-control-remove-field').show(); + + /* Empty control for icon */ + field.find('.input-group-addon').find('.fa').attr('class', 'fa'); + + + /*Remove all repeater fields except first one*/ + + field.find('.customizer-repeater-social-repeater').find('.customizer-repeater-social-repeater-container').not(':first').remove(); + field.find('.customizer-repeater-social-repeater-link').val(''); + field.find('.social-repeater-socials-repeater-colector').val(''); + + /*Remove value from icon field*/ + field.find('.icp').val(''); + + /*Remove value from text field*/ + field.find('.customizer-repeater-text-control').val(''); + + /*Remove value from link field*/ + field.find('.customizer-repeater-link-control').val(''); + + /*Remove value from text field*/ + field.find('.customizer-repeater-text2-control').val(''); + + /*Remove value from button field*/ + field.find('.customizer-repeater-button2-control').val(''); + + /*Remove value from link field*/ + field.find('.customizer-repeater-link2-control').val(''); + + /*Remove value from link field*/ + field.find('.customizer-repeater-link3-control').val(''); + + /*Set the default value in slide align*/ + field.find('.customizer-repeater-align').val('left'); + + /*Set the default value in checkbox*/ + field.find('.customizer-repeater-checkbox').val(''); + + /*Set box id*/ + field.find('.social-repeater-box-id').val(id); + + /*Remove value from media field*/ + field.find('.custom-media-url').val(''); + + /*Remove value from title field*/ + field.find('.customizer-repeater-title-control').val(''); + + + /*Remove value from color field*/ + field.find('div.customizer-repeater-color-control .wp-picker-container').replaceWith(''); + field.find('input.customizer-repeater-color-control').wpColorPicker(color_options); + + + field.find('div.customizer-repeater-color2-control .wp-picker-container').replaceWith(''); + field.find('input.customizer-repeater-color2-control').wpColorPicker(color_options); + + // field.find('.customize-control-notifications-container').remove(); + + + /*Remove value from subtitle field*/ + field.find('.customizer-repeater-subtitle-control').val(''); + + /*Remove value from subtitle field*/ + field.find('.customizer-repeater-subtitle2-control').val(''); + + + /*Remove value from subtitle field*/ + field.find('.customizer-repeater-btn3-control').val(''); + + /*Remove value from shortcode field*/ + field.find('.customizer-repeater-shortcode-control').val(''); + + /*Append new box*/ + th.find('.customizer-repeater-general-control-repeater-container:first').parent().append(field); + + /*Refresh values*/ + abiz_customizer_repeater_refresh_general_control_values(); + } + + } + return false; + }); + + + abiz_theme_controls.on('click', '.social-repeater-general-control-remove-field', function () { + if (typeof jQuery(this).parent() !== 'undefined') { + jQuery(this).parent().hide(500, function(){ + var main_social_items = jQuery("#customize-control-hdr_social_icons .customizer-repeater-general-control-repeater-container").length + if(main_social_items <= 4){ + jQuery( "#customize-control-abiz_social_icon_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + var main_footer_top_items = jQuery("#customize-control-footer_top_info .customizer-repeater-general-control-repeater-container").length + if(main_footer_top_items <= 4){ + jQuery( "#customize-control-abiz_footer_top_info_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + var main_slider_items = jQuery("#customize-control-slider .customizer-repeater-general-control-repeater-container").length + if(main_slider_items <= 3){ + jQuery( "#customize-control-abiz_slider_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + var main_info_items = jQuery("#customize-control-info_data .customizer-repeater-general-control-repeater-container").length + if(main_info_items <= 4){ + jQuery( "#customize-control-abiz_info_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + var main_service_items = jQuery("#customize-control-service_data .customizer-repeater-general-control-repeater-container").length + if(main_service_items <= 4){ + jQuery( "#customize-control-abiz_service_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + var main_features_items = jQuery("#customize-control-features2_data .customizer-repeater-general-control-repeater-container").length + if(main_features_items <= 8){ + jQuery( "#customize-control-abiz_features_upgrade .flixita-upgrade-pro-message" ).hide(); + } + + jQuery(this).parent().remove(); + abiz_customizer_repeater_refresh_general_control_values(); + + }); + } + return false; + }); + + + abiz_theme_controls.on('keyup', '.customizer-repeater-title-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + jQuery('input.customizer-repeater-color-control').wpColorPicker(color_options); + jQuery('input.customizer-repeater-color2-control').wpColorPicker(color_options); + + abiz_theme_controls.on('keyup', '.customizer-repeater-subtitle-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-subtitle2-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + + abiz_theme_controls.on('keyup', '.customizer-repeater-btn3-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + + abiz_theme_controls.on('keyup', '.customizer-repeater-shortcode-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-text-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-link-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-text2-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-button2-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-link2-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-link3-control', function () { + abiz_customizer_repeater_refresh_general_control_values(); + }); + + abiz_theme_controls.on('change','.customizer-repeater-checkbox', function(){ + + abiz_customizer_repeater_refresh_general_control_values(); + }); + + /*Drag and drop to change icons order*/ + + jQuery('.customizer-repeater-general-control-droppable').sortable({ + axis: 'y', + update: function () { + abiz_customizer_repeater_refresh_general_control_values(); + } + }); + + + /*----------------- Socials Repeater ---------------------*/ + abiz_theme_controls.on('click', '.social-repeater-add-social-item', function (event) { + event.preventDefault(); + var th = jQuery(this).parent(); + var id = 'customizer-repeater-social-repeater-' + abiz_customizer_repeater_uniqid(); + if (typeof th !== 'undefined') { + var field = th.find('.customizer-repeater-social-repeater-container:first').clone( true, true ); + if (typeof field !== 'undefined') { + field.find( '.icp' ).val(''); + field.find( '.input-group-addon' ).find('.fa').attr('class','fa'); + field.find('.social-repeater-remove-social-item').show(); + field.find('.customizer-repeater-social-repeater-link').val(''); + field.find('.customizer-repeater-social-repeater-id').val(id); + th.find('.customizer-repeater-social-repeater-container:first').parent().append(field); + } + } + return false; + }); + + abiz_theme_controls.on('click', '.social-repeater-remove-social-item', function (event) { + event.preventDefault(); + var th = jQuery(this).parent(); + var repeater = jQuery(this).parent().parent(); + th.remove(); + abiz_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + + abiz_theme_controls.on('keyup', '.customizer-repeater-social-repeater-link', function (event) { + event.preventDefault(); + var repeater = jQuery(this).parent().parent(); + abiz_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + + abiz_theme_controls.on('change', '.customizer-repeater-social-repeater-container .icp', function (event) { + event.preventDefault(); + var repeater = jQuery(this).parent().parent().parent(); + abiz_customizer_repeater_refresh_social_icons(repeater); + return false; + }); + +}); + +var abizentityMap = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' +}; + +function abizescapeHtml(string) { + 'use strict'; + //noinspection JSUnresolvedFunction + string = String(string).replace(new RegExp('\r?\n', 'g'), '
    '); + string = String(string).replace(/\\/g, '\'); + return String(string).replace(/[&<>"'\/]/g, function (s) { + return abizentityMap[s]; + }); + } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js b/gk-assets/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js similarity index 97% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js index 7ccd10a..8a102ca 100644 --- a/wp-content/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js +++ b/gk-assets/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.js @@ -1,67 +1,67 @@ -(function ($) { - 'use strict'; - wp.abizcustomizerRepeater = { - - init: function () { - $('.iconpicker-items>i').on('click', function () { - var iconClass = $(this).attr('class'); - var classInput = $(this).parents('.iconpicker-popover').prev().find('.icp'); - classInput.val(iconClass); - classInput.attr('value', iconClass); - - var iconPreview = classInput.next('.input-group-addon'); - var iconElement = '<\/i>'); - iconPreview.empty(); - iconPreview.append(iconElement); - - var th = $(this).parent().parent().parent(); - classInput.trigger('change'); - abiz_customizer_repeater_refresh_social_icons(th); - return false; - }); - }, - search: function ($searchField) { - var itemsList = $searchField.parent().next().find('.iconpicker-items'); - var searchTerm = $searchField.val().toLowerCase(); - if (searchTerm.length > 0) { - itemsList.children().each(function () { - if ($(this).filter('[title*='.concat(searchTerm)).length > 0 || searchTerm.length < 1) { - $(this).show(); - } else { - $(this).hide(); - } - }); - } else { - itemsList.children().show(); - } - }, - iconPickerToggle: function ($input) { - var iconPicker = $input.parent().next(); - iconPicker.addClass('iconpicker-visible'); - } - }; - - $(document).ready(function () { - wp.abizcustomizerRepeater.init(); - - $('.iconpicker-search').on('keyup', function () { - wp.abizcustomizerRepeater.search($(this)); - }); - - $('.icp-auto').on('click', function () { - wp.abizcustomizerRepeater.iconPickerToggle($(this)); - }); - - $(document).mouseup( function (e) { - var container = $('.iconpicker-popover'); - - if (!container.is(e.target) - && container.has(e.target).length === 0) - { - container.removeClass('iconpicker-visible'); - } - }); - - }); - -})(jQuery); +(function ($) { + 'use strict'; + wp.abizcustomizerRepeater = { + + init: function () { + $('.iconpicker-items>i').on('click', function () { + var iconClass = $(this).attr('class'); + var classInput = $(this).parents('.iconpicker-popover').prev().find('.icp'); + classInput.val(iconClass); + classInput.attr('value', iconClass); + + var iconPreview = classInput.next('.input-group-addon'); + var iconElement = '<\/i>'); + iconPreview.empty(); + iconPreview.append(iconElement); + + var th = $(this).parent().parent().parent(); + classInput.trigger('change'); + abiz_customizer_repeater_refresh_social_icons(th); + return false; + }); + }, + search: function ($searchField) { + var itemsList = $searchField.parent().next().find('.iconpicker-items'); + var searchTerm = $searchField.val().toLowerCase(); + if (searchTerm.length > 0) { + itemsList.children().each(function () { + if ($(this).filter('[title*='.concat(searchTerm)).length > 0 || searchTerm.length < 1) { + $(this).show(); + } else { + $(this).hide(); + } + }); + } else { + itemsList.children().show(); + } + }, + iconPickerToggle: function ($input) { + var iconPicker = $input.parent().next(); + iconPicker.addClass('iconpicker-visible'); + } + }; + + $(document).ready(function () { + wp.abizcustomizerRepeater.init(); + + $('.iconpicker-search').on('keyup', function () { + wp.abizcustomizerRepeater.search($(this)); + }); + + $('.icp-auto').on('click', function () { + wp.abizcustomizerRepeater.iconPickerToggle($(this)); + }); + + $(document).mouseup( function (e) { + var container = $('.iconpicker-popover'); + + if (!container.is(e.target) + && container.has(e.target).length === 0) + { + container.removeClass('iconpicker-visible'); + } + }); + + }); + +})(jQuery); diff --git a/wp-content/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.min.js b/gk-assets/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.min.js similarity index 100% rename from wp-content/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.min.js rename to gk-assets/themes/abiz/core/customizer/customizer-repeater/js/fontawesome-iconpicker.min.js diff --git a/wp-content/themes/abiz/core/customizer/customizer.php b/gk-assets/themes/abiz/core/customizer/customizer.php similarity index 97% rename from wp-content/themes/abiz/core/customizer/customizer.php rename to gk-assets/themes/abiz/core/customizer/customizer.php index feca953..0d3cbf8 100644 --- a/wp-content/themes/abiz/core/customizer/customizer.php +++ b/gk-assets/themes/abiz/core/customizer/customizer.php @@ -1,104 +1,104 @@ -get_setting('blogname')->transport = 'postMessage'; - $wp_customize->get_setting('blogdescription')->transport = 'postMessage'; - $wp_customize->get_setting('header_textcolor')->transport = 'postMessage'; - $wp_customize->get_setting('background_color')->transport = 'postMessage'; - $wp_customize->get_setting('custom_logo')->transport = 'refresh'; - - /** - * Register controls - */ - $wp_customize->register_control_type('Abiz_Control_Sortable'); - $wp_customize->register_control_type('Abiz_Customize_Toggle_Control'); - - // Control - require ABIZ_THEME_CONTROL_DIR . '/customize-base-control.php'; - require ABIZ_THEME_CONTROL_DIR . '/customize-control-sortable.php'; - require ABIZ_THEME_CONTROL_DIR . '/customize-category-control.php'; - require ABIZ_THEME_CONTROL_DIR . '/customize-toggle-control.php'; - - // Sainitization - require ABIZ_THEME_CORE_DIR . '/customizer/abiz-customize-sanitization.php'; -} -add_action('customize_register','abiz_customizer_register'); - - -function abiz_customizer_script() -{ - wp_enqueue_script('abiz-customizer-section', ABIZ_THEME_CORE_URI . '/customizer/assets/js/customizer-section.js', array( - "jquery" - ) , '', true); -} -add_action('customize_controls_enqueue_scripts','abiz_customizer_script'); - -// customizer settings. -function abiz_customizer_settings() -{ - /* - * Customizer Notifications - */ - require get_template_directory() . '/core/customizer/customizer-notice/abiz-customizer-notify.php'; - - $abiz_config_customizer = array( - 'recommended_plugins' => array( - 'daddy-plus' => array( - 'recommended' => true, - 'description' => sprintf( - /* translators: %s: plugin name */ - esc_html__( 'Recommended Plugin: If you want to show all the features and business sections of the FrontPage. please install and activate %s plugin', 'abiz' ), - 'Daddy Plus' - ), - ), - ), - 'recommended_actions' => array(), - 'recommended_actions_title' => esc_html__( 'Recommended Actions', 'abiz' ), - 'recommended_plugins_title' => esc_html__( 'Add More Features', 'abiz' ), - 'install_button_label' => esc_html__( 'Install and Activate', 'abiz' ), - 'activate_button_label' => esc_html__( 'Activate', 'abiz' ), - 'abiz_deactivate_button_label' => esc_html__( 'Deactivate', 'abiz' ), - ); - abiz_Customizer_Notify::init( apply_filters( 'abiz_customizer_notify_array', $abiz_config_customizer ) ); - - $settings = array( - 'panels-and-sections', - 'selective-refresh-and-partial', - 'general' - ); - - foreach ($settings as $setting) - { - $feature_file = get_theme_file_path('/core/customizer/abiz-' . $setting . '.php'); - require $feature_file; - } - - require ABIZ_THEME_CONTROL_DIR . '/customize-upgrade-control.php'; -} -add_action('after_setup_theme','abiz_customizer_settings'); - - -/** - * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. - */ -function abiz_customize_preview_js() -{ - wp_enqueue_script('abiz-customizer-preview', ABIZ_THEME_CORE_URI . '/customizer/assets/js/customizer.js', array( - 'customize-preview' - ) , '20151215', true); -} -add_action('customize_preview_init','abiz_customize_preview_js'); - - -//recommended plugin section function. -function abiz_recommended_plugin_section( $manager ) { - // Register custom section types. - $manager->register_section_type( 'abiz_Customize_Recommended_Plugin_Section' ); +get_setting('blogname')->transport = 'postMessage'; + $wp_customize->get_setting('blogdescription')->transport = 'postMessage'; + $wp_customize->get_setting('header_textcolor')->transport = 'postMessage'; + $wp_customize->get_setting('background_color')->transport = 'postMessage'; + $wp_customize->get_setting('custom_logo')->transport = 'refresh'; + + /** + * Register controls + */ + $wp_customize->register_control_type('Abiz_Control_Sortable'); + $wp_customize->register_control_type('Abiz_Customize_Toggle_Control'); + + // Control + require ABIZ_THEME_CONTROL_DIR . '/customize-base-control.php'; + require ABIZ_THEME_CONTROL_DIR . '/customize-control-sortable.php'; + require ABIZ_THEME_CONTROL_DIR . '/customize-category-control.php'; + require ABIZ_THEME_CONTROL_DIR . '/customize-toggle-control.php'; + + // Sainitization + require ABIZ_THEME_CORE_DIR . '/customizer/abiz-customize-sanitization.php'; +} +add_action('customize_register','abiz_customizer_register'); + + +function abiz_customizer_script() +{ + wp_enqueue_script('abiz-customizer-section', ABIZ_THEME_CORE_URI . '/customizer/assets/js/customizer-section.js', array( + "jquery" + ) , '', true); +} +add_action('customize_controls_enqueue_scripts','abiz_customizer_script'); + +// customizer settings. +function abiz_customizer_settings() +{ + /* + * Customizer Notifications + */ + require get_template_directory() . '/core/customizer/customizer-notice/abiz-customizer-notify.php'; + + $abiz_config_customizer = array( + 'recommended_plugins' => array( + 'daddy-plus' => array( + 'recommended' => true, + 'description' => sprintf( + /* translators: %s: plugin name */ + esc_html__( 'Recommended Plugin: If you want to show all the features and business sections of the FrontPage. please install and activate %s plugin', 'abiz' ), + 'Daddy Plus' + ), + ), + ), + 'recommended_actions' => array(), + 'recommended_actions_title' => esc_html__( 'Recommended Actions', 'abiz' ), + 'recommended_plugins_title' => esc_html__( 'Add More Features', 'abiz' ), + 'install_button_label' => esc_html__( 'Install and Activate', 'abiz' ), + 'activate_button_label' => esc_html__( 'Activate', 'abiz' ), + 'abiz_deactivate_button_label' => esc_html__( 'Deactivate', 'abiz' ), + ); + abiz_Customizer_Notify::init( apply_filters( 'abiz_customizer_notify_array', $abiz_config_customizer ) ); + + $settings = array( + 'panels-and-sections', + 'selective-refresh-and-partial', + 'general' + ); + + foreach ($settings as $setting) + { + $feature_file = get_theme_file_path('/core/customizer/abiz-' . $setting . '.php'); + require $feature_file; + } + + require ABIZ_THEME_CONTROL_DIR . '/customize-upgrade-control.php'; +} +add_action('after_setup_theme','abiz_customizer_settings'); + + +/** + * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. + */ +function abiz_customize_preview_js() +{ + wp_enqueue_script('abiz-customizer-preview', ABIZ_THEME_CORE_URI . '/customizer/assets/js/customizer.js', array( + 'customize-preview' + ) , '20151215', true); +} +add_action('customize_preview_init','abiz_customize_preview_js'); + + +//recommended plugin section function. +function abiz_recommended_plugin_section( $manager ) { + // Register custom section types. + $manager->register_section_type( 'abiz_Customize_Recommended_Plugin_Section' ); } \ No newline at end of file diff --git a/wp-content/themes/abiz/core/theme-menu/class-bootstrap-navwalker.php b/gk-assets/themes/abiz/core/theme-menu/class-bootstrap-navwalker.php similarity index 100% rename from wp-content/themes/abiz/core/theme-menu/class-bootstrap-navwalker.php rename to gk-assets/themes/abiz/core/theme-menu/class-bootstrap-navwalker.php diff --git a/wp-content/themes/abiz/core/wptt-webfont-loader.php b/gk-assets/themes/abiz/core/wptt-webfont-loader.php similarity index 100% rename from wp-content/themes/abiz/core/wptt-webfont-loader.php rename to gk-assets/themes/abiz/core/wptt-webfont-loader.php diff --git a/wp-content/themes/abiz/footer.php b/gk-assets/themes/abiz/footer.php similarity index 98% rename from wp-content/themes/abiz/footer.php rename to gk-assets/themes/abiz/footer.php index 70854fa..841ddf8 100644 --- a/wp-content/themes/abiz/footer.php +++ b/gk-assets/themes/abiz/footer.php @@ -1,16 +1,16 @@ -
    -
    - - - -
    - - - - - - - +
    +
    + + + +
    + + + + + + + diff --git a/wp-content/themes/abiz/frontpage.php b/gk-assets/themes/abiz/frontpage.php similarity index 92% rename from wp-content/themes/abiz/frontpage.php rename to gk-assets/themes/abiz/frontpage.php index c5c6ec6..6381f27 100644 --- a/wp-content/themes/abiz/frontpage.php +++ b/gk-assets/themes/abiz/frontpage.php @@ -1,15 +1,15 @@ - \ No newline at end of file diff --git a/wp-content/themes/abiz/fullwidth-page.php b/gk-assets/themes/abiz/fullwidth-page.php similarity index 95% rename from wp-content/themes/abiz/fullwidth-page.php rename to gk-assets/themes/abiz/fullwidth-page.php index c1e41a6..9904610 100644 --- a/wp-content/themes/abiz/fullwidth-page.php +++ b/gk-assets/themes/abiz/fullwidth-page.php @@ -1,26 +1,26 @@ - -
    -
    -
    -
    - comment_status == 'open' ) { - comments_template( '', true ); // show comments - } - ?> -
    -
    -
    -
    + +
    +
    +
    +
    + comment_status == 'open' ) { + comments_template( '', true ); // show comments + } + ?> +
    +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/functions.php b/gk-assets/themes/abiz/functions.php similarity index 96% rename from wp-content/themes/abiz/functions.php rename to gk-assets/themes/abiz/functions.php index 973e9e6..3d27407 100644 --- a/wp-content/themes/abiz/functions.php +++ b/gk-assets/themes/abiz/functions.php @@ -1,57 +1,57 @@ - esc_html__( 'Primary Menu', 'abiz' ) - ) ); - add_theme_support( 'html5', array( - 'search-form', - 'comment-form', - 'comment-list', - 'gallery', - 'caption', - ) ); - add_theme_support( 'custom-background', apply_filters( 'abiz_custom_background_args', array( - 'default-color' => 'ffffff', - 'default-image' => '', - ) ) ); - add_theme_support( 'customize-selective-refresh-widgets' ); - add_theme_support('custom-logo'); - add_theme_support( 'woocommerce' ); - - // Root path/URI. - define( 'ABIZ_THEME_DIR', get_template_directory() ); - define( 'ABIZ_THEME_URI', get_template_directory_uri() ); - - // Root path/URI. - define( 'ABIZ_THEME_CORE_DIR', ABIZ_THEME_DIR . '/core'); - define( 'ABIZ_THEME_CORE_URI', ABIZ_THEME_URI . '/core'); - - // Control path/URI. - define( 'ABIZ_THEME_CONTROL_DIR', ABIZ_THEME_CORE_DIR . '/customizer/custom-controls'); - define( 'ABIZ_THEME_CONTROL_URI', ABIZ_THEME_CORE_DIR . '/customizer/custom-controls'); -} -endif; -add_action( 'after_setup_theme', 'abiz_setup' ); - -// Content Width -function abiz_content_width() { - $GLOBALS['content_width'] = apply_filters( 'abiz_content_width', 1200 ); -} -add_action( 'after_setup_theme', 'abiz_content_width', 0 ); - -// Main file + esc_html__( 'Primary Menu', 'abiz' ) + ) ); + add_theme_support( 'html5', array( + 'search-form', + 'comment-form', + 'comment-list', + 'gallery', + 'caption', + ) ); + add_theme_support( 'custom-background', apply_filters( 'abiz_custom_background_args', array( + 'default-color' => 'ffffff', + 'default-image' => '', + ) ) ); + add_theme_support( 'customize-selective-refresh-widgets' ); + add_theme_support('custom-logo'); + add_theme_support( 'woocommerce' ); + + // Root path/URI. + define( 'ABIZ_THEME_DIR', get_template_directory() ); + define( 'ABIZ_THEME_URI', get_template_directory_uri() ); + + // Root path/URI. + define( 'ABIZ_THEME_CORE_DIR', ABIZ_THEME_DIR . '/core'); + define( 'ABIZ_THEME_CORE_URI', ABIZ_THEME_URI . '/core'); + + // Control path/URI. + define( 'ABIZ_THEME_CONTROL_DIR', ABIZ_THEME_CORE_DIR . '/customizer/custom-controls'); + define( 'ABIZ_THEME_CONTROL_URI', ABIZ_THEME_CORE_DIR . '/customizer/custom-controls'); +} +endif; +add_action( 'after_setup_theme', 'abiz_setup' ); + +// Content Width +function abiz_content_width() { + $GLOBALS['content_width'] = apply_filters( 'abiz_content_width', 1200 ); +} +add_action( 'after_setup_theme', 'abiz_content_width', 0 ); + +// Main file require_once get_template_directory() . '/core/core.php'; \ No newline at end of file diff --git a/wp-content/themes/abiz/header.php b/gk-assets/themes/abiz/header.php similarity index 96% rename from wp-content/themes/abiz/header.php rename to gk-assets/themes/abiz/header.php index ffe41d9..fe543e4 100644 --- a/wp-content/themes/abiz/header.php +++ b/gk-assets/themes/abiz/header.php @@ -1,28 +1,28 @@ - - -> - - - - - - - - - - > - - - -
    + + +> + + + + + + + + + + > + + + +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/index.php b/gk-assets/themes/abiz/index.php similarity index 96% rename from wp-content/themes/abiz/index.php rename to gk-assets/themes/abiz/index.php index 083551c..3cf007c 100644 --- a/wp-content/themes/abiz/index.php +++ b/gk-assets/themes/abiz/index.php @@ -1,48 +1,48 @@ - -
    -
    -
    -
    -
    - -
    - -
    - -
    -
    -
    -
    - '', - 'next_text' => '' - ) ); - ?> -
    -
    -
    -
    - -
    -
    -
    - + +
    +
    +
    +
    +
    + +
    + +
    + +
    +
    +
    +
    + '', + 'next_text' => '' + ) ); + ?> +
    +
    +
    +
    + +
    +
    +
    + diff --git a/wp-content/themes/chromax/licence.txt b/gk-assets/themes/abiz/licence.txt similarity index 98% rename from wp-content/themes/chromax/licence.txt rename to gk-assets/themes/abiz/licence.txt index 818433e..94a9ed0 100644 --- a/wp-content/themes/chromax/licence.txt +++ b/gk-assets/themes/abiz/licence.txt @@ -1,674 +1,674 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/wp-content/themes/abiz/page.php b/gk-assets/themes/abiz/page.php similarity index 96% rename from wp-content/themes/abiz/page.php rename to gk-assets/themes/abiz/page.php index 9a830bb..3743dcd 100644 --- a/wp-content/themes/abiz/page.php +++ b/gk-assets/themes/abiz/page.php @@ -1,45 +1,45 @@ - -
    -
    -
    - -
    - - -
    - - - -
    - - comment_status == 'open' ) { - comments_template( '', true ); // show comments - } - ?> -
    - -
    -
    -
    + +
    +
    +
    + +
    + + +
    + + + +
    + + comment_status == 'open' ) { + comments_template( '', true ); // show comments + } + ?> +
    + +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/pagebuilder.php b/gk-assets/themes/abiz/pagebuilder.php similarity index 100% rename from wp-content/themes/abiz/pagebuilder.php rename to gk-assets/themes/abiz/pagebuilder.php diff --git a/wp-content/themes/abiz/readme.txt b/gk-assets/themes/abiz/readme.txt similarity index 97% rename from wp-content/themes/abiz/readme.txt rename to gk-assets/themes/abiz/readme.txt index 4d07397..22548ef 100644 --- a/wp-content/themes/abiz/readme.txt +++ b/gk-assets/themes/abiz/readme.txt @@ -1,170 +1,170 @@ -== Abiz == -Contributors: themesdaddy -Requires at least: 4.5 -Tested up to: 6.9 -Requires PHP: 5.4 -Stable tag: 1.0.35 -License: GNU General Public License v3 or later -License URI: http://www.gnu.org/licenses/gpl.html -Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, e-commerce, portfolio - -== Description == - -Lightning Fast Speed & Responsive Theme. Abiz is a responsive and fully customizable theme to create any kind of websites. The advanced admin panel will enable you to customize it without any technical knowledge. This theme is lightweight, it will enable you to create almost any type of website such a blog, portfolio, acting and shooting industry, total trendy news, newspaper, mega magazine, fashion, dark themes, petcare, animals wildlife, wooden architecture, plumbing contractor, painting estate, interior design, rooms furniture, home decoration, green floral nature, construction, corporate, multiple agency, business promotion, dark variation, industries, Beauty & spa salons, photography, gym, fitness, health, medical, startups, business agencies, law firms, travel, NGO, charity, yoga, kids education, training institute, university portal, restaurant, meta shop, quick magazines, mutual fund, finance, accounting, consulting ,travel agency website. Theme is fully compatible with popular WordPress plugins like Elementor Page Builder, Slider, Carousal, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, Gutenberg, Block-Enabled, WooCommerce, WPML, Yoast SEO, Shortcode, Jetpack, Contact Form 7, Mailchimp for WordPress, bbPress, Demo Importer, WPForms and more. Your WordPress website will never be let down with this theme. View the demo of Abiz Pro https://demo.themesdaddy.com/abiz-pro/ - -== Installation == - -1. In your admin panel, go to Appearance > Themes and click the Add New button. -2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now. -3. Click Activate to use your new theme right away. - -== License == - -Abiz WordPress Theme, Copyright (C) 2025, Themes Daddy -Abiz is distributed under the terms of the GNU GPL - -Animate - Copyright (c) 2015 Daniel Eden -Source: http://daneden.me/animate -Licensed: Under the MIT license - https://github.com/daneden/animate.css/blob/master/LICENSE - -Bootstrap v5.0.0 (http://getbootstrap.com) -Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - -Font Awesome 6.5.1 -Source: https://github.com/FortAwesome/Font-Awesome -License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - -Owl Carousel v2.3.4, (C) 2013 - 2018, David Deutsch -Source: https://github.com/OwlCarousel2/OwlCarousel2/ -License: [MIT](https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE) - -WOW - Copyright (C) 2016; Thomas Grainger -Source: https://wowjs.uk/ -License: [MIT](https://github.com/graingert/WOW/blob/master/LICENSE) - -Webfonts Loader -Source: https://github.com/WPTT/webfont-loader -License: MIT LICENSE (https://opensource.org/licenses/MIT) - -Repeater Control -Source: https://github.com/cristian-ungureanu/customizer-repeater -License: MIT LICENSE (https://github.com/cristian-ungureanu/customizer-repeater/blob/production/LICENSE) - -== Screenshots == -All Abiz images are licensed under [CC0] (https://creativecommons.org/publicdomain/zero/1.0/) - -Image for theme screenshot -License: Creative Commons Zero(https://pxhere.com/en/license) -Source: https://pxhere.com/en/photo/948768 , https://pxhere.com/en/photo/1695952 , https://pxhere.com/en/photo/1451441 , https://pxhere.com/en/photo/871986 , https://pxhere.com/en/photo/1452805 - -Image for page header -License: CC0 Public Domain(https://stocksnap.io/license) -Source: https://stocksnap.io/photo/macbook-laptop-LEJ7HJ5BEA - -== Changelog == - -@Version 1.0.35 -* Style Issue Fixed - -@Version 1.0.34 -* Sidebar Widget link Outline issue Fixed - -@Version 1.0.33 -* Footer Widget link Outline issue Fixed - -@Version 1.0.32 -* Tested With WordPress 6.9 - -@Version 1.0.31 -* WooCommerce Cart Page Text Decoration Issue Fixed - -@Version 1.0.30 -* About Section Video Button Text Decoration Issue Fixed - -@Version 1.0.29 -* Block Latest Comment Hover & Focus Color Changed - -@Version 1.0.28 -* Block Latest Comment Color Issue Fixed - -@Version 1.0.27 -* Tested With WordPress 6.8.3 - -@Version 1.0.26 -* Block File Style Issue Fixed - -@Version 1.0.25 -* Block Latest Post Title Font Size Changed - -@Version 1.0.24 -* WooCommerce Notice Issue Fixed - -@Version 1.0.23 -* Style Improvement - -@Version 1.0.22 -* WooCommerce Cart Page Remove Style Issue Fixed - -@Version 1.0.21 -* WooCommerce Cart Page Total Title Style Issue Fixed - -@Version 1.0.20 -* Block Style Improvement - -@Version 1.0.19 -* Block Post Title Style Issue Fixed - -@Version 1.0.18 -* Tested With WordPress 6.8.2 - -@Version 1.0.17 -* Block Site Tagline Style Issue Fixed - -@Version 1.0.16 -* Block Site Title Style Issue Fixed - -@Version 1.0.15 -* Block Video Caption Style Issue Fixed - -@Version 1.0.14 -* Block Image Caption Style Issue Fixed - -@Version 1.0.13 -* Block Image Align Issue Fixed - -@Version 1.0.12 -* Tested With WordPress 6.8.1 - -@Version 1.0.11 -* Top Header Padding Issue Fixed - -@Version 1.0.10 -* Footer Widget Title Style Issue Fixed - -@Version 1.0.9 -* Tested With WordPress 6.8 - -@Version 1.0.8 -* Block Site Title Style Issue Fixed - -@Version 1.0.7 -* Sidebar Latest Comment Widget Style Issue Fixed - -@Version 1.0.6 -* Block Author Style Issue Fixed - -@Version 1.0.5 -* Block Image Caption Style Issue Fixed - -@Version 1.0.4 -* Menu Issue Fixed - -@Version 1.0.3 -* Menu Issue Fixed - -@Version 1.0.2 -* Pro Details Panel Added -* Theme URI Added - -@Version 1.0.1 +== Abiz == +Contributors: themesdaddy +Requires at least: 4.5 +Tested up to: 6.9 +Requires PHP: 5.4 +Stable tag: 1.0.35 +License: GNU General Public License v3 or later +License URI: http://www.gnu.org/licenses/gpl.html +Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, e-commerce, portfolio + +== Description == + +Lightning Fast Speed & Responsive Theme. Abiz is a responsive and fully customizable theme to create any kind of websites. The advanced admin panel will enable you to customize it without any technical knowledge. This theme is lightweight, it will enable you to create almost any type of website such a blog, portfolio, acting and shooting industry, total trendy news, newspaper, mega magazine, fashion, dark themes, petcare, animals wildlife, wooden architecture, plumbing contractor, painting estate, interior design, rooms furniture, home decoration, green floral nature, construction, corporate, multiple agency, business promotion, dark variation, industries, Beauty & spa salons, photography, gym, fitness, health, medical, startups, business agencies, law firms, travel, NGO, charity, yoga, kids education, training institute, university portal, restaurant, meta shop, quick magazines, mutual fund, finance, accounting, consulting ,travel agency website. Theme is fully compatible with popular WordPress plugins like Elementor Page Builder, Slider, Carousal, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, Gutenberg, Block-Enabled, WooCommerce, WPML, Yoast SEO, Shortcode, Jetpack, Contact Form 7, Mailchimp for WordPress, bbPress, Demo Importer, WPForms and more. Your WordPress website will never be let down with this theme. View the demo of Abiz Pro https://demo.themesdaddy.com/abiz-pro/ + +== Installation == + +1. In your admin panel, go to Appearance > Themes and click the Add New button. +2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now. +3. Click Activate to use your new theme right away. + +== License == + +Abiz WordPress Theme, Copyright (C) 2025, Themes Daddy +Abiz is distributed under the terms of the GNU GPL + +Animate - Copyright (c) 2015 Daniel Eden +Source: http://daneden.me/animate +Licensed: Under the MIT license - https://github.com/daneden/animate.css/blob/master/LICENSE + +Bootstrap v5.0.0 (http://getbootstrap.com) +Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + +Font Awesome 6.5.1 +Source: https://github.com/FortAwesome/Font-Awesome +License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + +Owl Carousel v2.3.4, (C) 2013 - 2018, David Deutsch +Source: https://github.com/OwlCarousel2/OwlCarousel2/ +License: [MIT](https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE) + +WOW - Copyright (C) 2016; Thomas Grainger +Source: https://wowjs.uk/ +License: [MIT](https://github.com/graingert/WOW/blob/master/LICENSE) + +Webfonts Loader +Source: https://github.com/WPTT/webfont-loader +License: MIT LICENSE (https://opensource.org/licenses/MIT) + +Repeater Control +Source: https://github.com/cristian-ungureanu/customizer-repeater +License: MIT LICENSE (https://github.com/cristian-ungureanu/customizer-repeater/blob/production/LICENSE) + +== Screenshots == +All Abiz images are licensed under [CC0] (https://creativecommons.org/publicdomain/zero/1.0/) + +Image for theme screenshot +License: Creative Commons Zero(https://pxhere.com/en/license) +Source: https://pxhere.com/en/photo/948768 , https://pxhere.com/en/photo/1695952 , https://pxhere.com/en/photo/1451441 , https://pxhere.com/en/photo/871986 , https://pxhere.com/en/photo/1452805 + +Image for page header +License: CC0 Public Domain(https://stocksnap.io/license) +Source: https://stocksnap.io/photo/macbook-laptop-LEJ7HJ5BEA + +== Changelog == + +@Version 1.0.35 +* Style Issue Fixed + +@Version 1.0.34 +* Sidebar Widget link Outline issue Fixed + +@Version 1.0.33 +* Footer Widget link Outline issue Fixed + +@Version 1.0.32 +* Tested With WordPress 6.9 + +@Version 1.0.31 +* WooCommerce Cart Page Text Decoration Issue Fixed + +@Version 1.0.30 +* About Section Video Button Text Decoration Issue Fixed + +@Version 1.0.29 +* Block Latest Comment Hover & Focus Color Changed + +@Version 1.0.28 +* Block Latest Comment Color Issue Fixed + +@Version 1.0.27 +* Tested With WordPress 6.8.3 + +@Version 1.0.26 +* Block File Style Issue Fixed + +@Version 1.0.25 +* Block Latest Post Title Font Size Changed + +@Version 1.0.24 +* WooCommerce Notice Issue Fixed + +@Version 1.0.23 +* Style Improvement + +@Version 1.0.22 +* WooCommerce Cart Page Remove Style Issue Fixed + +@Version 1.0.21 +* WooCommerce Cart Page Total Title Style Issue Fixed + +@Version 1.0.20 +* Block Style Improvement + +@Version 1.0.19 +* Block Post Title Style Issue Fixed + +@Version 1.0.18 +* Tested With WordPress 6.8.2 + +@Version 1.0.17 +* Block Site Tagline Style Issue Fixed + +@Version 1.0.16 +* Block Site Title Style Issue Fixed + +@Version 1.0.15 +* Block Video Caption Style Issue Fixed + +@Version 1.0.14 +* Block Image Caption Style Issue Fixed + +@Version 1.0.13 +* Block Image Align Issue Fixed + +@Version 1.0.12 +* Tested With WordPress 6.8.1 + +@Version 1.0.11 +* Top Header Padding Issue Fixed + +@Version 1.0.10 +* Footer Widget Title Style Issue Fixed + +@Version 1.0.9 +* Tested With WordPress 6.8 + +@Version 1.0.8 +* Block Site Title Style Issue Fixed + +@Version 1.0.7 +* Sidebar Latest Comment Widget Style Issue Fixed + +@Version 1.0.6 +* Block Author Style Issue Fixed + +@Version 1.0.5 +* Block Image Caption Style Issue Fixed + +@Version 1.0.4 +* Menu Issue Fixed + +@Version 1.0.3 +* Menu Issue Fixed + +@Version 1.0.2 +* Pro Details Panel Added +* Theme URI Added + +@Version 1.0.1 * Initial release. \ No newline at end of file diff --git a/wp-content/themes/abiz/screenshot.png b/gk-assets/themes/abiz/screenshot.png similarity index 100% rename from wp-content/themes/abiz/screenshot.png rename to gk-assets/themes/abiz/screenshot.png diff --git a/wp-content/themes/abiz/search.php b/gk-assets/themes/abiz/search.php similarity index 96% rename from wp-content/themes/abiz/search.php rename to gk-assets/themes/abiz/search.php index 5ea81bb..04a8486 100644 --- a/wp-content/themes/abiz/search.php +++ b/gk-assets/themes/abiz/search.php @@ -1,47 +1,47 @@ - -
    -
    -
    -
    -
    - -
    -
    -
    -
    - '', - 'next_text' => '', - ) - ); - ?> -
    -
    -
    -
    - -
    -
    -
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + '', + 'next_text' => '', + ) + ); + ?> +
    +
    +
    +
    + +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/searchform.php b/gk-assets/themes/abiz/searchform.php similarity index 100% rename from wp-content/themes/abiz/searchform.php rename to gk-assets/themes/abiz/searchform.php diff --git a/wp-content/themes/abiz/sidebar-woocommerce.php b/gk-assets/themes/abiz/sidebar-woocommerce.php similarity index 96% rename from wp-content/themes/abiz/sidebar-woocommerce.php rename to gk-assets/themes/abiz/sidebar-woocommerce.php index 5a121c3..177d3c6 100644 --- a/wp-content/themes/abiz/sidebar-woocommerce.php +++ b/gk-assets/themes/abiz/sidebar-woocommerce.php @@ -1,11 +1,11 @@ - -
    - -
    + +
    + +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/sidebar.php b/gk-assets/themes/abiz/sidebar.php similarity index 95% rename from wp-content/themes/abiz/sidebar.php rename to gk-assets/themes/abiz/sidebar.php index dafafae..7ad6ce2 100644 --- a/wp-content/themes/abiz/sidebar.php +++ b/gk-assets/themes/abiz/sidebar.php @@ -1,11 +1,11 @@ - -
    - -
    + +
    + +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/single.php b/gk-assets/themes/abiz/single.php similarity index 97% rename from wp-content/themes/abiz/single.php rename to gk-assets/themes/abiz/single.php index 1fb5ec6..90eb4a6 100644 --- a/wp-content/themes/abiz/single.php +++ b/gk-assets/themes/abiz/single.php @@ -1,28 +1,28 @@ - -
    -
    -
    -
    -
    - - -
    - -
    - - - - -
    -
    - -
    -
    -
    - + +
    +
    +
    +
    +
    + + +
    + +
    + + + + +
    +
    + +
    +
    +
    + diff --git a/wp-content/themes/abiz/style.css b/gk-assets/themes/abiz/style.css similarity index 98% rename from wp-content/themes/abiz/style.css rename to gk-assets/themes/abiz/style.css index ca75006..3080df1 100644 --- a/wp-content/themes/abiz/style.css +++ b/gk-assets/themes/abiz/style.css @@ -1,27 +1,27 @@ -/* -Theme Name: Abiz -Author: Themes Daddy -Author URI: https://themesdaddy.com/ -Theme URI: https://themesdaddy.com/themes/abiz-free/ -Description: Lightning Fast Speed & Responsive Theme. Abiz is a responsive and fully customizable theme to create any kind of websites. The advanced admin panel will enable you to customize it without any technical knowledge. This theme is lightweight, it will enable you to create almost any type of website such a blog, portfolio, acting and shooting industry, total trendy news, newspaper, mega magazine, fashion, dark themes, petcare, animals wildlife, wooden architecture, plumbing contractor, painting estate, interior design, rooms furniture, home decoration, green floral nature, construction, corporate, multiple agency, business promotion, dark variation, industries, Beauty & spa salons, photography, gym, fitness, health, medical, startups, business agencies, law firms, travel, NGO, charity, yoga, kids education, training institute, university portal, restaurant, meta shop, quick magazines, mutual fund, finance, accounting, consulting ,travel agency website. Theme is fully compatible with popular WordPress plugins like Elementor Page Builder, Slider, Carousal, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, Gutenberg, Block-Enabled, WooCommerce, WPML, Yoast SEO, Shortcode, Jetpack, Contact Form 7, Mailchimp for WordPress, bbPress, Demo Importer, WPForms and more. Your WordPress website will never be let down with this theme. View the demo of Abiz Pro https://demo.themesdaddy.com/abiz-pro/ -Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, e-commerce, portfolio -Version: 1.0.35 -Tested up to: 6.9 -Requires PHP: 5.4 -License URI: http://www.gnu.org/licenses/gpl-2.0.html -License: GNU General Public License v2 or later -Text Domain: abiz -Slug: abiz -*/ - -.btn, .btn.btn-primary { - border-radius: 50px; -} - -.abiz-marquee-section { - margin-top: 6.75rem; -} - -.main-footer { - background: var(--bs-secondary); +/* +Theme Name: Abiz +Author: Themes Daddy +Author URI: https://themesdaddy.com/ +Theme URI: https://themesdaddy.com/themes/abiz-free/ +Description: Lightning Fast Speed & Responsive Theme. Abiz is a responsive and fully customizable theme to create any kind of websites. The advanced admin panel will enable you to customize it without any technical knowledge. This theme is lightweight, it will enable you to create almost any type of website such a blog, portfolio, acting and shooting industry, total trendy news, newspaper, mega magazine, fashion, dark themes, petcare, animals wildlife, wooden architecture, plumbing contractor, painting estate, interior design, rooms furniture, home decoration, green floral nature, construction, corporate, multiple agency, business promotion, dark variation, industries, Beauty & spa salons, photography, gym, fitness, health, medical, startups, business agencies, law firms, travel, NGO, charity, yoga, kids education, training institute, university portal, restaurant, meta shop, quick magazines, mutual fund, finance, accounting, consulting ,travel agency website. Theme is fully compatible with popular WordPress plugins like Elementor Page Builder, Slider, Carousal, Beaver Builder, Brizy, Visual Composer, Divi, SiteOrigin, Gutenberg, Block-Enabled, WooCommerce, WPML, Yoast SEO, Shortcode, Jetpack, Contact Form 7, Mailchimp for WordPress, bbPress, Demo Importer, WPForms and more. Your WordPress website will never be let down with this theme. View the demo of Abiz Pro https://demo.themesdaddy.com/abiz-pro/ +Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, e-commerce, portfolio +Version: 1.0.35 +Tested up to: 6.9 +Requires PHP: 5.4 +License URI: http://www.gnu.org/licenses/gpl-2.0.html +License: GNU General Public License v2 or later +Text Domain: abiz +Slug: abiz +*/ + +.btn, .btn.btn-primary { + border-radius: 50px; +} + +.abiz-marquee-section { + margin-top: 6.75rem; +} + +.main-footer { + background: var(--bs-secondary); } \ No newline at end of file diff --git a/wp-content/themes/abiz/template-parts/author-details.php b/gk-assets/themes/abiz/template-parts/author-details.php similarity index 97% rename from wp-content/themes/abiz/template-parts/author-details.php rename to gk-assets/themes/abiz/template-parts/author-details.php index 6b18cf0..9af265c 100644 --- a/wp-content/themes/abiz/template-parts/author-details.php +++ b/gk-assets/themes/abiz/template-parts/author-details.php @@ -1,40 +1,40 @@ - -
    -
    -
    - ID : false; - ?> -
    - -
    -
    -
    - - -

    - tag. %2$s: . - printf( wp_kses_post( __( 'You haven’t entered your Biographical Information yet. %1$sEdit your Profile%2$s now.', 'abiz' ) ), '
    ', '' ); - ?> -

    - -

    - - -
    -
    -
    + +
    +
    +
    + ID : false; + ?> +
    + +
    +
    +
    + + +

    + tag. %2$s: . + printf( wp_kses_post( __( 'You haven’t entered your Biographical Information yet. %1$sEdit your Profile%2$s now.', 'abiz' ) ), '
    ', '' ); + ?> +

    + +

    + + +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/template-parts/content-none.php b/gk-assets/themes/abiz/template-parts/content-none.php similarity index 96% rename from wp-content/themes/abiz/template-parts/content-none.php rename to gk-assets/themes/abiz/template-parts/content-none.php index 9a828f0..3c8d4ea 100644 --- a/wp-content/themes/abiz/template-parts/content-none.php +++ b/gk-assets/themes/abiz/template-parts/content-none.php @@ -1,37 +1,37 @@ - -
    > -
    - ' . wp_kses( - /* translators: 1: link to WP admin new post page. */ - __( 'Ready to publish your first post? Get started here.', 'abiz' ), - array( - 'a' => array( - 'href' => array(), - ), - ) - ) . '

    ', - esc_url( admin_url( 'post-new.php' ) ) - ); - - elseif ( is_search() ) : - ?> - -

    - -

    - -
    + +
    > +
    + ' . wp_kses( + /* translators: 1: link to WP admin new post page. */ + __( 'Ready to publish your first post? Get started here.', 'abiz' ), + array( + 'a' => array( + 'href' => array(), + ), + ) + ) . '

    ', + esc_url( admin_url( 'post-new.php' ) ) + ); + + elseif ( is_search() ) : + ?> + +

    + +

    + +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/template-parts/content-page.php b/gk-assets/themes/abiz/template-parts/content-page.php similarity index 97% rename from wp-content/themes/abiz/template-parts/content-page.php rename to gk-assets/themes/abiz/template-parts/content-page.php index 6c5d0ee..47a15b0 100644 --- a/wp-content/themes/abiz/template-parts/content-page.php +++ b/gk-assets/themes/abiz/template-parts/content-page.php @@ -1,87 +1,87 @@ - -
    > -
    -
    -
    - -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    - - -
    -
    - - - - ', '' ); - - else: - - the_title( sprintf( '

    ', esc_url( get_permalink() ) ), '

    ' ); - - endif; - elseif ( 'content' === $blog_data_order ) : - if($enable_blog_excerpt == '1' && !is_single()): - the_excerpt(); - abiz_blog_excerpt_button(); - else: - the_content( - sprintf( - __( 'Read More', 'abiz' ), - ' '.esc_html(get_the_title()).'' - ) - ); - endif; - endif; - endforeach; - ?> -
    -
    -
    + +
    > +
    +
    +
    + +
    +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + + + +
    +
    +
    +
    + + +
    +
    + + + + ', '' ); + + else: + + the_title( sprintf( '

    ', esc_url( get_permalink() ) ), '

    ' ); + + endif; + elseif ( 'content' === $blog_data_order ) : + if($enable_blog_excerpt == '1' && !is_single()): + the_excerpt(); + abiz_blog_excerpt_button(); + else: + the_content( + sprintf( + __( 'Read More', 'abiz' ), + ' '.esc_html(get_the_title()).'' + ) + ); + endif; + endif; + endforeach; + ?> +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/template-parts/content.php b/gk-assets/themes/abiz/template-parts/content.php similarity index 97% rename from wp-content/themes/abiz/template-parts/content.php rename to gk-assets/themes/abiz/template-parts/content.php index 5f658dc..6054fcf 100644 --- a/wp-content/themes/abiz/template-parts/content.php +++ b/gk-assets/themes/abiz/template-parts/content.php @@ -1,92 +1,92 @@ - -
    > -
    -
    -
    - -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    - - -
    -
    - - - - ', '' ); - - else: - - the_title( sprintf( '

    ', esc_url( get_permalink() ) ), '

    ' ); - - endif; - elseif ( 'content' === $blog_data_order ) : - if($enable_blog_excerpt == '1' && !is_single()): - the_excerpt(); - abiz_blog_excerpt_button(); - else: - the_content( - sprintf( - __( 'Read More', 'abiz' ), - ' '.esc_html(get_the_title()).'' - ) - ); - endif; - wp_link_pages( array( - 'before' => '', - ) ); - endif; - endforeach; - ?> -
    -
    -
    + +
    > +
    +
    +
    + +
    +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    + + + +
    +
    +
    +
    + + +
    +
    + + + + ', '' ); + + else: + + the_title( sprintf( '

    ', esc_url( get_permalink() ) ), '

    ' ); + + endif; + elseif ( 'content' === $blog_data_order ) : + if($enable_blog_excerpt == '1' && !is_single()): + the_excerpt(); + abiz_blog_excerpt_button(); + else: + the_content( + sprintf( + __( 'Read More', 'abiz' ), + ' '.esc_html(get_the_title()).'' + ) + ); + endif; + wp_link_pages( array( + 'before' => '', + ) ); + endif; + endforeach; + ?> +
    +
    +
    \ No newline at end of file diff --git a/wp-content/themes/abiz/template-parts/footer-copyright.php b/gk-assets/themes/abiz/template-parts/footer-copyright.php similarity index 96% rename from wp-content/themes/abiz/template-parts/footer-copyright.php rename to gk-assets/themes/abiz/template-parts/footer-copyright.php index 7ad9351..5979111 100644 --- a/wp-content/themes/abiz/template-parts/footer-copyright.php +++ b/gk-assets/themes/abiz/template-parts/footer-copyright.php @@ -1,14 +1,14 @@ - -