Clivern

A Software Engineer and Occasional Writer.

Working With WordPress wpdb Object

22 July 2014

WordPress offers an object that can be used to access data form default tables and custom tables. The $wpdb object contains several methods to read, insert, delete and update records from tables. Let's explore these methods in details.

Read More

Adding Menus and Submenus for Wordpress Plugins

29 June 2014

Integrating your plugin in wordpress is the first step in building plugins. There are many different ways to integrate your plugins including adding menus and submenus, adding metaboxes and adding widgets. Let's explore how to add menus and submenus for wordpress plugins.

Read More

How To Create Wordpress Widgets

22 June 2014

Wordpress provides a great API to create and interact with widgets. Widgets are a great way to allow plugin users to build their blog sidebar easily. I will show you how to create widgets, add widget options and display it in the sidebar.

Read More

PHP Errors Handling

30 May 2014

PHP5 introduced exceptions, a completely different way to handle errors. Simply, exceptions like sensors detect any error occur within your code and output a bunch of data to handle these errors. Let's see how these exceptions work.

Read More

Learning MySQL Aliases

06 May 2014

MySQL aliases are simply nicknames used to express tables, columns and functions' names. These nicknames can be used in your queries to make them short and neat. Let's explore this feature.

Read More

Laravel URL Generation

06 May 2014

In order to build hyperlinks in our applications. We might do this by hand but laravel provides a number of helpers to build URLs. Let's explore them.

Read More

How To Test PHP Classes and Objects

06 May 2014

PHP provides a set of functions to test classes and objects. These functions allow you to know more information about classes and objects that you are using at runtime. All these functions provided by PHP reflection API but their simplicity make them the first choice.

Read More

Adding Help Tabs In Wordpress Plugins Pages

06 May 2014

Wordpress 3.3 introduces the ability to create custom help tabs in plugin pages. You can use these tabs for plugin documentation to allow users to quickly understand your plugin function. I will show you how to add a help tab to your plugin configuration page.

Read More

WordPress Options API

21 April 2014

Wordpress provides a set of functions that enable easy access to plugin options. By default wordpress and plugins options are stored in `wp_options` table. Let's explore these functions.

Read More

How To Add Custom Rewrite Rules In WordPress

21 April 2014

Wordpress rewrite API used to convert URLs from something programmatically convenient to something user and search engine friendly. This article will give you some background information about wordpress URL rewriting principles and API.

Read More