Skip to content
Tareq Hasan

Blog

Backbone.js powered proof of concept WordPress theme

I was thinking to build a WordPress theme based on Backbone.js for a long time and wasn't getting enough time to do that. Yesterday I took the idea again and started quickly. Right now it's working pretty great as expected. See it here. The theme is still in development and lots of features are left …

Find out if there is any JavaScript error on a page

Your plugin broke another plugin, help me to fix it. A very common support request I get. So the problem is, something went wrong in JavaScript and it's giving you an error. So how do you find out what error came in? Let me show you Debugging on Firefox Install firebug add-on and restart your …

WooCommerce order email and mandrill

I am trying Mandrill for sending email from WordPress. It's a nice service from Mailchimp for sending transactional mail. The best part is they allow 12,000 free mail/month :D The problem is, every email in WordPress is plain text. As I am using WooCommerce, the order emails of WooCommerce are HTML and Mandrill also sends …

XBOX 360 power brick burned

I bought XBOX 360 + Kinect from amazon.com a few days ago and brought it to Bangladesh with the help of a brother. Got it yesterday and when I plugged in the power cord and turned on the XBOX, smoke came out from the power supply and I unplugged the power supply instantly. Later found out, …

Blocking user registration by country level domain in WordPress

Spammers are everywhere and in weDevs, every single day a lot of spammers are registering. Among them ".pl" domains are mostly used. Enough is enough, so why not block them? That's why I wrote a function that will check the user's email address and will find the country level domain (only the last part of …

Contribute code for WP Project Manager

I've released WP Project Manager plugin a few months back. It's an awesome piece of plugin IMHO. Working single in a project like this along with client project and other personal project is hard. It takes time to improve it a lot by working alone. There are many areas where it can be improved. So, are …

WP User Frontend PRO released

A long awaited plugin!! Today I've released the PRO version of my plugin WP User Frontend. It comes with a bunch of really cool features. Unlimited post type form creation Drag-n-drop form builder Custom taxonomy support 13 variations of custom fields Guest post support Custom Redirection Image upload on post content area Post status selection …

A file based logging utility

We all do debugging. I frequently use a file based logging function that I wrote, it was very basic. Thought it could be more improved, so here's the improved version. It has a small dependency, WordPress's WP_CONTENT_DIR constant, because I do WordPress a lot. But you can change the logging file path as you want. …