Title: Custom Location Weather
Author: paulanunobi
Published: <strong>1 April 2025</strong>
Last modified: 1 April 2025

---

Cari plugin

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

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

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

# Custom Location Weather

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

[Unduh](https://downloads.wordpress.org/plugin/custom-location-weather.1.0.0.zip)

 * [Detail](https://id.wordpress.org/plugins/custom-location-weather/#description)
 * [Ulasan](https://id.wordpress.org/plugins/custom-location-weather/#reviews)
 *  [Instalasi](https://id.wordpress.org/plugins/custom-location-weather/#installation)
 * [Pengembangan](https://id.wordpress.org/plugins/custom-location-weather/#developers)

 [Bantuan](https://wordpress.org/support/plugin/custom-location-weather/)

## Deskripsi

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

## Instalasi

 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

## Tanya Jawab

### 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.

## Ulasan

Belum ada ulasan untuk plugin ini.

## Kontributor & Pengembang

“Custom Location Weather” adalah perangkat lunak open source. Berikut ini mereka
yang sudah berkontribusi pada plugin ini.

Kontributor

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

[Terjemahkan “Custom Location Weather” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/custom-location-weather)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/custom-location-weather/),
periksa [repositori SVN ](https://plugins.svn.wordpress.org/custom-location-weather/),
atau mendaftar ke [log pengembangan](https://plugins.trac.wordpress.org/log/custom-location-weather/)
melalui [RSS](https://plugins.trac.wordpress.org/log/custom-location-weather/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 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

## Meta

 *  Versi **1.0.0**
 *  Diperbarui **2 tahun yang lalu**
 *  Instalasi Aktif **Kurang dari 10**
 *  Versi WordPress ** 6.0 atau yang terbaru **
 *  Diuji hingga **6.7.10**
 *  Versi PHP ** 7.4 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/custom-location-weather/)
 * Tag
 * [location](https://id.wordpress.org/plugins/tags/location/)[openweathermap](https://id.wordpress.org/plugins/tags/openweathermap/)
   [temperature](https://id.wordpress.org/plugins/tags/temperature/)[weather](https://id.wordpress.org/plugins/tags/weather/)
   [weather widget](https://id.wordpress.org/plugins/tags/weather-widget/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/custom-location-weather/advanced/)

## Rating

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/custom-location-weather/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/custom-location-weather/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/custom-location-weather/)

## Donasi

Apakah Anda ingin mendukung pengembangan plugin ini?

 [ Donasi untuk plugin ini ](https://paulanunobi.com/donate)