🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
SolarDawn Sunrise & Sunset Widget icon
Maintained Tested up to 7.0.9 #9 in astronomy

SolarDawn Sunrise & Sunset Widget

Display sunrise, sunset, day length, solar noon, golden hour, blue hour, and twilight times for selected locations.

Active installs10+10+ tier
Downloads · 30d75▲ +17.2% vs prev. 30d
Rating—0 reviews
Health score51/100Fair
All-time downloads352Since Jun 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d16▼ -20% week over week
Our verdict

Use with caution

SolarDawn Sunrise & Sunset Widg… works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 51/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

134Sep 7Oct 21Dec 5
Yesterday5
Daily average (1y)2
Peak day37Jun 17, 2026
Last 12 months355

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where SolarDawn Sunrise & Sunset… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
astronomy #5 28 Best astronomy plugins →
daylight #18 177 Best daylight plugins →
solar #20 99 Best solar plugins →
sunrise #9 89 Best sunrise plugins →
sunset #8 162 Best sunset plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

About SolarDawn Sunrise & Sunset Widget

From the official readme · v1.2.0

Description

SolarDawn Sunrise & Sunset Widget adds a responsive frontend card for sunrise and sunset information. It works in posts, pages, widget areas, Gutenberg shortcode blocks, and page builders through the [solardawn_sunrise_sunset] shortcode.

The widget can use a default country/state/city dropdown selection, manual latitude/longitude, shortcode location attributes, or optional visitor country detection by public IP. Sunrise, sunset, twilight, and daylight details are calculated locally from the selected coordinates and timezone, then cached with WordPress transients.

Features include:

  • Sunrise and sunset times
  • Solar noon
  • Day length
  • Golden hour morning and evening
  • Blue hour morning and evening
  • Civil, nautical, and astronomical twilight
  • Light, dark, and sunrise gradient themes
  • Country, state, and city dropdowns generated from the bundled location JSON
  • Automatic latitude, longitude, and timezone detection from selected locations
  • Optional visitor country detection, disabled by default

Shortcode Examples

Default settings:

[solardawn_sunrise_sunset]

Country:

[solardawn_sunrise_sunset country="Sri Lanka"]

Country, state, and city without manual coordinates:

[solardawn_sunrise_sunset country="Sri Lanka" state="Western" city="Colombo"]

City search within a country:

[solardawn_sunrise_sunset country="Japan" city="Tokyo"]

Manual coordinates:

[solardawn_sunrise_sunset lat="6.9271" lon="79.8612" timezone="Asia/Colombo"]

Custom title:

[solardawn_sunrise_sunset country="United States" title="Today's Sun Times"]<h3>Privacy</h3>

This plugin calculates sunrise and sunset data locally from the selected latitude, longitude, timezone, and date.

Visitor country detection is disabled by default. When an administrator enables visitor country detection, the plugin sends the visitor IP address to ipapi.co to estimate the visitor’s country. If visitor country detection is disabled, no request is sent to ipapi.co.

The plugin does not store the full IP address in the database. It stores only a salted hash in the transient key and caches the detected country for 12 hours.

External services

This plugin can use one external service only when an administrator explicitly enables automatic visitor country detection.

Service name: ipapi

Service URL: https://ipapi.co/

Purpose: Used only to estimate the visitor’s country when the admin enables automatic visitor country detection.

Data sent: The visitor IP address is sent to ipapi.co when country auto-detection is used.

When data is sent: Only when the widget/page loads and the auto-detect country feature is enabled.

If auto-detection is disabled, no request is sent to ipapi.co.

Terms of Service: https://ipapi.co/terms/

Privacy Policy: https://ipapi.co/privacy/

Live Demo

You can view a live sunrise and sunset calculator here:

Live Sunrise and Sunset for your location Calculator

Zip Packaging Instructions

  1. Confirm the plugin folder is named solardawn-sunrise-sunset-widget.
  2. Confirm the main plugin file is solardawn-sunrise-sunset-widget.php.
  3. Zip the folder itself, not only the files inside it.
  4. The final zip should contain solardawn-sunrise-sunset-widget/solardawn-sunrise-sunset-widget.php at the top level.
  5. Upload the zip from WordPress Admin > Plugins > Add New > Upload Plugin.

Testing Checklist

  • Activate the plugin on WordPress 5.8 or newer.
  • Confirm Settings > SolarDawn Sun Widget loads for administrators.
  • Save settings in country mode and confirm the shortcode renders.
  • Select a country, state, and city and confirm latitude, longitude, and timezone update automatically.
  • Test a shortcode with country, state, and city attributes and confirm it renders without manual coordinates.
  • Save settings in manual coordinate mode and confirm latitude, longitude, and timezone are used.
  • Confirm visitor country detection is disabled by default.
  • Enable visitor country detection and confirm the privacy note is visible in settings before using it.
  • Confirm the widget works in default country mode without calling ipapi.co.
  • Confirm ipapi.co is contacted only after visitor country detection is enabled.
  • Confirm the widget renders in a post, page, Gutenberg shortcode block, and widget area.
  • Check mobile layout below 680px width.
  • Confirm no hidden footer or header links are added.

WordPress.org Submission Checklist

  • GPLv2 or later license is declared in the plugin header and readme.
  • No hidden backlinks are present.
  • No attribution link is rendered by the plugin.
  • Optional IP geolocation behavior is documented.
  • Inputs are sanitized and output is escaped.
  • Admin settings use the WordPress Settings API and nonces from settings_fields().
  • Remote requests use wp_remote_get() only for the opt-in ipapi.co country detection feature.
  • Assets are enqueued with WordPress APIs.
  • No external CSS frameworks, font dependencies, or JavaScript libraries are required.
  • Plugin files are namespaced/prefixed with solardawn or SolarDawn.

Installation

  1. Upload the solardawn-sunrise-sunset-widget folder to /wp-content/plugins/.
  2. Activate “SolarDawn Sunrise & Sunset Widget” from the WordPress Plugins screen.
  3. Go to the SolarDawn Sun Widget menu in wp-admin, or Settings > SolarDawn Sun Widget.
  4. Choose your location mode, display options, theme, and cache duration.
  5. Add [solardawn_sunrise_sunset] to a post, page, shortcode block, widget area, or page builder module.

Changelog

1.2.0

  • Rebranded the plugin to SolarDawn Sunrise & Sunset Widget.
  • Changed the text domain and plugin slug references to solardawn-sunrise-sunset-widget.
  • Removed the attribution link feature.
  • Removed external sunrise/sunset API settings and now calculate sun data locally.
  • Documented optional ipapi.co visitor country detection and kept it disabled by default.

1.1.1

  • Added a visible SolarDawn Sun Widget sidebar menu in wp-admin.
  • Added a Settings shortcut on the Plugins page.

1.1.0

  • Added country, state, and city location selection from bundled JSON data.
  • Added automatic latitude, longitude, timezone, and display name resolution from selected locations.
  • Added shortcode support for state and city attributes.

1.0.0

  • Initial release.

Full changelog on WordPress.org →

Screenshots

Sunrise gradient frontend widget card.
Sunrise gradient frontend widget card.
Admin settings page with location, display, theme, and cache options.
Admin settings page with location, display, theme, and cache options.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best SolarDawn Sunrise & Sunset Wi… alternatives

All astronomy plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Moon Phases Moon Phases Adds a sidebar widget that display the current moon phase. by philippe 300+ ★★★★★★★★★★ 5 (4) 13 years ago 33
2 WP Moon Phase Widget WP Moon Phase Widget Moon phase widget for Wordpress by Moon Organizer 200+ ★★★★★★★★★★ 3.8 (4) 7 years ago 29
3 The Stars at Night The Stars at Night Stars-at-night displays astronomical data for a specified location and date. by stleary 100+ ★★★★★★★★★★ 5 (3) 5 years ago 32
4 Celestial Lunar Phase Widget Celestial Lunar Phase Widget Display lunar phase, moonrise, moonset, illumination, and astronomical twilight with local… by John Martin 50+ ★★★★★★★★★★ 5 (1) 2 weeks ago 75
5 NASA Picture of the Day NASA Picture of the Day Allow your readers to enjoy NASA's Astronomy Picture of the Day on your blog with this easy… by ianwww 20+ ★★★★★★★★★★ No reviews 12 years ago 24
6 Curiosity POTD Curiosity POTD NASA Mars Curiosity rover latest image widget & current sol static block. by Andrea Benzi 20+ ★★★★★★★★★★ 5 (1) 2 years ago 34
7 Helioviewer.org – Latest Image Helioviewer.org – Latest Image Displays the latest image of the Sun from Helioviewer.org. by keith.hughitt 10+ ★★★★★★★★★★ No reviews 15 years ago 23
8 Hello Star Hello Star Yet another plugin inspired by Hello Dolly. This plugin shows information about the 88… by sarahphp1 10+ ★★★★★★★★★★ No reviews 10 years ago 31
9 WP Nasa/ADS Query Importer WP Nasa/ADS Query Importer Fetch bibliographic records from The SAO/NASA Astrophysics Data System (ADS) and include a… by marblestation 10+ ★★★★★★★★★★ 5 (1) 8 months ago 45
11 Launches from SpaceX Launches from SpaceX Show your visitors upcoming and recent SpaceX launches in your sidebar. Uses the r-spacex… by yugensoft 10+ ★★★★★★★★★★ No reviews 8 years ago 23

FAQ

SolarDawn Sunrise & Sunset Widget: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is SolarDawn Sunrise & Sunset Widg… free?

Yes. SolarDawn Sunrise & Sunset Widg… is free to download and use from the official WordPress.org plugin directory.

Is SolarDawn Sunrise & Sunset Widg… safe to use in 2026?

SolarDawn Sunrise & Sunset Widg… works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 51/100 on our health check.

How many websites use SolarDawn Sunrise & Sunset Widg…?

SolarDawn Sunrise & Sunset Widg… is active on 10+ WordPress websites and has been downloaded 352 times since it launched in June 2026. It was downloaded 75 times in the last 30 days.

Does SolarDawn Sunrise & Sunset Widg… work with WordPress 7.1?

SolarDawn Sunrise & Sunset Widg… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does SolarDawn Sunrise & Sunset Widg… need?

SolarDawn Sunrise & Sunset Widg… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was SolarDawn Sunrise & Sunset Widg… last updated?

The latest version, 1.2.0, was released on June 17, 2026 (6 months ago).

Who makes SolarDawn Sunrise & Sunset Widg…?

SolarDawn Sunrise & Sunset Widg… is developed and maintained by Sandun Malinga.

What are the best alternatives to SolarDawn Sunrise & Sunset Widg…?

The most popular alternatives to SolarDawn Sunrise & Sunset Widg… are Moon Phases (300+ installs), WP Moon Phase Widget (200+ installs) and The Stars at Night (100+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open