Replace WordPress default login logo with site logo

While we all love wordpress, we feel having our site’s personal logo on login page would look much better 😉 adding the below code snippet in your theme’s functions.php will change the wordpress login screen logo with your site’s logo.

How to create Woocommerce order programatically

Creating a woocommerce order programmatically was bit of a pain until version 2.2 which brings us very easy and efficient way creating order. Here is how you would go about it with woocommerce version 2.2 or later :