How To Place The Weather On The Site

Table of contents:

How To Place The Weather On The Site
How To Place The Weather On The Site

Video: How To Place The Weather On The Site

Video: How To Place The Weather On The Site
Video: How to Add Weather to HTML (2021) 2024, December
Anonim

Often, on various sites, you can see a variety of weather widgets. Usually aimed at forecasting the weather of a certain city, they fit very harmoniously into the overall design of the resource and are very useful widgets. Many novice webmasters are wondering about installing these informers on their website.

How to place the weather on the site
How to place the weather on the site

Necessary

access to site management

Instructions

Step 1

First of all, define the appearance of your future weather informer: size, color, content, etc. After that, try to find an informer on special sites in accordance with your preferences or create your own design: https://informer.gismeteo.ru/, https://pogoda.yandex.ru/salavat/informer/ etc. Select the widget you like and get his code. Paste it into a notepad for more convenience and save the document, as you may need a lot of time to install the widget on the site, during which the informer code may be lost.

Step 2

The next step is to integrate the resulting code into your resource. To do this, open the source code of your site, navigate to its content and find the place where you plan to place the informer (for example, the right block). Since there are many different CMS (content management systems), this is not the only way, it is only general for everyone.

Step 3

Also in many platforms, for example in CMS Joomla, there is a system of modules. To place an informer on the site of such CMS, create a new empty module, insert the code of your widget into it and set it to the required position on your resource. This method is preferable, since you can see the location of the informer, as opposed to the case when you edit the source code of the entire site.

Step 4

Also, this informer can be added to the signature of your messages on various forums. Unlike the CMS of various sites, the management system of most forums is approximately the same, so this instruction is universal. Go to your profile on the forum, go to editing the signature and paste the informer code into the form for entering text (select BBCode on the informer selection site), save the changes.

Recommended: