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.

Test send PHP emails locally (xampp) Windows

If you are required to test the functionality of PHP mail in your projects, which is without having to use external mail server, you can try these steps which will allow you to send and open emails locally. I assume you are running XAMPP server on your computer, it should work fine with WampServer too without any configuration.