Website Settings

Dondere modus
Hoog contrast
Font grootte
Lees pagina-inhoud
Afdrukken
  • Het is 23-07-2026 en week 30 in de Zomer .

Account Settings

Winkelwagen

De winkelwagen is nog leeg

Editor-style.css function no caching

particle

// load editor style direct as admin without caching add_action(‘admin_enqueue_scripts’, function(){ if(is_admin()){ – add_editor_style(get_template_directory_uri().’editor-style.css?1′); + add_editor_style(get_template_directory_uri().’/editor-style.css’); } });

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;}

WooCommerce: Disable Shipping Rate if Cart has Shipping Class

particle

/** * @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 […]

Home