WordPress For Non-Techies

How to Create a Custom WordPress Widget

Are you wanting to create your own custom widget for WordPress? Widgets are tools to let you add elements to any sidebar or widget ready area of your website. In this video we will show you how to create a custom WordPress widget.

Text version of this tutorial

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook

Follow us on Twitter

Checkout our website for more WordPress Tutorials

There are two methods to do this you could either create a site specific plugin or paste the code in your theme’s functions.php.

If you edit your theme’s functions.php then you will lose the widget when you change themes so keep this in mind when making these changes.

If you do not know how to use FTP you would want to take a look at our article:

You will want to download your theme’s functions.php from the wp-content/themes area inside the folder with the name of your theme.

Download and add the code from our written article to the functions.php file and upload it back to your theme’s folder.

You should now have a widget that you can add under Appearance, Widgets to your site.



Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button