How to change WordPress excerpt length

By default WordPress excerpts are 55 characters long. If you want to make you excerpts longer or shorter, you can do this by adding this code snippet to your themes functions.php: add_filter(‘excerpt_length’, ‘tk_excerpt_length’); function tk_excerpt_length($length){ return 40; }  

Read more

How to remove SKU from WooCommerce product pages

For you customers the SKU of a WooCommerce product is irrelevant. So why not simply remove them? You can in fact remove them completely, but it can be useful to hide them for everyone except admins or shop managers. Here is an example on how to remove hide them for everyone except admins. Add this

Read more

How to remove default sorting from Storefront shop loop

There are many reasons why you want to remove the default sorting functionality from the shop and the category page of the Storefront WooCommerce theme. Let’s say your shop sells only 10 products. Do you really need it then? Or maybe you want to write your own filter and sorting system for a shop. So

Read more