First of all this isn’t a how to stay safe post. This isn’t about social distancing, washing your hands and clothes, coughing on your shoulder, properly wearing masks posts on COVID-19, it’s best your refer to WHO for that. And please do. Facts are important. This is going to be me – rambling on about…(Continue Reading)
To A New Adventure
Today – after a lot of consideration – I am happy to say I am officially joining the team at CodeManas as a partner and co-owner. I have been freelancing for a bit now – and the life of a freelancer I have found is a bit lonely. I used to think I was a…(Continue Reading)
Understanding the Arrow function ( in javascript )
Why was the arrow function created ? As you may know that the arrow function was added to ES6. Why was this added though ? To solve two things. 1. Shorter function declarations 2. to solve the “this” problem 1. Shorter function is self evident: Lets take simple array manipulation. The map() method creates a…(Continue Reading)
True colors
At the height of the nakabandhi, I was returning from work, in front of my home, I saw this man being dragged across the street. Bloodied, unable to move. It was winter, maybe January i dont remember. Naturally as people do. They gathered around. What followed next was hard to watch. Instead of helping the…(Continue Reading)
WooCommerce 2 Step Checkout
Right, new year (nepali), new tutorial. We’re going to be taking a dive into a custom WooCommerce Multistep Checkout. If you rather just see the code then here or here is good 😀 The Scenario: So here’s what I want to do, create a 2 – step checkout. First Step: The User Fills in their…(Continue Reading)
Retina Ready Logo WordPress Hack
Retina Ready is the new normal. With phones, screens and everything else a high DPI screen is now the new normal. WordPress makes it very easy these days, with the use of srcset for images. The one exception being , the WordPress logo. Or, to be more precise the WordPress Custom Logo. So what i did…(Continue Reading)
WordPress Kathmandu Meetup
Salutations one and all, Saturday the 25th of Feb 2017, mark the date. I’m very excited about this. I am collaborating with long time mentor and friend Rakesh Lawaju . See details here https://www.facebook.com/events/1807154016273998/ . We’ll be talking about Javascript templating in WordPress and I personally am hoping you guys will come and share the experience with us.…(Continue Reading)
Digthis Filter Hooks
https://wordpress.org/plugins/digthis-action-filters/ Ever had that feeling where you hook into and action or a filter and for some reason your code isn’t working? well 9 / 10 the reason is your hook is in a lower priority(in case of filters) and it can simply be determined by searching through the code for that particular filer? Seems,…(Continue Reading)
The Balthali Trip: Never Break From the Herd
About 40 km from the heart of Kathmandu lies Balthali, a village situated at the junction of Roshi and Ladku rivers. It’s perfect for a quick getaway from all the hustle and bustle of the city. A relaxing trip, the purpose of our visit to the village. I sit here and ponder if I should…(Continue Reading)
Remove Action Hooks and Filters defined in classes.
In my previous post, i explained and walked through the process of removing actions from Hooks and Filters. In this post I will cover how to un-hook action and filters that have been defined in classes. Firstly lets cover the singleton class a very popular way of defining plugins in WordPress environment. A singleton class…(Continue Reading)