Highlight searched terms in WordPress search results

You can make your WordPress blog more user friendly by highlighting the search terms on Search page when user searches for something. By default WordPress search template is designed to show only the page title and excerpt. Unless and until the theme provides this feature out of the box, the searched terms are not highlighted […]

Creating a simple responsive wordpress theme from scratch using Twitter Bootstrap: Part 2

In the last part of this tutorial we started with our theme with just two files: index.php and style.css. What we got was a terrible looking website that looked like a notepad text editor. In this part we are going to style our theme to give it a professional look. Below is what it is […]

Masonry style WordPress Gallery without using plugin

Nowadays Masonry styled Gallery layouts are very common for websites. There are many third party WordPress plugins for Galleries that either provide their own Gallery or provide styling skins for the default WordPress Gallery. For the sake of this post we will learn how to apply Masonry Layout to default WordPress Gallery. Below is the […]

WordPress on localhost asking Ftp details while downloading plugins from Dashboard

Many times while on your local server you may have faced this issue. You try downloading and installing a plugin through the Dashboard. Then all of a sudden a screen comes that asks for FTP credentials. If you usually manually extract the plugins zip file in the plugins folder then probably you must have never […]

Using wpdb in core PHP non WordPress Projects

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 […]

Modified wpdb class for using in Core PHP

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.

Creating a WordPress plugin for social media sharing

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 […]

Modifying WP Query for Advance Search in WordPress

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.

Using WordPress ajax

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.

Adding WordPress 3.5 Media uploader to plugin / theme’s setting page

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.

Adding custom columns and removing the default ones from WordPress Posts and Pages table

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.

Creating a simple responsive wordpress theme from scratch using Twitter Bootstrap: Part 1

This is a small tutorial for begineers with little knowledge of wordpress on how to create a wordpress wordpress theme from html.