Daily Moon Forecast


Daily Moon Forecast plugin adds a widget to WordPress that displays the current moon zodiac sign along with a forecast, which updates automatically as the moon sign changes. The widget also displays the current local date and time of the viewer, as given by the viewer’s browser.

The forecast is simply a one-sentence or two-sentence suggestion of the general mood in the air according to the zodiac sign the moon is in. Twelve forecasts are included, one for each of the twelve zodiac signs. By default, the widget will use the included forecasts. You have the option to write your own custom forecast for each moon sign in Settings -> Daily Moon Forecast.

Daily Moon Forecast uses the Swiss Ephemeris to get the longitude of the Moon.


The plugin is translation-ready, and includes a catalog .pot file to make it easy for you to translate it into other languages.

For more info, see the FAQ, the Installation instructions (links above), or the plugin web page.

For Support or suggestions, please use the official Support Forum (link above).

Fork and hack on GitHub.


  • Daily Moon Forecast - how it looks on your site
  • Custom Settings panel - back-end


Why is it stuck on Aries?

There are 3 possible reasons for the widget to be stuck on Aries.

1. If your website is running on a Windows operating system (i.e. using Windows hosting), then you’ll need to use the ZodiacPress Windows Server plugin to make the Ephemeris work on your server. This is because the Ephemeris included in Daily Moon Forecast will not run on Windows, by default. Just install and activate the “ZodiacPress Windows Server” plugin, and it will automatically solve this problem. Note that ZP Windows Server only works with Daily Moon Forecast version 2.0+, not with early versions of Daily Moon Forecast.

2. This plugin uses the PHP exec() function. Some hosting providers disable the exec() function. If this function is disabled, the plugin will not work. If your host has disabled this function, contact them as they may have a way for you to enable it. (Check their support pages.)

3. It may be that your server did not allow the plugin to set the proper file permissions for the Swiss Ephemeris. See this for help.

How can I enable exec() on Namecheap host?

See this to enable the exec() function on Namecheap host.

I don’t like it centered. How can I left-align the widget?

CSS Style Suggestions

To left-align the widget title, add this to style.css:

.widget_dmf_widget h3.widget-title {

To left-align the rest of the widget, add this to style.css:

.widget_dmf_widget #moonforecast {
How can I change the CSS style of the widget?

To style the entire widget, use this selector:


To style only the widget title, use this selector:

.widget_dmf_widget h3.widget-title 

To style the everything except the title, use this selector, which wraps everything after the title:


To style just the date, use this selector:

#moonforecast #localtime

To style just the icons, use this selector:

#moonforecast img
How can I give back?

Please rate the plugin. Thank you.


Read all 5 reviews



  • Tweak – Updated links to plugin URL and documentation.
  • Tweak – Textdomain loading should be delayed until the init action.


  • Maintenance – Updated .pot language file.


  • Fix – Added a solution for sites using Windows hosting. Previously, the ephemeris would not work on sites using Windows hosting.
  • Fix – File permissions were not being checked properly which was causing ephemeris not to work on some sites.


  • Maintenance – Removed stray file, widget.php.


  • Maintenance – Removed unused includes directory.


  • Maintenance – Changed h2 title tag on settings page to h1.


  • Maintenance – Updated sweph binary files which may have been unreadable on some servers.


  • New – Changed textdomain to daily-moon-forecast. Now compatible with WPML. The plugin now has a new .pot localization file.
  • Fix – Shortcode was called incorrectly and generated an error.
  • Tweak – Minify the inline js for increased page speed.
  • Tweak – Do singleton PHP class.
  • Tweak – Do not extract widget args.


  • Maintenance: tested and passed for WP 3.9 compatibility.


  • Maintenance: removed advertising link, updated plugin link.
  • Tweak: fixed typo in readme.


  • Bug fix: custom interpretations for translated languages other than English were not working.
  • New: added .pot file for translations.
  • New: added Spanish language translation.
  • New: added rtl.css to support right-to-left languages.


  • Maintenance: Updated default interpretations.
  • Maintenance: Removed language files temporarily, since they are outdated.


  • New: shortcode lets you show DMF on any page or post.
  • Maintenance: updated readme text. Specified how to left-align the widget.


  • New: set chmod automatically.


  • New: ability to add custom interpretations.
  • New: added translations for languages: Croatian, French, Hindi, Portuguese, Serbian, Spanish


  • Initial release of the WP plugin.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code