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
| //Add to theme.liquid file before </body> tag | |
| <script> | |
| if(Storage !== undefined) { | |
| var defaultLink = "/collections/all"; | |
| {% if template contains 'collection' %} | |
| sessionStorage.collection = "{{ collection.url }}"; | |
| {% endif %} |
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
| <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> | |
| <div class="panel panel-default"> | |
| <div class="panel-heading" role="tab" id="headingOne"> | |
| <h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> Is the theme easy to install? </a></h4> | |
| </div> | |
| <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> | |
| <div class="panel-body">Yes. Shopify themes are very easy to install. If you purchase from the Shopify Theme Store, it's as easy as one click after purchase. If you purchase from our website, it's still very easy. <a href="http://www.vectorthemes.com/help/installing-theme/" target="_blank">Here's a link</a> to our website that describes the process. If you run into any issues, let us know and we'd be glad to help you out.</div> | |
| </div> | |
| </div> |
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
| {% if product.variants.size > 0 %} | |
| <form action="/cart/add" method="post" enctype="multipart/form-data" class="product-form product"> | |
| <input type='hidden' name='id' value="{{product.selected_or_first_available_variant.id}}" /> | |
| <input type='hidden' name='quantity' value="1" /> | |
| <button type="submit" name="add" {% unless product.available %} disabled {% endunless %} class=" {% unless product.available %} disabled {% endunless %} btn product-form__cart-submit{% if product.options.size == 1 and product.variants[0].title == 'Default Title' %} product-form__cart-submit--small{% endif %} btn-primary btn-sm btn-lg"> | |
| <span> | |
| {% if product.available %} | |
| {{ 'products.product.add_to_cart' | t }} | |
| {% else %} | |
| {{ 'products.product.sold_out' | t }} |
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
| @font-face { | |
| font-family: 'Proxima Nova Lt'; | |
| src: url('ProximaNova-Semibold.eot'); | |
| src: url('ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'), | |
| url('ProximaNova-Semibold.woff2') format('woff2'), | |
| url('ProximaNova-Semibold.woff') format('woff'), | |
| url('ProximaNova-Semibold.ttf') format('truetype'), | |
| url('ProximaNova-Semibold.svg#ProximaNova-Semibold') format('svg'); | |
| font-weight: 600; | |
| font-style: normal; |
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
| var s = `@font-face { | |
| font-family: 'Proxima Nova Lt'; | |
| src: url('ProximaNova-Semibold.eot'); | |
| src: url('ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'), | |
| url('ProximaNova-Semibold.woff2') format('woff2'), | |
| url('ProximaNova-Semibold.woff') format('woff'), | |
| url('ProximaNova-Semibold.ttf') format('truetype'), | |
| url('ProximaNova-Semibold.svg#ProximaNova-Semibold') format('svg'); | |
| font-weight: 600; |
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
| <div class="page-wrapper "> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-md-3"> | |
| <div class="mobile-hidden-sm"> | |
| <ul class="theme-features_nav" role="tablist"> | |
| <li role="presentation" class=""><a href="#link1" aria-controls="overview" role="tab" data-toggle="tab" aria-expanded="false">Link 1</a></li> | |
| <li role="presentation" class=""><a href="#link2" aria-controls="general" role="tab" data-toggle="tab" aria-expanded="false">Link 2</a></li> | |
| <li role="presentation" class="active"><a href="#link3" aria-controls="homePage" role="tab" data-toggle="tab" aria-expanded="true">Link 3</a></li> | |
| </ul> |
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
| function cmdm_private_event( $content ) | |
| { | |
| global $post; | |
| $cmdm_content = ''; | |
| $cmdm_private = false; | |
| $cmdmc_post_types = array( 'tribe_events' ); | |
| if ( function_exists( 'tribe_get_custom_fields' ) ) | |
| { |
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
| function tribe_exclude_events_category( $wp_query ) { | |
| // only filter the query if the user cannot edit pages (< editor) | |
| if (!current_user_can('edit_pages')) { | |
| $exclude_cats = array('exclude-me'); | |
| // Join with current tax query if set | |
| if (is_array($wp_query->get( 'tax_query'))) | |
| {$tax_query =$wp_query->get( 'tax_query');} | |
| else | |
| {$tax_query = array();} |
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
| add_action('admin_head', 'remove_promoter_link'); | |
| add_action('wp_head', 'remove_promoter_link'); | |
| function remove_promoter_link() { | |
| echo '<style> | |
| .promoter-admin-bar-link{ display:none } | |
| </style>'; | |
| } |
OlderNewer