Month

January 2017
HTML5 has been around for many years now and has been stable and supported at least partially supported by most major browsers since 2014. We are going to present here a list of best coding practices regarding HTML5 markup. This list is from a perspective of creating a clean, maintainable and scalable code, that will...
Read More
In this tutorial we’ll learn how to get all woocommerce products grouped by their categories. Here is the lines of code which can achieve that: <?php $args = array( 'number' => $number, 'orderby' => 'title', 'order' => 'ASC', 'hide_empty' => $hide_empty, 'include' => $ids ); $product_categories = get_terms( 'product_cat', $args ); $count = count($product_categories); if...
Read More