November 4, 2016

How to get timezone of client machine with JavaScript?

function formatedZone() {
var now = new Date(),
tzo = -now.getTimezoneOffset(),
dif = tzo >= 0 ? ‘+’ : ‘-‘,
pad = function(num) {
var norm = Math.abs(Math.floor(num));
return (norm < 10 ? ‘0’ : ”) + norm;
return dif+pad(tzo / 60)+ ‘:’ +pad(tzo % 60);

Last updated: November 4, 2016
September 30, 2016

WordPress Plugin – WP Quick Shop

WordPress Plugin – WP Quick Shop

WP quick shop is an idea to serve those websites which are offering either spare parts or a variety of cosmetics so buyer would be interested to give a quick look instead of navigating through a lot of pages. Many online stores which offer accessories and hardly managing their offers with related products slider or somehow using sidebars or top banners, will definitely like this utility. Initially its introduced for WooCommerce but later it will be compatible with other relevant plugins too. It’s always a pleasure to work for WordPress community. I tried to keep it simple and will surely improve its usability but its well tested and in working condition at this moment. All important and possible conditional checks are applied and tested well.

Last updated: September 30, 2016