WordPress plugin intelligence profile

SolarDawn Sunrise & Sunset Widget

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

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.2.0
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update17 Jun 20264mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SolarDawn Sunrise & Sunset Widget version 1.2.0 as active, updated 4mo ago and tested up to WordPress 7.0.

Overview

About this plugin

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:

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. co to estimate the visitor’s country. 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

co/

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

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.

co.

co/terms/

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

  • Confirm the plugin folder is named solardawn-sunrise-sunset-widget.
  • Confirm the main plugin file is solardawn-sunrise-sunset-widget.php.
  • Zip the folder itself, not only the files inside it.
  • The final zip should contain solardawn-sunrise-sunset-widget/solardawn-sunrise-sunset-widget.php at the top level.
  • 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.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • astronomy
  • daylight
  • solar
  • sunrise
  • sunset
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity17 Jun 20264mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.