Skip to content
Willie Theron
Programmer / Investor
Willie Theron
  • Home
  • Projects
  • My Story
  • Blog
  • Contact
  • Home
  • Projects
  • My Story
  • Blog
  • Contact

Daily Archives: April 4, 2019

WordPress Plugin Development – Shortcodes

Programming, WebsitesBy Willie TheronApril 4, 2019Leave a comment

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…

WordPress Plugin Development Basic Functions

Programming, WebsitesBy Willie TheronApril 4, 2019Leave a comment

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…

Willie Theron

© Willie Theron 2019

Go to Top