11 Snippets
<10 Favourites
<10 Downloads

Year footer update

Update copyright year automatically in footer

Product order WooCommerce

Force alphabetical sorting on all product pages

Shortcode widget main categories WooCommerce

function shortcode_categorie_principali_wc() { $args = array( 'taxonomy' => 'product_cat', 'orderby' => 'menu_order', 'order' => 'ASC', 'hide_empty'…

Add category to page

// Abilita categorie (e, opzionalmente, tag) per le Pagine add_action('init', function () { register_taxonomy_for_object_type('category', 'page'); //…

Lazy Load

add_action('wp_head', 'custom_lazyload_script'); function custom_lazyload_script(){ ?>

Hide uncategorized from widget shop

Hide uncategorized category from widget in WooCommerce

Restrict payment methods based on cart total

Restrict payment methods based on cart total