This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "PublicRead", | |
| "Effect": "Allow", | |
| "Principal": "*", | |
| "Action": [ | |
| "s3:GetObject", | |
| "s3:GetObjectVersion" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% for item in product.tags %} | |
| {% if item contains "test-look" %} | |
| {% assign productSubCategory = item %} | |
| {{ productSubCategory }}<br> | |
| {% endif %} | |
| {% endfor %} | |
| <script src="https://code.jquery.com/jquery-3.6.0.min.js" | |
| integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" | |
| crossorigin="anonymous"></script> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% assign vari = url_1 | split: "collections/" %} | |
| {{ collections[vari[1]].products.size }} Products | |
| {% for product in collections[vari[1]].products %} | |
| {{ product.title }} | |
| {% endfor %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create a new repository on the command line | |
| touch README.md | |
| git init | |
| git add README.md | |
| git commit -m "first commit" | |
| git remote add origin https://github.com/c0ldlimit/vimcolors.git | |
| git push -u origin master | |
| # Push an existing repository from the command line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( have_comments() ) : ?> | |
| <ol class="commentlist"> | |
| <?php wp_list_comments( apply_filters( 'woocommerce_product_review_list_args', array( 'callback' => 'woocommerce_comments' ) ) ); ?> | |
| </ol> | |
| <?php | |
| if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : | |
| echo '<nav class="woocommerce-pagination">'; | |
| paginate_comments_links( | |
| apply_filters( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //** *Enable upload for webp image files.*/ | |
| function webp_upload_mimes($existing_mimes) { | |
| $existing_mimes['webp'] = 'image/webp'; | |
| return $existing_mimes; | |
| } | |
| add_filter('mime_types', 'webp_upload_mimes'); | |
| //** * Enable preview / thumbnail for webp image files.*/ | |
| function webp_is_displayable($result, $path) { | |
| if ($result === false) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{#partial "head"}} | |
| {{{ checkout.checkout_head }}} | |
| {{{ stylesheet '/assets/css/optimized-checkout.css' }}} | |
| {{ getFontsCollection }} | |
| <script type="text/javascript"> | |
| window.language = {{{langJson 'optimized_checkout'}}}; | |
| </script> | |
| {{/partial}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{#each category.subcategories}} | |
| {{#unless @last}}{{#unless @first}} | |
| {{name}} | |
| {{/unless}}{{/unless}} | |
| {{/each}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul> | |
| {{#each categories}} | |
| <li> | |
| {{#if children}} | |
| <a href="{{url}}" > ALT 1->{{name}}</a> | |
| <ul> | |
| {{#each children}} | |
| <li> | |
| {{#if children}} | |
| <a href="{{url}}"> ALT 2-> {{name}} </a> |