• 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 call it a remote village? Well, it’s not remote per se, but not what you would call easily accessible either. Our day started like any other day, with the hustle and bustle of work and deadlines, especially so today cause we had a 3:00 PM

    …Read More

  • 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 only allows one instance of a class to be created. Singleton. There are many advantage of using this, one of which is other developers can remove filters you’ve defined in your class. Here is a code example of how: The more troublesome part is when

    …Read More

  • Unhooking Actions and Filters in WordPress

    Today I want to talk to you about unhooking actions and filters in wordpress and some common problems we face. Write lets get on with it. Some starter tips. Actions have to be hooked to hooks before do_action is fired. So, the following: will not work. the action hasn’t been hooked and do_action digthis simply runs through all actions that have been hooked. The correct way is: Please do note the above are examples hoping to clarify, Normally we hook actions in plugin or themes’ functions.php file. The same logic applies to removing the action, removing the action after it

    …Read More

  • Preview E-mails for WooCommerce

    ,

    One of my first tasks as a WordPress developer was to make design changes to WooCommerce email templates and check that template. There is no default way for users to do this. To resolve that issue i’ve created this Plugin Woo Preview Emails

    …Read More

  • Getting Started With WooCommerce

    ,

    Today I’ll be covering the second part in my beginner’s WooCommerce series if you haven’t had the chance to look at the previous post. I suggest you do that here. In that post I’ve covered the general ideas behind WooCommerce. In this post I would like to write about my experiences and give a developers looking to delve into WooCommerce a head start. There’s a very good video series for WooCommerce  that covers the basics of setting up your store. For any novices out there i suggest you take the time and have a good look through these. There are a

    …Read More

  • WooCommerce: An E-commerce Solution for your WordPress site

    ,

    If you do a quick google search “woocommerce market share or e-commerce market share “, you’ll see that WooCommerce is the the second most popular e-commerce platform on the web. Then if you look look at WooCommerce market growth. You’ll see that it’s having a 103% growth in the market. Why? Well it’s directly proportional to the growth of WordPress: “The Most Popular CMS” currently on the web. But today lets not talk about the open source behemoth that is WordPress lets go in a different direction. The Woo-direction. There are many other E-commerce solutions for wordpress like Jigoshop, WP

    …Read More

  • Post Quake Nepal

    I cross my fingers, knock on wood and whatever other voodoo required the Earthquakes have finally stopped: at least lessened significantly. We still get a couple of jolts here and there, last week we got one that forced me to jump out of bed half naked and run for the gates but in the whole it’s safe to say(I hope) that we’ve entered a post quake era.I’m only talking about Kathmandu here not the entirety of Nepal, seismo Nepal at the time of this writing still reports quakes the size of 4.5 Mangnitude in Dolakha and as a resident of

    …Read More

  • Using Sessions in WordPress

    The WordPress platform is totally stateless and provides no support for the use of sessions outside of the cookie that keeps a user logged in. This is a very good policy and helps keep your blog light and responsive. Unfortunately there are times that a session might be convenient to hold some data between requests. My goal today is to get you on your way with sessions if you’re building plugins that require sessions, like i did when restricting access to posts based on passwords. Well if you want the code and be done with it here it is: add_action(‘init’,

    …Read More

  • Welcome to WordPress

    One of my friends told me wanted to learn how to develop for WordPress. My reply was it’s very easy just go to the codex and start. Having said that and having sent him on his merry way. I realized maybe I have sent him on the wrong path, while the codex is the holy book of wordpress from which to start but a new developer might easily wander of the correct path. So keeping that in mind I hope that this post sends any newbie developers out there on the correct path. I assume that you know how to

    …Read More

  • Not Yet

    A few days ago i had an interesting conversation with a couple of my friends. Both in their mid 20s both working full time jobs. When we were pursuing our bachelors we couldnt wait to get out wait to get started on our “Careers”. Its been a year now since i started working what was i thinking? Why was i in such a rush? At first i was full of excitement, enthusiastic and always always willing to go that extra mile. I put all my focus all my energies into it. . Now my focus begins to wane. I find

    …Read More