by RoxxiStudios on WordPress.org
Live weather for any location using Google Weather API. Add an ADA enhanced Weather Block, Widget, or Shortcode. Precision-crafted for simplicity.

WeatherBot displays live weather for any location in the world using Google’s Weather API, with city/place resolution via Google Maps Geocoding/Places. Use with a Classic Widget, a Gutenberg block (with live preview), or with a shortcode anywhere shortcodes are supported. Outputs a clean, accessible UI that works in any theme or builder.
The WeatherBot plugin is a versatile tool that adds real-time weather insights to your WordPress site. Any site that relies on location-based services, visitor engagement, or timely environmental data can gain measurable benefits by engaging visitors longer and improving conversions.
Whether you’re running a real estate agency site in Lake Arrowhead, a tourism portal for Big Bear, or a global e-commerce store selling outdoor gear, WeatherBot helps you deliver accurate, branded weather displays that align perfectly with your content and audience.
For search visibility, WeatherBot is one of the best weather plugins for real estate, tourism, hospitality, outdoor recreation, local businesses, and e-commerce sites.
Insert the WeatherBot block from the add widget panel (search “WeatherBot”). The block renders a live server preview and includes these controls:
pre_text) — optional heading above the widgetshow_pre_text) — 1 (show) or 0 (hide)align) — left, center, rightfont_color) — light, dark contrastunit) — IMPERIAL (°F), METRIC (°C), or inherit from Settingstype) — badge, compact, inlinecity) — type a city and press Enter to previewThe block supports Dimensions → Margin for per-instance spacing. Theme alignment (e.g., wide/full) is supported where available.
Use [weatherbot]. Examples below are code-formatted so they render correctly.
Basic:
[weatherbot city=”Lake Arrowhead, CA”]
Badge type with °F:
[weatherbot city=”Lake Arrowhead, CA” unit=”IMPERIAL” type=”badge”]
Title + right aligned:
[weatherbot city=”Lake Arrowhead, CA” type=”badge” pre_text=”Current Weather” align=”right”]
Hide the title (show_pre_text=0):
[weatherbot city=”Lake Arrowhead, CA” pre_text=”Current Weather” show_pre_text=”0″]
High-contrast for dark backgrounds:
[weatherbot city=”Lake Arrowhead, CA” type=”badge” font_color=”light”]
Compact layout (°C):
[weatherbot city=”Lake Arrowhead, CA” type=”compact” unit=”METRIC”]
Inline layout (flows with text; omit align):
[weatherbot city=”Lake Arrowhead, CA” type=”inline” pre_text=”Now:”]
All options:
[weatherbot city=”Lake Arrowhead, CA” unit=”IMPERIAL” type=”badge” pre_text=”Current Weather” show_pre_text=”1″ align=”center” font_color=”dark”]
"Lake Arrowhead, CA")IMPERIAL | METRIC | empty to inherit from Settingsbadge | compact | inline | empty to inherit1 | 0 (default 1) — show/hide the title above the widgetWeatherBot is designed to inherit your theme’s fonts and typography by default, so it blends seamlessly into your site. But if you want more control, you can fully customize the display with CSS variables and custom CSS rules.
You can override the built-in design system using global CSS variables. Add them to Appearance → Customize → Additional CSS or your child theme stylesheet:
:root {
--wb-primary: #0055aa; /* link and highlight color */
--wb-secondary: #3399ff; /* hover color */
--wb-neutral: #666666; /* neutral text */
--wb-light: #e0e0e0; /* light gray */
--wb-dark: #111111; /* dark text */
}
Change the temperature color:
.roxxi-weather span.wb-temp {
color: #cc0000;
font-weight: 700;
}
Make the unit lighter:
.roxxi-weather span.wb-unit {
color: #555555;
font-weight: 300;
}
Style the description (conditions):
.roxxi-weather span.wb-desc {
font-style: italic;
color: #444444;
}
Adjust the powered-by line:
.roxxi-weather span.wb-powered {
font-size: 11px;
color: #999999;
}
WeatherBot supports three display layouts that can be styled independently:
.wb-type-badge → Card-style block with border and padding.wb-type-compact → Slimmed-down block for sidebars or tight spaces.wb-type-inline → Flows naturally with surrounding textYou can also control horizontal positioning:
.wb-left → Align left.wb-center → Centered.wb-right → Align rightFor accessibility and readability, WeatherBot supports dark text on light backgrounds (font_color="dark") or light text on dark backgrounds (font_color="light"). This ensures your widget maintains strong contrast in any design.
With these options, WeatherBot can be styled to match any WordPress theme—from minimal blogs to complex builder-driven layouts.
WeatherBot is engineered to be fast, lightweight, and API-efficient, so it won’t slow down your WordPress site. All requests to Google’s Weather and Geocoding APIs are cached in your database to reduce load times and minimize API usage.
From the Settings → WeatherBot page you can manually clear caches at any time:
Because WeatherBot caches aggressively, each site can serve thousands of widget views while making only a handful of API calls. This keeps your Google Maps Platform quota usage low, even on high-traffic sites.
In short, WeatherBot is tuned to balance real-time accuracy with performance efficiency, ensuring your site stays fast while your visitors always see up-to-date weather conditions.
WeatherBot isn’t just a utility widget—it can also help strengthen your site’s SEO and local search visibility. By embedding live weather conditions tied to a city, town, or region, you’re providing fresh, location-based content that search engines value.
1. Pair WeatherBot with Content — Don’t just drop in the widget. Surround it with location-rich text like community info, property highlights, or travel guides.
2. Use Internal Links — Link weather-enhanced pages to related content (e.g., “See all Lake Arrowhead homes for sale”) to strengthen site architecture.
3. Combine with Schema — Add FAQ or LocalBusiness schema to the same page to maximize structured data signals.
4. Target Seasonal Keywords — Weather pages can support seasonal searches like “ski conditions” or “summer vacation weather” when paired with relevant content.
By strategically placing WeatherBot on city landing pages, property spotlights, tourism blogs, or service areas, you create ever-fresh, locally relevant content that boosts both SEO performance and user engagement.
WeatherBot integrates seamlessly with the WordPress Block Editor (Gutenberg) with full support for the Classic Widget system and shortcodes, making it highly flexible across different site setups.
Insert the WeatherBot block from the editor sidebar (search for “WeatherBot”). The block includes a live preview that updates instantly as you configure options like city, unit, layout, and alignment. Works with both standard content blocks and full-site editing (FSE) templates.
WeatherBot registers as a Classic Widget, so it can be placed into traditional sidebars or widget areas. All shortcode attributes (city, unit, type, align, etc.) are supported inside the widget interface.
WeatherBot’s shortcode works in all major page builders:
Shortcodes also render correctly in headers, footers, popups, and theme hooks.
The plugin’s design system uses CSS variables (e.g., --wb-primary, --wb-dark, --wb-light), so it inherits your theme’s fonts and colors while remaining customizable. This makes WeatherBot compatible with nearly all modern themes without manual overrides.
WeatherBot is fully responsive and works across desktop, tablet, and mobile devices. The UI automatically adjusts layouts for smaller screens (badge, compact, and inline types).
WeatherBot is built with vanilla JavaScript (no jQuery) and standard WordPress packages, ensuring long-term compatibility with WordPress core updates.
We are actively developing WeatherBot Pro, an upgraded version of the plugin designed for websites that need more advanced weather features, deeper integrations, and expanded customization. Pro will include powerful enhancements that go beyond the current free version:
Display not only current conditions but also hourly and multi-day forecasts. Perfect for tourism sites, hotels, resorts, outdoor recreation, and real estate listings where future weather is a deciding factor.
Gain full control over fonts, colors, and card designs with a point-and-click style editor. Choose from additional layouts (carousel, grid, stacked) and apply them per widget, block, or shortcode instance.
Pro will offer deeper compatibility with Elementor, Beaver Builder, Divi, and WPBakery, allowing you to configure weather blocks visually inside your page builder without relying only on shortcodes.
Control caching intervals, purge rules, and fallback states for high-traffic environments. Optimize for SEO and speed without sacrificing live data accuracy.
Associate multiple cities or service areas and display them in maps, lists, or comparison tables. Ideal for businesses with multiple offices, retail stores, or event venues.
Expanded support for alternative weather APIs will be explored, providing flexibility in data sources and resilience if usage quotas are reached.
WeatherBot Pro will ensure you stay ahead with forecast-ready features, enterprise-level styling options, and robust performance tools. Stay tuned for updates, and watch for announcements in the plugin dashboard and on the WeatherBot project page.
This plugin connects to third-party services to fetch weather and/or geocoding data.
The plugin may cache API responses (weather lookups and reverse-geocoded place names) in your WordPress database to reduce network calls and improve performance. Cache lifetimes are limited and can be cleared by site admins at any time.