From ebd444241c2a5cd329662a6097abc5f16f072893 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Thu, 16 Feb 2023 23:55:04 +0800 Subject: [PATCH 01/47] Test --- style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style.css b/style.css index 2482e59b..f6da7ba6 100644 --- a/style.css +++ b/style.css @@ -15,3 +15,5 @@ Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, fe /* Add your custom styles here */ + +.test {} \ No newline at end of file From 6b1206ff388d261fa747adb7626e573aa241a22b Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:15:48 +0800 Subject: [PATCH 02/47] Test 2 --- functions.php | 15 ++++++------ js/script.js | 5 ++++ readme.txt | 68 +-------------------------------------------------- style.css | 4 +-- 4 files changed, 15 insertions(+), 77 deletions(-) create mode 100644 js/script.js diff --git a/functions.php b/functions.php index 846e1f30..d2d2f2a5 100644 --- a/functions.php +++ b/functions.php @@ -11,13 +11,12 @@ * @return void */ function hello_elementor_child_enqueue_scripts() { - wp_enqueue_style( - 'hello-elementor-child-style', - get_stylesheet_directory_uri() . '/style.css', - [ - 'hello-elementor-theme-style', - ], - '1.0.0' - ); + $ver = time(); + //SCRIPT + wp_enqueue_script('jquery'); + wp_enqueue_script('cb-script', get_stylesheet_directory_uri() . '/js/script.js', array(), $ver, true); + + //STYLE + wp_enqueue_style('hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', false, $ver, 'all'); } add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); diff --git a/js/script.js b/js/script.js new file mode 100644 index 00000000..4ae46201 --- /dev/null +++ b/js/script.js @@ -0,0 +1,5 @@ +(function($) { + $(document).ready(function() { + // WRITE YOUR CODE HERE + }); +})(jQuery); \ No newline at end of file diff --git a/readme.txt b/readme.txt index 1fd4ddb8..644f8241 100644 --- a/readme.txt +++ b/readme.txt @@ -1,67 +1 @@ -=== Hello Elementor Child === - -Contributors: elemntor, KingYes, ariel.k, jzaltzberg, mati1000, bainternet -Requires at least: WordPress 4.7 -Tested up to: WordPress 5.2 -Stable tag: 1.0.0 -Version: 1.0.1 -Requires PHP: 5.4 -License: GNU General Public License v3 or later -License URI: https://www.gnu.org/licenses/gpl-3.0.html -Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready - -The Hello Elementor Child Theme is a starter blank child theme for [Hello Elementor](https://wordpress.org/themes/hello-elementor/) theme. - -***Hello Elementor*** is distributed under the terms of the GNU GPL v3 or later. - -== Description == - -A basic, plain-vanilla, lightweight theme, best suited for building your site using Elementor page builder. - -This theme resets the WordPress environment and prepares it for smooth operation of Elementor. - -Screenshot's images & icons are licensed under: Creative Commons (CC0), https://creativecommons.org/publicdomain/zero/1.0/legalcode - -== Installation == - -1. In your admin panel, go to Appearance > Themes and click the 'Add New' button. -2. Click 'Upload theme' and upload the zipped child -3. Click on the 'Activate' button to use your new theme right away. -4. Navigate to Elementor and start building your site. - -== Customizations == - -Most users will not need to edit the files for customizing this theme. -To customize your site's appearance, simply use ***Elementor***. - -However, if you have a particular need to adapt this theme, please read on. - -== Frequently Asked Questions == - -**Does this theme support any plugins?** - -Hello Elementor includes support for WooCommerce. - -**Can Font Styles be added thru the theme's css file?** - -Yes, ***but*** best practice is to use the styling capabilities in the Elementor plugin. - -== Copyright == - -This theme, like WordPress, is licensed under the GPL. -Use it as your springboard to building a site with ***Elementor***. - -Hello Elementor bundles the following third-party resources: - -Font Awesome icons for theme screenshot -License: SIL Open Font License, version 1.1. -Source: https://fontawesome.com/v4.7.0/ - -Image for theme screenshot, Copyright Jason Blackeye -License: CC0 1.0 Universal (CC0 1.0) -Source: https://stocksnap.io/photo/4B83RD7BV9 - -== Changelog == - -= 1.0.0 - 2019-05-23 = -* Initial Public Release +

TEST

\ No newline at end of file diff --git a/style.css b/style.css index f6da7ba6..daeb7ff4 100644 --- a/style.css +++ b/style.css @@ -15,5 +15,5 @@ Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, fe /* Add your custom styles here */ - -.test {} \ No newline at end of file +@media only screen and (max-width: 1024px) {} +@media only screen and (max-width: 767px) {} \ No newline at end of file From 8a4a27c299eb9620e6fc16d016c69f1c52b65c4b Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:16:59 +0800 Subject: [PATCH 03/47] Test 2 --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 644f8241..db3d03b9 100644 --- a/readme.txt +++ b/readme.txt @@ -1 +1 @@ -

TEST

\ No newline at end of file +# TEST \ No newline at end of file From d719e72808734d5df6c0478e4284ceb04e1cd979 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:17:43 +0800 Subject: [PATCH 04/47] Test 2 --- readme.txt => readme.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readme.txt => readme.md (100%) diff --git a/readme.txt b/readme.md similarity index 100% rename from readme.txt rename to readme.md From 97bfda1dac5f688799242e9452145293497da11c Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:19:47 +0800 Subject: [PATCH 05/47] Test 2 --- readme.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 readme.txt diff --git a/readme.txt b/readme.txt new file mode 100644 index 00000000..3c9985e7 --- /dev/null +++ b/readme.txt @@ -0,0 +1,2 @@ +# HELLO THEME CHILD +Author: [Elron Naranja](https://elronnaranja.com) \ No newline at end of file From a09c26c9101c116cbf8247bc6029461bfd4807ce Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:20:42 +0800 Subject: [PATCH 06/47] Test 2 --- readme.md | 3 ++- readme.txt | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 readme.txt diff --git a/readme.md b/readme.md index db3d03b9..3c9985e7 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,2 @@ -# TEST \ No newline at end of file +# HELLO THEME CHILD +Author: [Elron Naranja](https://elronnaranja.com) \ No newline at end of file diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 3c9985e7..00000000 --- a/readme.txt +++ /dev/null @@ -1,2 +0,0 @@ -# HELLO THEME CHILD -Author: [Elron Naranja](https://elronnaranja.com) \ No newline at end of file From b255531a9be46e72ec7c75becaa7171812a39439 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:23:29 +0800 Subject: [PATCH 07/47] Initial commit --- readme.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 3c9985e7..d7f0b603 100644 --- a/readme.md +++ b/readme.md @@ -1,2 +1,5 @@ -# HELLO THEME CHILD -Author: [Elron Naranja](https://elronnaranja.com) \ No newline at end of file +# HELLO ELEMENTOR CHILD +Author: [Elron Naranja](https://elronnaranja.com) +Contributor: Jermaine Lorenzo + +This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file From 7b83c48e883c7d01e882cacd9d94f8d928ece15c Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 00:30:04 +0800 Subject: [PATCH 08/47] Initial commit --- LICENSE.md | 17 +++++++++++++++++ readme.md | 1 + 2 files changed, 18 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..115e63e2 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,17 @@ +GNU General Public License 2.0+ + +Copyright (c) 2016 Tonya Mork, http://hellofromtonya.com + +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 2 +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. \ No newline at end of file diff --git a/readme.md b/readme.md index d7f0b603..b1a82b3f 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ # HELLO ELEMENTOR CHILD + Author: [Elron Naranja](https://elronnaranja.com) Contributor: Jermaine Lorenzo From aec40483568f8c333727c2a83d8a378185d865c5 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 01:02:13 +0800 Subject: [PATCH 09/47] Initial commit --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index b1a82b3f..4e5c2311 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,5 @@ # HELLO ELEMENTOR CHILD -Author: [Elron Naranja](https://elronnaranja.com) -Contributor: Jermaine Lorenzo +- Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file From 27e70e99c2d467ba8fa900c6c03ebbd2f3c34cd5 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 01:03:02 +0800 Subject: [PATCH 10/47] Initial commit --- READMES.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 READMES.md diff --git a/READMES.md b/READMES.md new file mode 100644 index 00000000..4e5c2311 --- /dev/null +++ b/READMES.md @@ -0,0 +1,5 @@ +# HELLO ELEMENTOR CHILD + +- Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo + +This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file From 3a67a652c6021148364c419902712b4e292bce6a Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 01:03:46 +0800 Subject: [PATCH 11/47] Initial commit --- READMES.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 READMES.md diff --git a/READMES.md b/READMES.md deleted file mode 100644 index 4e5c2311..00000000 --- a/READMES.md +++ /dev/null @@ -1,5 +0,0 @@ -# HELLO ELEMENTOR CHILD - -- Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo - -This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file From cd3c90484a923f392b8aac9cd42f7013b2006e29 Mon Sep 17 00:00:00 2001 From: Elron Mathew Naranja Date: Fri, 17 Feb 2023 01:04:17 +0800 Subject: [PATCH 12/47] Rename readme.md to README.md --- readme.md => README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename readme.md => README.md (88%) diff --git a/readme.md b/README.md similarity index 88% rename from readme.md rename to README.md index 4e5c2311..adb4b883 100644 --- a/readme.md +++ b/README.md @@ -2,4 +2,4 @@ - Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo -This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file +This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. From 8797f92ca05c1b44c8c468322bf286155713022a Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 01:13:10 +0800 Subject: [PATCH 13/47] Initial commit --- functions.php | 2 +- readme.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index d2d2f2a5..6f87dada 100644 --- a/functions.php +++ b/functions.php @@ -19,4 +19,4 @@ function hello_elementor_child_enqueue_scripts() { //STYLE wp_enqueue_style('hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', false, $ver, 'all'); } -add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); +add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); \ No newline at end of file diff --git a/readme.md b/readme.md index 4e5c2311..7f5f4fb4 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,11 @@ # HELLO ELEMENTOR CHILD -- Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo +Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo -This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. \ No newline at end of file +This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. + +# Features + +- SASS + +Here's a full intruction to use [SASS](https://ricardozea.medium.com/sass-for-beginners-the-friendliest-guide-about-how-to-install-use-sass-on-windows-22ff4a32c1f7). Both SASS and CSS are in the root folder. Simply run it like this "sass --watch styles.scss:styles.css". \ No newline at end of file From 2f021f7f03bb0f4253a2d4dff586959702f2be61 Mon Sep 17 00:00:00 2001 From: Elron Mathew Naranja Date: Fri, 17 Feb 2023 01:20:57 +0800 Subject: [PATCH 14/47] Delete README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index adb4b883..00000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# HELLO ELEMENTOR CHILD - -- Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo - -This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. From 59d52e759b6a916e5d6a60af82be35255c813836 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 01:52:13 +0800 Subject: [PATCH 15/47] Initial commit --- .../style.scssc | Bin 0 -> 5504 bytes README.md | 1 - style.css | 21 +---------- style.css.map | 7 ++++ style.scss | 35 ++++++++++++++++++ 5 files changed, 44 insertions(+), 20 deletions(-) create mode 100644 .sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc create mode 100644 style.css.map create mode 100644 style.scss diff --git a/.sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc b/.sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc new file mode 100644 index 0000000000000000000000000000000000000000..22aa9c1772ff6c85edb5b7bd70d249c31d033bcc GIT binary patch literal 5504 zcmeHL-E!N;6_%U~M1eAC%YU+!SZm5@WJUauC0ojFJA;gqxSUBno`}hfE;t~uA~yxF zEEb5w$>=3|)hFm1w2#p@XkVp0X8|k;h|1Vadlz5GSnS!e-+t#i=PY>8I%*x-{On+G zJmiDpgU->5=YyAn!M?|j4`04;`O(4W$47^Uoxu_OwLh##`tZb6iqc-hIi=r98NZPp zU!yf=I2OJa@$l4^^rLyBS275AnAugGA6-A;r&hOd=978Im=#t7e`}6BJ5xM{$D0lhJ-vjj2_jm9h5ejCXj_%K%U(oc1voz@*-$nU?i{f47} zsy_17KX;>0gd;d`<%Gu;Y&&+<_;TrM$yU}_1rvC;y=xQr_l4(?DKM6af#{vnmFJt##N$;If>7)=G2i1 zct#}l_E-j7pLyMxxRK&sALjslBMTSg*boFrDV8Jmg#Rhw;gDA#OaTuDkank*q#u`! zbGsGx1n0M}%tO?Co?BH@s|RJPu7_bmTDy(a94U~n0ek=el?*V7`cVr{Nw#URkAUnF zOICp;997x94!hsUoaz5EznhNA&fG6(oXxSmQSgVOwVZVT9J>Q0mLP5`r4WGZCK!TS z>=R^v%@Ydh*;GdwlwlNnqAPITEWQz-Zr86c=pvcKbA#`(Cs2A4Mg`LV`a6&S#9_=vIChi~!JWNw#~PqS$9B8@8vlaa)8~zMCb9uqJC^>^DoX--Nv$ z80K-bUD&zJI>lfwa!|X*!G3y3XHb~GXEu0VAR&X|49&bLh>vpA&WUkVU4sU_G)oJ)%no~!W)es*ZhwGw>|zSnXw`vI7)?)WAO#uvI*Ypvi=d>sjVj!t zI1kf-P2AASCafKNC)sBZk~}cAz`bam3ojmPJ?g~Gqw+WhnMwLF#Nn}li=$6xq&W3% zV}ik%RSX9ONZs`ELb-hh~RjP06r0%YQcprl^n{ zx3m0LLc zo}sO#O+#ZY6sD&+M_FNdT8J%y)C&=+!UtpiZrwN5i=h4d}Q~MX~Hmm)(Tgx!8h7D_R?VtPRS>$oX zDSGS}k0ut-o#3-i|6Bk+nf&F0Uw<@f#`sU5_ zJN@~Q&Et;&#%BJKo|<0Tmo|KD!_AZ6MU$jgOMR!@F*ip_(i_;b%%{FD&G|3ySJ-n7 s7rwvL2=NIU+nf`8RRWqq#EEp(JA%~}1F&9Z&Cn{)?AMN2atK5H2?qr literal 0 HcmV?d00001 diff --git a/README.md b/README.md index d8994695..c088c8fb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. -<<<<<<< HEAD:readme.md # Features diff --git a/style.css b/style.css index daeb7ff4..05725c94 100644 --- a/style.css +++ b/style.css @@ -1,19 +1,2 @@ -/* -Theme Name: Hello Elementor Child -Theme URI: https://github.com/elementor/hello-theme/ -Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team -Author: Elementor Team -Author URI: https://elementor.com/ -Template: hello-elementor -Version: 1.0.1 -Text Domain: hello-elementor-child -License: GNU General Public License v3 or later. -License URI: https://www.gnu.org/licenses/gpl-3.0.html -Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready -*/ - -/* - Add your custom styles here -*/ -@media only screen and (max-width: 1024px) {} -@media only screen and (max-width: 767px) {} \ No newline at end of file +#home{display:block}#home .test{display:inline-block}@media only screen and (max-width: 1024px){#home .test{display:block}#home .new{display:inline}} +/*# sourceMappingURL=style.css.map */ diff --git a/style.css.map b/style.css.map new file mode 100644 index 00000000..0c6ca6ed --- /dev/null +++ b/style.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAkBA,KAAM,CACF,OAAO,CAAE,KAAK,CACd,WAAM,CACF,OAAO,CAAE,YAAY,CAG7B,0CAA2C,CAEnC,WAAM,CACF,OAAO,CAAE,KAAK,CAElB,UAAK,CACD,OAAO,CAAE,MAAM", +"sources": ["style.scss"], +"names": [], +"file": "style.css" +} \ No newline at end of file diff --git a/style.scss b/style.scss new file mode 100644 index 00000000..89838c4e --- /dev/null +++ b/style.scss @@ -0,0 +1,35 @@ +/* +Theme Name: Hello Elementor Child +Theme URI: https://github.com/elementor/hello-theme/ +Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team +Author: Elementor Team +Author URI: https://elementor.com/ +Template: hello-elementor +Version: 1.0.1 +Text Domain: hello-elementor-child +License: GNU General Public License v3 or later. +License URI: https://www.gnu.org/licenses/gpl-3.0.html +Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready +*/ + +/* + Add your custom styles here +*/ + +#home { + display: block; + .test { + display: inline-block; + } +} +@media only screen and (max-width: 1024px) { + #home { + .test { + display: block; + } + .new { + display: inline; + } + } +} +@media only screen and (max-width: 767px) {} \ No newline at end of file From 98d654c592ce3758b3429883ff95f6bbe257f95a Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 02:02:02 +0800 Subject: [PATCH 16/47] Updates --- .../style.scssc | Bin 5504 -> 0 bytes README.md | 5 +-- style.css | 22 ++++++++++- style.css.map | 7 ---- style.scss | 35 ------------------ 5 files changed, 21 insertions(+), 48 deletions(-) delete mode 100644 .sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc delete mode 100644 style.css.map delete mode 100644 style.scss diff --git a/.sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc b/.sass-cache/4c4da3e3c4340d8119ae5ea86745acf22d84b9aa/style.scssc deleted file mode 100644 index 22aa9c1772ff6c85edb5b7bd70d249c31d033bcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5504 zcmeHL-E!N;6_%U~M1eAC%YU+!SZm5@WJUauC0ojFJA;gqxSUBno`}hfE;t~uA~yxF zEEb5w$>=3|)hFm1w2#p@XkVp0X8|k;h|1Vadlz5GSnS!e-+t#i=PY>8I%*x-{On+G zJmiDpgU->5=YyAn!M?|j4`04;`O(4W$47^Uoxu_OwLh##`tZb6iqc-hIi=r98NZPp zU!yf=I2OJa@$l4^^rLyBS275AnAugGA6-A;r&hOd=978Im=#t7e`}6BJ5xM{$D0lhJ-vjj2_jm9h5ejCXj_%K%U(oc1voz@*-$nU?i{f47} zsy_17KX;>0gd;d`<%Gu;Y&&+<_;TrM$yU}_1rvC;y=xQr_l4(?DKM6af#{vnmFJt##N$;If>7)=G2i1 zct#}l_E-j7pLyMxxRK&sALjslBMTSg*boFrDV8Jmg#Rhw;gDA#OaTuDkank*q#u`! zbGsGx1n0M}%tO?Co?BH@s|RJPu7_bmTDy(a94U~n0ek=el?*V7`cVr{Nw#URkAUnF zOICp;997x94!hsUoaz5EznhNA&fG6(oXxSmQSgVOwVZVT9J>Q0mLP5`r4WGZCK!TS z>=R^v%@Ydh*;GdwlwlNnqAPITEWQz-Zr86c=pvcKbA#`(Cs2A4Mg`LV`a6&S#9_=vIChi~!JWNw#~PqS$9B8@8vlaa)8~zMCb9uqJC^>^DoX--Nv$ z80K-bUD&zJI>lfwa!|X*!G3y3XHb~GXEu0VAR&X|49&bLh>vpA&WUkVU4sU_G)oJ)%no~!W)es*ZhwGw>|zSnXw`vI7)?)WAO#uvI*Ypvi=d>sjVj!t zI1kf-P2AASCafKNC)sBZk~}cAz`bam3ojmPJ?g~Gqw+WhnMwLF#Nn}li=$6xq&W3% zV}ik%RSX9ONZs`ELb-hh~RjP06r0%YQcprl^n{ zx3m0LLc zo}sO#O+#ZY6sD&+M_FNdT8J%y)C&=+!UtpiZrwN5i=h4d}Q~MX~Hmm)(Tgx!8h7D_R?VtPRS>$oX zDSGS}k0ut-o#3-i|6Bk+nf&F0Uw<@f#`sU5_ zJN@~Q&Et;&#%BJKo|<0Tmo|KD!_AZ6MU$jgOMR!@F*ip_(i_;b%%{FD&G|3ySJ-n7 s7rwvL2=NIU+nf`8RRWqq#EEp(JA%~}1F&9Z&Cn{)?AMN2atK5H2?qr diff --git a/README.md b/README.md index c088c8fb..927613b5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,4 @@ Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. -# Features - -- SASS -Here's a full intruction to use [SASS](https://ricardozea.medium.com/sass-for-beginners-the-friendliest-guide-about-how-to-install-use-sass-on-windows-22ff4a32c1f7). Both SASS and CSS are in the root folder. Simply run it like this "sass --watch styles.scss:styles.css". \ No newline at end of file +# Features \ No newline at end of file diff --git a/style.css b/style.css index 05725c94..487dacfc 100644 --- a/style.css +++ b/style.css @@ -1,2 +1,20 @@ -#home{display:block}#home .test{display:inline-block}@media only screen and (max-width: 1024px){#home .test{display:block}#home .new{display:inline}} -/*# sourceMappingURL=style.css.map */ +/* +Theme Name: Hello Elementor Child +Theme URI: https://github.com/elementor/hello-theme/ +Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team +Author: Elementor Team +Author URI: https://elementor.com/ +Template: hello-elementor +Version: 1.0.1 +Text Domain: hello-elementor-child +License: GNU General Public License v3 or later. +License URI: https://www.gnu.org/licenses/gpl-3.0.html +Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready +*/ + +/* + Add your custom styles here +*/ + +@media only screen and (max-width: 1024px) {} +@media only screen and (max-width: 767px) {} \ No newline at end of file diff --git a/style.css.map b/style.css.map deleted file mode 100644 index 0c6ca6ed..00000000 --- a/style.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "AAkBA,KAAM,CACF,OAAO,CAAE,KAAK,CACd,WAAM,CACF,OAAO,CAAE,YAAY,CAG7B,0CAA2C,CAEnC,WAAM,CACF,OAAO,CAAE,KAAK,CAElB,UAAK,CACD,OAAO,CAAE,MAAM", -"sources": ["style.scss"], -"names": [], -"file": "style.css" -} \ No newline at end of file diff --git a/style.scss b/style.scss deleted file mode 100644 index 89838c4e..00000000 --- a/style.scss +++ /dev/null @@ -1,35 +0,0 @@ -/* -Theme Name: Hello Elementor Child -Theme URI: https://github.com/elementor/hello-theme/ -Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team -Author: Elementor Team -Author URI: https://elementor.com/ -Template: hello-elementor -Version: 1.0.1 -Text Domain: hello-elementor-child -License: GNU General Public License v3 or later. -License URI: https://www.gnu.org/licenses/gpl-3.0.html -Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready -*/ - -/* - Add your custom styles here -*/ - -#home { - display: block; - .test { - display: inline-block; - } -} -@media only screen and (max-width: 1024px) { - #home { - .test { - display: block; - } - .new { - display: inline; - } - } -} -@media only screen and (max-width: 767px) {} \ No newline at end of file From 7f94bb206794c6081ce4c6cfed43ea72f21e223c Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 02:32:38 +0800 Subject: [PATCH 17/47] Updates --- README.md | 16 +++++++++++++++- js/jquery.linkify.min.js | 1 + js/linkify.min.js | 1 + js/script.js | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 js/jquery.linkify.min.js create mode 100644 js/linkify.min.js diff --git a/README.md b/README.md index 927613b5..928ef261 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,18 @@ Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. -# Features \ No newline at end of file +# THEMETATION + +## Additional jQuery Plugins + +- ### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) +**Add this code below jQuery Enqueue** +> wp_enqueue_script('cb-linkify-js', get_stylesheet_directory_uri() .'/js/linkify.min.js', array(), $ver, true); +> wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jquery.linkify.min.js', array(), $ver, true); + +**Add this code in script.js** +> $("selector").linkify(); + +## Sliders + +- ### [Slick](https://kenwheeler.github.io/slick/) \ No newline at end of file diff --git a/js/jquery.linkify.min.js b/js/jquery.linkify.min.js new file mode 100644 index 00000000..6dbb4b88 --- /dev/null +++ b/js/jquery.linkify.min.js @@ -0,0 +1 @@ +!function(n,e){"use strict";function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i=t(n);function o(n,e,t){let i=t[t.length-1];n.replaceChild(i,e);for(let e=t.length-2;e>=0;e--)n.insertBefore(t[e],i),i=t[e]}function l(n,e,t){const i=[];for(let o=0;o=0)return n;let a=n.firstChild;for(;a;){let f,c,s;switch(a.nodeType){case 1:r(a,t,i);break;case 3:if(f=a.nodeValue,c=e.tokenize(f),0===c.length||1===c.length&&"text"===c[0].t)break;s=l(c,t,i),o(n,a,s),a=s[s.length-1]}a=a.nextSibling}return n}function a(n){return e=>{let{tagName:t,attributes:i,content:o,eventListeners:l}=e;const r=n.createElement(t);for(const n in i)r.setAttribute(n,i[n]);if(l&&r.addEventListener)for(const n in l)r.addEventListener(n,l[n]);return r.appendChild(n.createTextNode(o)),r}}function f(n,t,i){void 0===t&&(t=null),void 0===i&&(i=null);try{i=i||document||window&&window.document||global&&global.document}catch(n){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return r(n,new e.Options(t,a(i)),i)}function c(n,e){if(void 0===e&&(e=!1),n.fn=n.fn||{},"function"!=typeof n.fn.linkify){try{e=e||document||window&&window.document||global&&global.document}catch(n){}if(!e)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify-jquery");n.fn.linkify=function(n){const t=f.normalize(n,e);return this.each((function(){f.helper(this,t,e)}))},n((function(){n("[data-linkify]").each((function(){const e=n(this),t=e.data(),i=t.linkify,o=t.linkifyNl2br,l={nl2br:!!o&&0!==o&&"false"!==o};"linkifyAttributes"in t&&(l.attributes=t.linkifyAttributes),"linkifyDefaultProtocol"in t&&(l.defaultProtocol=t.linkifyDefaultProtocol),"linkifyEvents"in t&&(l.events=t.linkifyEvents),"linkifyFormat"in t&&(l.format=t.linkifyFormat),"linkifyFormatHref"in t&&(l.formatHref=t.linkifyFormatHref),"linkifyTagname"in t&&(l.tagName=t.linkifyTagname),"linkifyTarget"in t&&(l.target=t.linkifyTarget),"linkifyRel"in t&&(l.rel=t.linkifyRel),"linkifyValidate"in t&&(l.validate=t.linkifyValidate),"linkifyIgnoreTags"in t&&(l.ignoreTags=t.linkifyIgnoreTags),"linkifyClassName"in t&&(l.className=t.linkifyClassName);("this"===i?e:e.find(i)).linkify(l)}))}))}}f.helper=r,f.getDefaultRender=a,f.normalize=(n,t)=>new e.Options(n,a(t));try{c(i.default)}catch(n){}try{window.linkifyElement=f}catch(n){}}(jQuery,linkify); diff --git a/js/linkify.min.js b/js/linkify.min.js new file mode 100644 index 00000000..6bf0cf28 --- /dev/null +++ b/js/linkify.min.js @@ -0,0 +1 @@ +var linkify=function(e){"use strict";const t=(e,t)=>{for(const n in t)e[n]=t[n];return e},n="numeric",i="ascii",s="alpha",r="asciinumeric",o="alphanumeric",a="domain",l="emoji",u="whitespace";function c(e,t){return e in t||(t[e]=[]),t[e]}function _(e,t,u){t[n]&&(t[r]=!0,t[o]=!0),t[i]&&(t[r]=!0,t[s]=!0),t[r]&&(t[o]=!0),t[s]&&(t[o]=!0),t[o]&&(t[a]=!0),t[l]&&(t[a]=!0);for(const n in t){const t=c(n,u);t.indexOf(e)<0&&t.push(e)}}function g(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}g.groups={},g.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n=0&&(n[i]=!0);return n}(a.t,s),i);_(o,e,s)}else i&&_(o,i,s);a.t=o}return r.j[e]=a,a}};const d=(e,t,n,i,s)=>e.ta(t,n,i,s),h=(e,t,n,i,s)=>e.tr(t,n,i,s),f=(e,t,n,i,s)=>e.ts(t,n,i,s),p=(e,t,n,i,s)=>e.tt(t,n,i,s),m="WORD",y="UWORD",k="LOCALHOST",b="TLD",E="UTLD",v="SCHEME",w="SLASH_SCHEME",O="NUM",j="NL",S="OPENBRACE",A="OPENBRACKET",L="OPENANGLEBRACKET",C="OPENPAREN",x="CLOSEBRACE",T="CLOSEBRACKET",R="CLOSEANGLEBRACKET",z="CLOSEPAREN",N="AMPERSAND",P="APOSTROPHE",I="ASTERISK",H="AT",M="BACKSLASH",Q="BACKTICK",D="CARET",U="COLON",B="COMMA",K="DOLLAR",$="DOT",q="EQUALS",F="EXCLAMATION",W="HYPHEN",Y="PERCENT",G="PIPE",J="PLUS",X="POUND",V="QUERY",Z="QUOTE",ee="SEMI",te="SLASH",ne="TILDE",ie="UNDERSCORE",se="EMOJI",re="SYM";var oe=Object.freeze({__proto__:null,WORD:m,UWORD:y,LOCALHOST:k,TLD:b,UTLD:E,SCHEME:v,SLASH_SCHEME:w,NUM:O,WS:"WS",NL:j,OPENBRACE:S,OPENBRACKET:A,OPENANGLEBRACKET:L,OPENPAREN:C,CLOSEBRACE:x,CLOSEBRACKET:T,CLOSEANGLEBRACKET:R,CLOSEPAREN:z,AMPERSAND:N,APOSTROPHE:P,ASTERISK:I,AT:H,BACKSLASH:M,BACKTICK:Q,CARET:D,COLON:U,COMMA:B,DOLLAR:K,DOT:$,EQUALS:q,EXCLAMATION:F,HYPHEN:W,PERCENT:Y,PIPE:G,PLUS:J,POUND:X,QUERY:V,QUOTE:Z,SEMI:ee,SLASH:te,TILDE:ne,UNDERSCORE:ie,EMOJI:se,SYM:re});const ae=/[a-z]/,le=/\p{L}/u,ue=/\p{Emoji}/u,ce=/\d/,_e=/\s/;var ge=Object.freeze({__proto__:null,ASCII_LETTER:ae,LETTER:le,EMOJI:ue,EMOJI_VARIATION:/\ufe0f/,DIGIT:ce,SPACE:_e});let de=null,he=null;function fe(e){const t=[],n=e.length;let i=0;for(;i56319||i+1===n||(s=e.charCodeAt(i+1))<56320||s>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function pe(e,t,n,i,s){let r;const o=t.length;for(let n=0;n=0;)s++;if(s>0){t.push(n.join(""));let r=parseInt(e.substring(i,i+s),10);for(;r>0;r--)n.pop();i+=s}else"_"===e[i]?(t.push(n.join("")),i++):(n.push(e[i]),i++)}return t}const ye={defaultProtocol:"http",events:null,format:be,formatHref:be,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ke(e,n){void 0===n&&(n=null);let i=t({},ye);e&&(i=t(i,e instanceof ke?e.o:e));const s=i.ignoreTags,r=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=null!=t;let s=this.o[e];return s?("object"==typeof s?(s=n.t in s?s[n.t]:ye[e],"function"==typeof s&&i&&(s=s(t,n))):"function"==typeof s&&i&&(s=s(t,n.t,n)),s):s},getObj(e,t,n){let i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};var Ee=Object.freeze({__proto__:null,defaults:ye,Options:ke,assign:t});function ve(e,t){this.t="token",this.v=e,this.tk=t}function we(e,t){class n extends ve{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}ve.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=ye.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,i=this.toFormattedHref(e),s=e.get("tagName",i,n),r=this.toFormattedString(e),o={},a=e.get("className",i,n),l=e.get("target",i,n),u=e.get("rel",i,n),c=e.getObj("attributes",i,n),_=e.getObj("events",i,n);return o.href=i,a&&(o.class=a),l&&(o.target=l),u&&(o.rel=u),c&&t(o,c),{tagName:s,attributes:o,content:r,eventListeners:_}}};const Oe=we("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),je=we("text"),Se=we("nl"),Ae=we("url",{isLink:!0,toHref(e){return void 0===e&&(e=ye.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===U}});var Le=Object.freeze({__proto__:null,MultiToken:ve,Base:ve,createTokenClass:we,Email:Oe,Text:je,Nl:Se,Url:Ae});const Ce=e=>new g(e);function xe(e,t,n){const i=n[0].s,s=n[n.length-1].e;return new e(t.slice(i,s),n)}const Te="undefined"!=typeof console&&console&&console.warn||(()=>{}),Re="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Ne(){ze.scanner=function(e){void 0===e&&(e=[]);const o={};g.groups=o;const c=new g;null==de&&(de=me("aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2")),null==he&&(he=me("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),p(c,"'",P),p(c,"{",S),p(c,"[",A),p(c,"<",L),p(c,"(",C),p(c,"}",x),p(c,"]",T),p(c,">",R),p(c,")",z),p(c,"&",N),p(c,"*",I),p(c,"@",H),p(c,"`",Q),p(c,"^",D),p(c,":",U),p(c,",",B),p(c,"$",K),p(c,".",$),p(c,"=",q),p(c,"!",F),p(c,"-",W),p(c,"%",Y),p(c,"|",G),p(c,"+",J),p(c,"#",X),p(c,"?",V),p(c,'"',Z),p(c,"/",te),p(c,";",ee),p(c,"~",ne),p(c,"_",ie),p(c,"\\",M);const d=h(c,ce,O,{[n]:!0});h(d,ce,d);const ge=h(c,ae,m,{[i]:!0});h(ge,ae,ge);const fe=h(c,le,y,{[s]:!0});h(fe,ae),h(fe,le,fe);const ye=h(c,_e,"WS",{[u]:!0});p(c,"\n",j,{[u]:!0}),p(ye,"\n"),h(ye,_e,ye);const ke=h(c,ue,se,{[l]:!0});h(ke,ue,ke),p(ke,"️",ke);const be=p(ke,"‍");h(be,ue,ke);const Ee=[[ae,ge]],ve=[[ae,null],[le,fe]];for(let e=0;ee[0]>t[0]?1:-1));for(let t=0;t=0?o[a]=!0:ae.test(s)?ce.test(s)?o[r]=!0:o[i]=!0:o[n]=!0,f(c,s,s,o)}return f(c,"localhost",k,{ascii:!0}),c.jd=new g(re),{start:c,tokens:t({groups:o},oe)}}(ze.customSchemes);for(let e=0;e=0&&g++,s++,c++;if(g<0)s-=c,s0&&(r.push(xe(je,t,o)),o=[]),s-=g,c-=g;const e=_.t,i=n.slice(s-c,s);r.push(xe(e,t,i))}}return o.length>0&&r.push(xe(je,t,o)),r}(ze.parser.start,e,function(e,t){const n=fe(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),i=n.length,s=[];let r=0,o=0;for(;o=0&&(_+=n[o].length,g++),u+=n[o].length,r+=n[o].length,o++;r-=_,o-=g,u-=_,s.push({t:c.t,v:t.slice(r-u,r),s:r-u,e:r})}return s}(ze.scanner.start,e))}return e.MultiToken=ve,e.Options=ke,e.State=g,e.createTokenClass=we,e.find=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new ke(n),s=Pe(e),r=[];for(let e=0;e Date: Fri, 17 Feb 2023 02:35:46 +0800 Subject: [PATCH 18/47] Updates --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 928ef261..3250c206 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ This theme is produced for [Creative Bananas'](https://creativebananas.com) Proj # THEMETATION -## Additional jQuery Plugins - -- ### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) +### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) **Add this code below jQuery Enqueue** > wp_enqueue_script('cb-linkify-js', get_stylesheet_directory_uri() .'/js/linkify.min.js', array(), $ver, true); > wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jquery.linkify.min.js', array(), $ver, true); @@ -16,6 +14,4 @@ This theme is produced for [Creative Bananas'](https://creativebananas.com) Proj **Add this code in script.js** > $("selector").linkify(); -## Sliders - -- ### [Slick](https://kenwheeler.github.io/slick/) \ No newline at end of file +### [Slick](https://kenwheeler.github.io/slick/) \ No newline at end of file From f790e5a305f380744f8a145aadb780e0d68317f9 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Fri, 17 Feb 2023 02:39:04 +0800 Subject: [PATCH 19/47] Updates --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3250c206..6f80167b 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,14 @@ This theme is produced for [Creative Bananas'](https://creativebananas.com) Proj ### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) **Add this code below jQuery Enqueue** -> wp_enqueue_script('cb-linkify-js', get_stylesheet_directory_uri() .'/js/linkify.min.js', array(), $ver, true); -> wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jquery.linkify.min.js', array(), $ver, true); +``` +wp_enqueue_script('cb-linkify-js', get_stylesheet_directory_uri() .'/js/linkify.min.js', array(), $ver, true); +wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jquery.linkify.min.js', array(), $ver, true); +``` -**Add this code in script.js** -> $("selector").linkify(); +**Add this code in script.js** +``` +$("selector").linkify(); +``` ### [Slick](https://kenwheeler.github.io/slick/) \ No newline at end of file From 055679cea4371906cac74d00a71d9f73f0158b01 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Wed, 22 Mar 2023 17:30:05 +0800 Subject: [PATCH 20/47] Added Read More/Read Less --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f80167b..8f6c0ae8 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,40 @@ wp_enqueue_script('cb-linkify-jquery', get_stylesheet_directory_uri() .'/js/jque $("selector").linkify(); ``` -### [Slick](https://kenwheeler.github.io/slick/) \ No newline at end of file +### [Slick](https://kenwheeler.github.io/slick/) + +# THEMETATION + +### [READ MORE/READ LESS] + +**HTML Structure** +``` +
+This is the active/visible content. +
This is the hidden content that'll show when the Read More is triggered. READ MORE
+
+``` + +**Script** +``` +$(".read-more").each(function(){ + // This hides the span + $(this).find("span").hide(); + $(this).find(".read-more-button").click(function(){ + // Handles the toggle HIDE/SHOW + $(this).prev("span").slideToggle(); + + // Changes READ MORE to READ LESS + if ($(this).text() == "READ MORE") { + $(this).text("READ LESS") + } else { + $(this).text("READ MORE") + } + }); +}); +``` + +**Style** +.read-more { + display: inline; +} \ No newline at end of file From 063e3197c67694b9055852cf7909df8c8f716674 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Wed, 22 Mar 2023 17:32:14 +0800 Subject: [PATCH 21/47] Added Read More/Read Less --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f6c0ae8..ad24340a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Contributors: [Elron Naranja](https://elronnaranja.com), Jermaine Lorenzo This theme is produced for [Creative Bananas'](https://creativebananas.com) Projects. -# THEMETATION +# Plugins ### [Linkify](https://www.jqueryscript.net/text/jQuery-Plugin-To-Transform-URLs-In-Text-Into-Links-linkify.html) **Add this code below jQuery Enqueue** @@ -20,15 +20,18 @@ $("selector").linkify(); ### [Slick](https://kenwheeler.github.io/slick/) -# THEMETATION +# jQuery Hacks ### [READ MORE/READ LESS] **HTML Structure** ```
-This is the active/visible content. -
This is the hidden content that'll show when the Read More is triggered. READ MORE
+ This is the active/visible content. +
+ This is the hidden content that'll show when the Read More is triggered. + READ MORE +
``` @@ -52,6 +55,8 @@ $(".read-more").each(function(){ ``` **Style** +``` .read-more { display: inline; -} \ No newline at end of file +} +``` \ No newline at end of file From e04d8c36cc661b8b4d80dbf0af2d56fbc07f86df Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Sat, 25 Mar 2023 05:50:16 +0800 Subject: [PATCH 22/47] Add Split Script --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ad24340a..a6e9f6ee 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,14 @@ $(".read-more").each(function(){ .read-more { display: inline; } +``` + +### [SPLIT/WRAP TEXT] +``` +// +$('#selector').html(function(i, v){ + // Colon(:) is the trigger. The wrap will show after the Color(:) + var html = v.split(':'); + return html[0] + ': ' + '' + html[1] + ''; +}); ``` \ No newline at end of file From 45a5dc372ed89e5be083df18d70e0d27cc064256 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Sat, 25 Mar 2023 05:53:24 +0800 Subject: [PATCH 23/47] Add Split Script --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a6e9f6ee..3c8d2ef0 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,11 @@ $(".read-more").each(function(){ ### [SPLIT/WRAP TEXT] ``` -// -$('#selector').html(function(i, v){ - // Colon(:) is the trigger. The wrap will show after the Color(:) - var html = v.split(':'); +// Initial HTML
This is a text & span
+// Result
This is a text & span
+$('div').html(function(i, v){ + // Ampersand(&) is the trigger. The wrap will show after the ampersand(&) + var html = v.split('&'); return html[0] + ': ' + '' + html[1] + ''; }); ``` \ No newline at end of file From cd814361480e14b73b5e671adef99e747d29d737 Mon Sep 17 00:00:00 2001 From: elronnaranja Date: Sat, 25 Mar 2023 05:59:36 +0800 Subject: [PATCH 24/47] Add Split Script --- README.md | 5 +++ js/slick.css | 96 +++++++++++++++++++++++++++++++++++++++++++++++++ js/slick.min.js | 1 + 3 files changed, 102 insertions(+) create mode 100644 js/slick.css create mode 100644 js/slick.min.js diff --git a/README.md b/README.md index 3c8d2ef0..ecc22a04 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ $("selector").linkify(); ``` ### [Slick](https://kenwheeler.github.io/slick/) +**Add this code below jQuery Enqueue** +``` +wp_enqueue_script('cb-slick-js', get_stylesheet_directory_uri() .'/js/slick.min.js', array(), $ver, true); +``` +**Copy the code in slick.css to style.css** # jQuery Hacks diff --git a/js/slick.css b/js/slick.css new file mode 100644 index 00000000..2ce0e0bd --- /dev/null +++ b/js/slick.css @@ -0,0 +1,96 @@ +/* Slider */ +.slick-slider { + position: relative; + + display: block; + box-sizing: border-box; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + + -webkit-touch-callout: none; + -khtml-user-select: none; + -ms-touch-action: pan-y; + touch-action: pan-y; + -webkit-tap-highlight-color: transparent; +} +.slick-list { + position: relative; + + display: block; + overflow: hidden; + + margin: 0; + padding: 0; +}.slick-list:focus { + outline: none; +}.slick-list.dragging { + cursor: pointer; + cursor: hand; +} +.slick-slider .slick-track, +.slick-slider .slick-list { + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.slick-track { + position: relative; + top: 0; + left: 0; + + display: block; + margin-left: auto; + margin-right: auto; +} +.slick-track:before, +.slick-track:after { + display: table; + + content: ''; +} +.slick-track:after { + clear: both; +} +.slick-loading .slick-track { + visibility: hidden; +} +.slick-slide { + display: none; + float: left; + + height: 100%; + min-height: 1px; +} +[dir='rtl'] .slick-slide { + float: right; +} +.slick-slide img { + display: block; +} +.slick-slide.slick-loading img { + display: none; +} +.slick-slide.dragging img { + pointer-events: none; +} +.slick-initialized .slick-slide { + display: block; +} +.slick-loading .slick-slide { + visibility: hidden; +} +.slick-vertical .slick-slide { + display: block; + + height: auto; + + border: 1px solid transparent; +} +.slick-arrow.slick-hidden { + display: none; +} \ No newline at end of file diff --git a/js/slick.min.js b/js/slick.min.js new file mode 100644 index 00000000..42172c2f --- /dev/null +++ b/js/slick.min.js @@ -0,0 +1 @@ +!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('