Woothemes Flexslider RTL (right-to-left) support

RTL, no it is not the dutch television channel! RTL stands for right-to-left, websites with Arabic visitors want to support their natural way of reading online. I’m used to LTR (left-to-right), so I never thought about supporting RTL. But now I needed to build a page that supports RTL. That was interesting to investigate. The website that gave me a very quick help was the all time favorite “CSS Tricks”, the have a article about RTL / the CSS direction property.

Bestsellers Woocommerce product loop

Wondering how you can make an loop with only the bestsellers of your products for you Woocommerce website? It’s pretty simple! Just make a normal loop and make use of the pre-defined meta-key “total_sales” an order by the value. The code <?php $args = array( 'post_type' => 'product', 'posts_per_page' => 4, 'meta_key' => 'total_sales', 'orderby' => 'meta_value_num', ); $loop = new WP_Query( $args ); if ( $loop->have_posts() ) { while ( $loop->have_posts() ) : $loop->the_post(); woocommerce_get_template_part( 'content', 'product' ); endwhile; } else { echo __( 'No products found' ); } wp_reset_postdata(); ?

Custom Woocommerce email notification for dealer or supplier

Since a couple of days i was searching of a solution to make my own custom email notification for Woocommerce. And especially to send an dealer or supplier an email that he have got an order to handle. But Woocommerce has a documentation. But custom stuff like this you wouldn’t find there. So i started myself! And came with an solution. For my locations i use the WordPress plugin SimpleMap, it’s a nice plugin to create dealer location libary where visitors can search if there near by an dealer.
1 of 1