{"id":222047,"date":"2025-04-01T19:00:31","date_gmt":"2025-04-01T19:00:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-location-weather\/"},"modified":"2025-04-01T19:00:00","modified_gmt":"2025-04-01T19:00:00","slug":"custom-location-weather","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/custom-location-weather\/","author":23225889,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.7.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Custom Location Weather","header_author":"Paul Anunobi","header_description":"Displays current weather and time for any location with temperature unit toggle","assets_banners_color":"bdbfba","last_updated":"2025-04-01 19:00:00","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paulanunobi.com\/donate","header_plugin_uri":"https:\/\/paulanunobi.com\/custom-location-weather","header_author_uri":"https:\/\/paulanunobi.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":499,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"paulanunobi","date":"2025-04-01 19:00:00"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Custom Location Weather Plugin. Includes all basic functionality for weather display.<\/p>"},"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3265332,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.gif":{"filename":"banner-772x250.gif","revision":3265368,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Weather display on frontend (screenshot-1.png)","2":"Plugin settings page (screenshot-2.png)","3":"Weather display with temperature toggle (screenshot-3.png)","4":"Mobile responsive view (screenshot-4.png)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2215,10469,7877,4899,7956],"plugin_category":[49,59],"plugin_contributors":[240264],"plugin_business_model":[],"class_list":["post-222047","plugin","type-plugin","status-publish","hentry","plugin_tags-location","plugin_tags-openweathermap","plugin_tags-temperature","plugin_tags-weather","plugin_tags-weather-widget","plugin_category-maps-and-location","plugin_category-utilities-and-tools","plugin_contributors-paulanunobi","plugin_committers-paulanunobi"],"banners":{"banner":"https:\/\/ps.w.org\/custom-location-weather\/assets\/banner-772x250.gif?rev=3265368","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/custom-location-weather\/assets\/icon.svg?rev=3265332","icon":"https:\/\/ps.w.org\/custom-location-weather\/assets\/icon.svg?rev=3265332","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li>Real-time weather data display using OpenWeatherMap API<\/li>\n<li>Customizable location settings<\/li>\n<li>Temperature unit toggle (Celsius\/Fahrenheit)<\/li>\n<li>Custom weather icons<\/li>\n<li>Responsive design<\/li>\n<li>Cached data to minimize API calls<\/li>\n<li>Easy implementation via shortcode<\/li>\n<\/ul>\n\n<h4>Basic Usage<\/h4>\n\n<p>Simply use the shortcode <code>[custom_weather_time]<\/code> to display weather information on any post or page.<\/p>\n\n<h4>Display Options<\/h4>\n\n<p>The weather display includes:\n* Current temperature\n* Weather condition\n* Humidity level\n* Wind speed\n* Current date and time\n* Temperature unit toggle button<\/p>\n\n<h3>Technical Details<\/h3>\n\n<h4>File Structure<\/h4>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>custom-location-weather\/\n\u251c\u2500\u2500 custom-location-weather.php (Main plugin file)\n\u251c\u2500\u2500 templates\/\n\u2502   \u251c\u2500\u2500 admin-settings.php (Admin interface template)\n\u2502   \u2514\u2500\u2500 weather-display.php (Frontend display template)\n\u251c\u2500\u2500 assets\/\n\u2502   \u251c\u2500\u2500 css\/\n\u2502   \u2502   \u2514\u2500\u2500 style.css (Plugin styles)\n\u2502   \u251c\u2500\u2500 js\/\n\u2502   \u2502   \u2514\u2500\u2500 script.js (Frontend functionality)\n\u2502   \u2514\u2500\u2500 images\/\n\u2502       \u2514\u2500\u2500 [weather icons]\n    `<\/p>\n\n<h4>API Integration<\/h4>\n\n<ul>\n<li>Provider: OpenWeatherMap<\/li>\n<li>Endpoint: api.openweathermap.org\/data\/2.5\/weather<\/li>\n<li>Method: GET<\/li>\n<li>Cache Duration: 30 minutes<\/li>\n<\/ul>\n\n<h4>Security<\/h4>\n\n<ul>\n<li>Direct file access prevention<\/li>\n<li>Data sanitization<\/li>\n<li>XSS prevention<\/li>\n<li>CSRF protection<\/li>\n<li>Secure API key storage<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For support queries, please email hello@paulanunobi.com or visit our support page at https:\/\/paulanunobi.com\/custom-location-weather.<\/p>\n\n<h3>Future Updates<\/h3>\n\n<p>Planned features for upcoming releases:\n* Multiple location support\n* Extended forecast display\n* Additional customization options\n* Widget implementation\n* Weather alerts integration<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>custom-location-weather<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin settings under Settings &gt; Weather Display<\/li>\n<li>Obtain an API key from OpenWeatherMap:\n\n<ul>\n<li>Visit https:\/\/openweathermap.org\/api<\/li>\n<li>Create a free account<\/li>\n<li>Generate an API key<\/li>\n<li>Wait 2-4 hours for key activation<\/li>\n<\/ul><\/li>\n<li>Enter your API key and location settings in the plugin configuration<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20an%20api%20key%3F'><h3>Do I need an API key?<\/h3><\/dt>\n<dd><p>Yes, you need a free API key from OpenWeatherMap to use this plugin. Sign up at https:\/\/openweathermap.org\/api.<\/p><\/dd>\n<dt id='how%20often%20is%20the%20weather%20data%20updated%3F'><h3>How often is the weather data updated?<\/h3><\/dt>\n<dd><p>Weather data is cached for 30 minutes to optimize performance and respect API limits.<\/p><\/dd>\n<dt id='can%20i%20display%20weather%20for%20multiple%20locations%3F'><h3>Can I display weather for multiple locations?<\/h3><\/dt>\n<dd><p>Currently, you can display one location per shortcode. Multiple location support is planned for future releases.<\/p><\/dd>\n<dt id='what%20temperature%20units%20are%20supported%3F'><h3>What temperature units are supported?<\/h3><\/dt>\n<dd><p>The plugin supports both Celsius and Fahrenheit, with an easy toggle button for users to switch between units.<\/p><\/dd>\n<dt id='is%20the%20plugin%20gdpr%20compliant%3F'><h3>Is the plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>Yes, the plugin does not collect any personal data. It only retrieves weather data from OpenWeatherMap based on the configured location.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Basic weather display functionality<\/li>\n<li>Location customization<\/li>\n<li>Temperature unit toggle<\/li>\n<li>Custom weather icons<\/li>\n<li>Responsive design implementation<\/li>\n<li>API integration with caching<\/li>\n<li>Shortcode implementation<\/li>\n<\/ul>","raw_excerpt":"Display current weather conditions and local time for any specified location using OpenWeatherMap API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/222047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=222047"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/paulanunobi"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=222047"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=222047"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=222047"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=222047"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=222047"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=222047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}