Skip to content

Instantly share code, notes, and snippets.

View Aora - Do Not Cache Cookies.xml
aora_recently_viewed_products_list
yith_woocompare_list
yith_wcwl_products
aora_display_mode
View Aora - MailChimp.xml
<input id="mc4wp_email" class="form-control input-newletter" name="EMAIL" required="" type="email" placeholder="Email address...">
<button type="submit" value="Submit"> <span>Subscribe</span><i class="tb-icon tb-icon-email"></i></button>
@cuocsongso
cuocsongso / aora-zota-mailChimp.xml
Last active Jan 28, 2021
aora-zota-mailChimp.xml
View aora-zota-mailChimp.xml
<input id="mc4wp_email" class="form-control input-newletter" name="EMAIL" required="" type="email" placeholder="Email address...">
<button type="submit" value="Submit"> <span>Subscribe</span><i class="tb-icon tb-icon-email"></i></button>
View Tilano Theme - Never Cache Cookies.xml
tilano_recently_viewed_products_list
yith_woocompare_list
yith_wcwl_products
tilano_display_mode
View Kera Theme - Mailchimp Form Code.php
<input id="mc4wp_email" class="form-control input-newletter" name="EMAIL" required="" type="email" placeholder="Your e-mail address...">
<button type="submit" value="Submit"> <span>subscribe & get $15 coupon</span><i class="zmdi zmdi-email"></i></button>
@cuocsongso
cuocsongso / Diza Theme - Mailchimp Form Code.php
Last active Sep 10, 2020
Diza Theme - Mailchimp Form Code
View Diza Theme - Mailchimp Form Code.php
<input id="mc4wp_email" class="form-control input-newletter" name="EMAIL" required="" type="email" placeholder="your email...">
<button type="submit" value="Submit"> <span>Subscribe</span><i class="tb-icon tb-icon-email"></i></button>
View GreenMart MailChimp form.php
<div class="mail-style1">
<div class="input-group">
<input id="mc4wp_email" class="form-control input-newletter" name="EMAIL" required="required" type="email" placeholder="Enter your email address" />
<span class="input-group-btn">
<input class="btn btn-default" type="submit" value="SUBSCRIBE" />
</span>
</div>
</div>
@cuocsongso
cuocsongso / Besa - Custom CSS quanlity box
Created Aug 19, 2020
Besa - Custom CSS quanlity box
View Besa - Custom CSS quanlity box
.product-block .add-cart a.added+a.added_to_cart,
.product-block .add-cart a.added::after{
display: none !important;
}
.product-block .add-cart a.added {
display: flex !important;
}
.product-block .group-buttons .quantity button {
line-height: 33px !important;
@cuocsongso
cuocsongso / besa-theme-how-to-add-a-quantity-field-to-shop-pages-in-woocommerce.php
Created Aug 19, 2020
[Besa Theme] - How To Add A Quantity Field To Shop Pages In WooCommerce
View besa-theme-how-to-add-a-quantity-field-to-shop-pages-in-woocommerce.php
/* [Besa Theme] - How To Add A Quantity Field To Shop Pages In WooCommerce */
function thembay_shop_page_add_quantity_field() {
/** @var WC_Product $product */
$product = wc_get_product( get_the_ID() );
if ( ! $product->is_sold_individually() && 'variable' != $product->get_type() && $product->is_purchasable() && $product->is_in_stock() ) {
woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? '' : $product->get_stock_quantity() ) );
}
}
add_action( 'woocommerce_after_shop_loop_item', 'thembay_shop_page_add_quantity_field', 1 );
@cuocsongso
cuocsongso / Excluded JavaScript Files.txt
Last active Jan 29, 2021
Excluded JavaScript Files
View Excluded JavaScript Files.txt
/wp-includes/js/jquery/jquery.min.js