Title: Suntimes Widget
Author: Jon Lynch
Published: <strong>March 22, 2012</strong>
Last modified: December 16, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/suntimes-widget.svg)

# Suntimes Widget

 By [Jon Lynch](https://profiles.wordpress.org/jonlynch/)

[Download](https://downloads.wordpress.org/plugin/suntimes-widget.0.9.2.zip)

 * [Details](https://frp.wordpress.org/plugins/suntimes-widget/#description)
 * [Reviews](https://frp.wordpress.org/plugins/suntimes-widget/#reviews)
 *  [Installation](https://frp.wordpress.org/plugins/suntimes-widget/#installation)
 * [Development](https://frp.wordpress.org/plugins/suntimes-widget/#developers)

 [Support](https://wordpress.org/support/plugin/suntimes-widget/)

## Description

Displays sunrise and sunset times for locations in widgets

## Screenshots

 * [[
 * The suntimes widget

## Installation

This section describes how to install the plugin and get it working.

 1. Go to the Plugins page in the admin area, search for `suntimes widget` and install
    it.
 2. _Or_ Extract `suntimes-widget.zip` in the `/wp-content/plugins/` directory. This
    will create a subfolder called `suntimes-widget` containing the plugin files.
 3. Activate the `Suntimes Widget` through the ‘Plugins’ menu in WordPress
 4. Go to `appearance->widgets`, add the widget to a widget area and then add the title,
    latitude and longitude.
 5. Google Maps will give you a longitude and latitude of the location you would like
    the sunrise and sunset times for.

## FAQ

  Where are the options?

On the widget page.

  Where to report bugs, ask for support or suggest features?

At the [plugin page](http://www.jonlynch.co.uk/wordpress-plugins/suntimes-widget/).

## Reviews

![](https://secure.gravatar.com/avatar/1f4a95c10fe7c1ab7892419ab6f33e902ba81eb1e6c6363eb9d777a1bba35607?
s=60&d=retro&r=g)

### 󠀁[Great shame](https://wordpress.org/support/topic/not-working-2905/)󠁿

 [xmetman](https://profiles.wordpress.org/xmetman/) April 19, 2019

It’s a great shame but this very handy widget no longer seems to work under 5.1

![](https://secure.gravatar.com/avatar/eda3f422fbd4ff49f357ab789fbedba099e83fb12558c6c01447a45751ca3a49?
s=60&d=retro&r=g)

### 󠀁[good example to learn about plugin development](https://wordpress.org/support/topic/good-example-to-learn-about-plugin-development/)󠁿

 [arminz1](https://profiles.wordpress.org/arminz1/) October 30, 2018

This example helped me a lot with the basics of plugin/widget development. The times
for sunset/sunrise etc. are retrieved by calling a web service. I later found out
that (depending on the php version available) the data can be calculated using the
built-in function date_sun_info i.e. without the need to call an external web service.
Implementing the aforementioned date_sun_info instead of the web service is simple.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/suntimes-widget/reviews/)

## Contributors & Developers

“Suntimes Widget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jon Lynch ](https://profiles.wordpress.org/jonlynch/)

[Translate “Suntimes Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/suntimes-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/suntimes-widget/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/suntimes-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/suntimes-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/suntimes-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.9.2

DST related bugfix

#### 0.9.1

Bugfix

#### 0.9

Initial version

## Meta

 *  Version **0.9.2**
 *  Last updated **11 years ago**
 *  Active installations **20+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.1.42**
 *  Language
 * [English (US)](https://wordpress.org/plugins/suntimes-widget/)
 * Tags
 * [longitude](https://frp.wordpress.org/plugins/tags/longitude/)[sun](https://frp.wordpress.org/plugins/tags/sun/)
   [sunrise](https://frp.wordpress.org/plugins/tags/sunrise/)[sunset](https://frp.wordpress.org/plugins/tags/sunset/)
 *  [Advanced View](https://frp.wordpress.org/plugins/suntimes-widget/advanced/)

## Ratings

 2.5 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/suntimes-widget/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/suntimes-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/suntimes-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/suntimes-widget/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/suntimes-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/suntimes-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/suntimes-widget/reviews/)

## Contributors

 *   [ Jon Lynch ](https://profiles.wordpress.org/jonlynch/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/suntimes-widget/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=664QJSUUJ7SB4)