Title: Suntimes Widget
Author: Jon Lynch
Published: <strong>22 Março, 2012</strong>
Last modified: 16 Dezembro, 2014

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

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

# Suntimes Widget

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

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

 * [Detalhes](https://pt.wordpress.org/plugins/suntimes-widget/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/suntimes-widget/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/suntimes-widget/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/suntimes-widget/#developers)

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

## Descrição

Displays sunrise and sunset times for locations in widgets

## Ecrãs

 * [[
 * The suntimes widget

## Instalação

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.

## Perguntas frequentes

  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/).

## Avaliações

![](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/) 19 Abril, 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/) 30 Outubro, 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.

 [ Ler todas as 2 avaliações ](https://wordpress.org/support/plugin/suntimes-widget/reviews/)

## Contribuidores e programadores

“Suntimes Widget” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

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

[Traduza o “Suntimes Widget” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/suntimes-widget)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/suntimes-widget/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/suntimes-widget/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/suntimes-widget/)
por [RSS](https://plugins.trac.wordpress.org/log/suntimes-widget/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 0.9.2

DST related bugfix

#### 0.9.1

Bugfix

#### 0.9

Initial version

## Metadados

 *  Versão **0.9.2**
 *  Última actualização **Há 11 anos**
 *  Instalações activas **20+**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **4.1.42**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/suntimes-widget/)
 * Etiquetas
 * [longitude](https://pt.wordpress.org/plugins/tags/longitude/)[sun](https://pt.wordpress.org/plugins/tags/sun/)
   [sunrise](https://pt.wordpress.org/plugins/tags/sunrise/)[sunset](https://pt.wordpress.org/plugins/tags/sunset/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/suntimes-widget/advanced/)

## Classificações

 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/)

## Contribuidores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/suntimes-widget/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=664QJSUUJ7SB4)