How to add widget in theme?

By Amanda James, 2 years ago. Last reply by Andrew Misplon, 2 years ago
Is their any other way to add a custom widget in themes as I have already seen a resource WordPress theme widget but I am not getting exactly what to do as I have added the code in functions.php and when I am adding code in sidebar.php to make the widget visible it’s not appearing.…