0%
Loading ...

Tag: Plug in

  • Tutorial: Develop Plug-in that displays list of Posts under Admin-Settings in 8 Steps

    Tutorial: Develop Plug-in that displays list of Posts under Admin-Settings in 8 Steps

    General: Here a plugin that will display a list of posts will be demonstrated. Read more about developer resources here: https://developer.wordpress.org/   Step 01: Plugin name will be DisplayListOfPosts Step 02: Create a directory under wordpress-root\wp-content\plugins\DisplayListOfPosts Step 03: Create a file under that directory called: DisplayListOfPosts.php Step 04: The the following content to the plugin file:…

    Continue reading

  • WordPress plugin development OOP way

    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…

    Continue reading

  • Learn how to develop WordPress Plugins

    Learn how to develop WordPress Plugins

    Learn how to develop WordPress Plugins 01  – Under <Wordpress-directory>wp-contentPlugins create a directory with the Plugin Name. 02 – There create a file <Plugin Name>.php 03 – Under WordPress plugins page the new plugin will be shown. 04 – Copy and paste the HelloWorld example below to <Plugin Name>.php file. 05 – Activate the Plugin from…

    Continue reading