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.



Displays sunrise and sunset times for the capital cities of the America (including miscellaneous cities).
Times displayed are local time.

You can also set the sunrise/sunset times for only Friday.

IF YOU ARE UPGRADING please change the settings of the widget in the dashboard right after upgrading.

IF YOU ARE A DESIGNER: I would love for someone to skin the widget. I’ll add you to the list of contributors.

Please email me if you have any questions or requests:

Options includes:
1. What city to display.
2. Should sunrise be displayed?
3. Should sunset be displayed?
4. The title display at the top of the widget.


  • The widget displays sunrise and sunset times.
  • You can adjust the title and the city in the Dashboard. The widget uses local time.


You install this widget like any normal widget.

  1. Upload the SunriseSunset plugin to the /wp-content directory.
  2. Activate it.
  3. Configure the settings in the Widget Admin Dashboard.


Can I request other cities to be added to drop down list?

Yes, you can. Simply email me and I’ll try to accomodate your request :

I saw a bug! How can I help?

You can write to me at Or send me a patch.

I will try to accommodate you ASAP.

Why is there an options to limit the sunrise/sunset display to only Friday?

These times are important for certain religious denomination.

What updates are planned for this widget?

Here are some:
1. Better design.
2. The ability to add images.
3. The ablity to add cities in the Admin Dashboard.

How do I add more cities to this list?

Add a line in the cities.txt file with the following format:

For example:
Miami, FL:25.82:-80.28:EST:EDT

Contributors & Developers

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


Translate “SunriseSunset” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Dynamic Year.


  • Added Perth Australian.


  • Added “Friday” feature.
  • Added Timezone in Display.


  • Added all capital cities of America.


  • Taking into account DST.
  • Added more cities.


  • Fixed times for most cities.


  • Removed hacked code – reported to forums


  • Improved README
  • Updated screenshot


  • Add more cities
  • Can show to display on sunset/sunrise times
    ^ Cities are now on files.


  • Bug Fixes


  • Added Arizona


  • Bug fixes


  • Added screenshots.
  • Better readme.


  • Initial files. New York, Los Angeles and Chicago.