Loop number in list
particle// 15. asterix list // ————- @mixin loop-number { $star : ‘*’; @for $i from 1 through 10 { &:nth-child(#{$i}) { &:before { content: “#{$star}”; } } $star : $star + ‘*’; } } ul li { @include loop-number;}
// 15. asterix list // ————- @mixin loop-number { $star : ‘*’; @for $i from 1 through 10 { &:nth-child(#{$i}) { &:before { content: “#{$star}”; } } $star : $star + ‘*’; } } ul li { @include loop-number;}
/** * @snippet Disable Free Shipping if Cart has Shipping Class (WooCommerce 2.6+) * @how-to Watch tutorial @ https://businessbloomer.com/?p=19055 * @sourcecode https://businessbloomer.com/?p=19960 * @author Rodolfo Melogli * @testedwith WooCommerce 2.6.1 */ add_filter( ‘woocommerce_package_rates’, ‘businessbloomer_hide_free_shipping_for_shipping_class’, 10, 2 ); function businessbloomer_hide_free_shipping_for_shipping_class( $rates, $package ) { //Shipping class D $shipping_class_target = 431; $in_cart = false; foreach( WC()->cart->cart_contents as […]
/var/www/html
6 Fixes For Error 503 Backend Fetch Failed
verander $user = wp_signon( ”, $secure_cookie ); regel in wp-login.php in $user = wp_signon( array(), $secure_cookie ); regel 793
add_filter(‘get_terms’, function($terms, $tax, $query_vars, $query){ if(is_admin() && get_post_type() == ‘product’ && in_array(‘product_shipping_class’, $tax) && count($tax) == 1){ usort($terms, ‘sort_by_name’); } return $terms; }, 10, 4); function sort_by_name($a, $b) { return strcmp($a->name, $b->name); }
before finish your release/hotfix branch add the tag manually git tag -a v0.1.2 -m “release_added”