The mail function of PHP can be used to send mails with attachment just by modifying the header data and changing the Content type. This blog explains how to do it.
There are already a number of free captcha libraries available on web. But as a developer you might want to know (in case you don’t) how the captcha is actually generated. So in this small tutorial we will learn step by step how to generate a captcha image using PHP. Captcha is a string of […]
If you are a WordPress developer you would definitely be aware of the $wpdb variable. $wpdb makes it easy to query any table in your database and handle the result data as an array with column names as keys or as an object with properties as column names. $wpdb also provides the prepared statement for […]
The original wp-db class that WordPress provides cannot be used in non WordPress projects. This blog provides the source code for a modified wp-db class that can be used in any non WordPress projects. Using this modified wp-db class file you can use the usual wpdb functions in your core PHP projects.
As the official WordPress codex explains, a WordPress plugin is a set of functions that adds or enhances the set of features to your WordPress blogs. Plugins can be activated and deactivated through the Plugins screen in WordPress dashboard. If you are a PHP programmer and new to WordPress and wish to know how plugins […]
Many times you need to provide a search input for your site that will search through custom fields, comments, categories and many more. However the default WordPress Search searches only through the post and pages content and title. This post shall show how to define your own custom search query.
The way WordPress uses jquery’s ajax is quite different from the usual one. Though the official codex explains this in great details still it can be little daunting for new commers. This post will explain in brief how to use ajax in WordPress.
WordPress 3.5 media uploader is a lot different from the previous WordPress versions. Unlike the previous the 3.5 media uploader can be added with just three to four lines of code making it very easy to be used in our plugin’s or theme’s setting page.
WordPress tables shown in Pages and Posts contain some unwanted columns like the comments column. This post shows how to remove unwanted columns and add your own.
When you install WAMP for the first time you will notice that .htaccess redirects wont work. This post explains how to enable the same.
This is a small tutorial for begineers with little knowledge of wordpress on how to create a wordpress wordpress theme from html.