Tag: Wordpress Plugin
-
Tutorial: Develop WordPress Plug-in in 6 Steps – Add filter method
Here I will demonstrate how to build a wordpress plugin that will add prefix and suffix to each post content. Step 01: The name of the plugin that will be created here will be called PreSuff (Prefix / Suffix). Create a directory for plugin under wordpress-root\wp_content\plugins. The directory name will be presuff. So under wordpress…
-
WordPress plugin development OOP way
let’s create WordPress plugin the easy way: 01. Create plug-in template as follows: Browse to http://wppb.me/ and generate plugin, this is Wordpress boilerplate generator and generates OOP plugin. Download the generated plug-in. Install it. In general here is a link to wordpress developer resources. 02. plugin code Search plugin directory for string “public static function activate()“. activation: in the activation phase…