Creating Custom WordPress Widget on certain pages

Recently I needed to create a Facebook likebox WordPress widget for my friend, which of course can be easily created using a WordPress text widget, but since my friend is new to WordPress and has no clue about coding, and to make matters worse, she wanted to display it only on certain pages like single and category pages! So, I decided to quickly create a custom WordPress Widget, which should be flexible enough for her needs.

Creating Reddit Login Button in PHP

In this tutorial I will show you how to create a Reddit login button for your website using PHP. What is OAuth? OAuth is a protocol used to allow secure authorization to websites and applications to access user information. There are two versions of OAuth, 1.0 and 2.0. In this post we will use OAuth 2.0 to build a Reddit login system.

Ajax Image upload & Resize with PHP ImageMagick & jQuery

ImageMagick is great image processing for PHP, with ImageMagick you can resize your image, crop and do many other things in a very simple manner, it supports numerous image formats. Today we are going to create a very simple Ajax based image resize script using ImageMagick (PHP) and jQuery.

Draggable Element with JQuery (No jQuery UI)

Draggable feature in a webpage can bring a smooth user experience. If you want to enable draggable functionality to an element but without jQuery UI, here’s another jQuery snippet you can use. This snippet will make any DOM element draggable, which you can move around to different position on the viewport.