the siderbar or template means that your default template for the blog.
In my case, the template is in:
/var/www/html/wordpress/wp-content/themes/default/
the file is sidebar.php
After, you add the extra command into the file, you should be able to go to “Options/myweather” to set up your weather information.