Sun. Aug 25th, 2019

WordPress Tutorials 101

WordPress Tutorials

simple-widget-x WordPress Plugin

1 min read

I created my first WordPress widget plugin called “Simple Widget X”. The source file is shown at the bottom of this description.

I demonstrate that it can be used within the widgets configuration screen; however, my theme has those sections hidden. I also use it as a widget and create it from a shortcode also, within Elementor. This video focuses on its use there.

Near the end of this video, I showcase some of the code for the single PHP file that supports this plugin. Additional scripts or CSS files could have been included, but I have that commented out for this demonstration.

I created 2 properties called Caption and value, and this widget defines how they are rendered by the page/post and configured by the properties form.

Enjoy! 🙂

The source file can be viewed at:

Copyright © All rights reserved. | Newsphere by AF themes.