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

PHP GD library is more than enough for image processing, it supports numerous image formats and offers enough capabilities. But sometimes enough is not enough, sometimes we want to try out ImageMagick, just for the sake of performance, code clarity or just to explore more functionality. So today instead of using PHP GD, we are going to create an image upload and 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.