Title: Custom Location Weather
Author: paulanunobi
Published: <strong>01.04.2025</strong>
Last modified: 01.04.2025

---

Поиск плагинов

![](https://ps.w.org/custom-location-weather/assets/banner-772x250.gif?rev=3265368)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/custom-location-weather/assets/icon.svg?rev=3265332)

# Custom Location Weather

 Автор: [paulanunobi](https://profiles.wordpress.org/paulanunobi/)

[Скачать](https://downloads.wordpress.org/plugin/custom-location-weather.1.0.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/custom-location-weather/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/custom-location-weather/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/custom-location-weather/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/custom-location-weather/#developers)

 [Поддержка](https://wordpress.org/support/plugin/custom-location-weather/)

## Описание

Custom Location Weather Plugin is a versatile WordPress plugin that displays real-
time weather information and local time for any location worldwide. Perfect for 
travel websites, local businesses, or any site needing to display weather information.

#### Key Features

 * Real-time weather data display using OpenWeatherMap API
 * Customizable location settings
 * Temperature unit toggle (Celsius/Fahrenheit)
 * Custom weather icons
 * Responsive design
 * Cached data to minimize API calls
 * Easy implementation via shortcode

#### Basic Usage

Simply use the shortcode `[custom_weather_time]` to display weather information 
on any post or page.

#### Display Options

The weather display includes:
 * Current temperature * Weather condition * Humidity
level * Wind speed * Current date and time * Temperature unit toggle button

### Technical Details

#### File Structure

    ```
    `
    ```

custom-location-weather/
 ├── custom-location-weather.php (Main plugin file) ├──
templates/ │ ├── admin-settings.php (Admin interface template) │ └── weather-display.
php (Frontend display template) ├── assets/ │ ├── css/ │ │ └── style.css (Plugin
styles) │ ├── js/ │ │ └── script.js (Frontend functionality) │ └── images/ │ └──[
weather icons] `

#### API Integration

 * Provider: OpenWeatherMap
 * Endpoint: api.openweathermap.org/data/2.5/weather
 * Method: GET
 * Cache Duration: 30 minutes

#### Security

 * Direct file access prevention
 * Data sanitization
 * XSS prevention
 * CSRF protection
 * Secure API key storage

### Support

For support queries, please email hello@paulanunobi.com or visit our support page
at https://paulanunobi.com/custom-location-weather.

### Future Updates

Planned features for upcoming releases:
 * Multiple location support * Extended 
forecast display * Additional customization options * Widget implementation * Weather
alerts integration

## Установка

 1. Upload the `custom-location-weather` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure the plugin settings under Settings > Weather Display
 4. Obtain an API key from OpenWeatherMap:
 5.  * Visit https://openweathermap.org/api
     * Create a free account
     * Generate an API key
     * Wait 2-4 hours for key activation
 6. Enter your API key and location settings in the plugin configuration

## Часто задаваемые вопросы

### Do I need an API key?

Yes, you need a free API key from OpenWeatherMap to use this plugin. Sign up at 
https://openweathermap.org/api.

### How often is the weather data updated?

Weather data is cached for 30 minutes to optimize performance and respect API limits.

### Can I display weather for multiple locations?

Currently, you can display one location per shortcode. Multiple location support
is planned for future releases.

### What temperature units are supported?

The plugin supports both Celsius and Fahrenheit, with an easy toggle button for 
users to switch between units.

### Is the plugin GDPR compliant?

Yes, the plugin does not collect any personal data. It only retrieves weather data
from OpenWeatherMap based on the configured location.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Custom Location Weather» — проект с открытым исходным кодом. В развитие плагина
внесли свой вклад следующие участники:

Участники

 *   [ paulanunobi ](https://profiles.wordpress.org/paulanunobi/)

[Перевести «Custom Location Weather» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/custom-location-weather)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/custom-location-weather/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/custom-location-weather/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/custom-location-weather/)
по [RSS](https://plugins.trac.wordpress.org/log/custom-location-weather/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0.0

 * Initial release
 * Basic weather display functionality
 * Location customization
 * Temperature unit toggle
 * Custom weather icons
 * Responsive design implementation
 * API integration with caching
 * Shortcode implementation

## Мета

 *  Версия **1.0.0**
 *  Обновление: **2 года назад**
 *  Активных установок: **Менее 10**
 *  Версия WordPress ** 6.0 или выше **
 *  Совместим вплоть до: **6.7.10**
 *  Версия PHP ** 7.4 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/custom-location-weather/)
 * Метки:
 * [location](https://ru.wordpress.org/plugins/tags/location/)[openweathermap](https://ru.wordpress.org/plugins/tags/openweathermap/)
   [temperature](https://ru.wordpress.org/plugins/tags/temperature/)[weather](https://ru.wordpress.org/plugins/tags/weather/)
   [weather widget](https://ru.wordpress.org/plugins/tags/weather-widget/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/custom-location-weather/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/custom-location-weather/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/custom-location-weather/reviews/)

## Участники

 *   [ paulanunobi ](https://profiles.wordpress.org/paulanunobi/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/custom-location-weather/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://paulanunobi.com/donate)