In this section we explore the process of building custom websites.
This forms part of my Wordpress Plugin Development Series. In this section we add JavaScript to a plugin. WP_Enqueue_Script We use Wordpress’ built in function wp_enqueue_script to add JavaScript into a Wordpress file. If you want to see an in depth explanation of the function, see Wordpress Codex Enqueueing your JavaScript In the last section,…
This forms part of my Wordpress Plugin Development Series. In this section we add Shortcodes to a plugin. Our Shortcode We want to create a Shortcode that shows the current date to any section where the Shortcode is called. Hooking your shortcode Add the following code to your Wordpress Plugin. function wt_show_date_function(){ $currentDate = date(‘Y-m-d…
This forms part of my Wordpress Plugin Development Series. In this section we add the functions that trigger when your plugin is activated, deactivated and uninstalled. Essential Wordpress Plugin Functions The Wordpress core includes a system called hooks that can be used when building plugins. These hooks are functions that allow a developer to use…
The purpose of this guide is to make you familiar with Wordpress Plugin Development. What to expect? In this guide I will be building a comprehensive hello world plugin. We will start with a simple Hello World alert. Which will be triggered by a Short code We will then proceed to add some admin settings…
This forms part of my Wordpress Plugin Development Series. In this section we create a readable blank WordPress plugin. First Install To start off you need to give your plugin a unique name. I will call my plugin WT Hello World. This name needs to be unique to avoid conflicts with other wordpress plugins. To…