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
http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-wordpress-widget/
If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.
Check us out on Facebook
https://www.facebook.com/wpbeginner
Follow us on Twitter
Tweets by wpbeginner
Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com
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:
http://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/
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.