Current Planetary Positions WP Plugin Documentation

Current Planetary Positions WP Plugin

About

Current Planetary Positions is a WordPress plugin that adds an astrology widget which displays the positions of the sun, the moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron, and the North Node in the zodiac signs at the current time. From left to right, the columns display the planet’s name, the degree of zodiac sign, zodiac sign symbol, zodiac sign text, the minute of degree, the second of degree, and retrograde motion (if in retrograde). If there appears an ‘R’ in the last column, then that planet is in apparent retrograde motion. Please note: astrologers refer to all 11 of these celestial bodies and points as “planets” for the sake of convenience.

The widget also displays the current local date and time of the viewer, as given by the viewer’s browser. The zodiac sign symbol icons are color-coded according to their element: red for fire signs, green for earth signs, yellow for air signs, and blue for water signs.

Current Planetary Positions plugin uses the Swiss Ephemeris inside to get an accurate longitude of the planets/celestial bodies.

Requirements and Specs

  • 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. This is because the Ephemeris included in Current Planetary Positions will not run on Windows, by default. Just install and activate the “ZodiacPress Windows Server” plugin, and it will automatically solve this problem.
  • Your web host must allow file permissions be set (chmod 0755). The plugin sets the required permissions automatically, and works fine with most web hosts, but some web hosts may block this. If your web host blocks it, you will have to manually set file permissions on one file in the plugin. See Setting File Permissions For The swetest File for more info about this.
  • Your web host must allow scripts to execute with the PHP exec() function.

Installation

Download Current Planetary Positions free at WordPress.

To install the plugin:

  1. Log in to your WordPress dashboard.
  2. Go to “Plugins -> Add New“.
  3. Click “Upload”
  4. Click “Browse” and locate the plugin .zip file which you downloaded from me.
  5. Click “Install Now”.
  6. Activate the plugin by clicking “Activate”.
  7. The Current Planetary Positions widget will be available in “Appearance -> Widgets“.
  8. To use the widget, drag the widget to a sidebar widget area like you would any other widget.

If your website uses Windows hosting

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 Current Planetary Positions will not run on Windows, by default. Just install and activate the “ZodiacPress Windows Server” plugin, and it will automatically solve this problem.

Screenshots

Current Planetary Positions Plugin screenshot

Current Planetary Positions widget screenshot

Current Planetary Positions WP Plugin

Zoomed-in widget – Current Planetary Positions

Footer sidebar screenshot -Current Planetary Positions Plugin

Footer sidebar screenshot

Sidebar screenshot - Current Planetary Positions Plugin

Sidebar widget screenshot – Current Planetary Positions Plugin

Languages

These languages are included in Current Planetary Positions plugin:

English (default)

Arabic

French

Hindi

Spanish

Current Planetary Positions plugin is translation-ready, and includes a .pot file to make it easy for you to translate it into other languages. This includes support for right-to-left languages, as well.

Troubleshooting

All Positions Are Stuck On Aries

There are 3 possible reasons for all positions 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 Current Planetary Positions 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 Current Planetary Positions version 2.0+, not with earlier versions of Current Planetary Positions.
  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 the following for help.

Setting File Permissions For The swetest File

Current Planetary Positions includes a file that must have permissions set to 0755 (CHMOD 0755) in order to get the plantary positions from the Swiss Ephemeris. The file is named swetest and its path is:

current-planetary-positions/sweph/swetest

The plugin tries to set these permissions automatically.

If you received this error notice:

Your server did not allow Current Planetary Positions to set the necessary file permissions for the Ephemeris. Current Planetary Positions requires this in order to show the correct position of the planets.

…it means that your server did not allow the plugin to set file permissions.

You can try to manually set the permission for this file (current-planetary-positions/sweph/swetest) to 0755.

Most web hosts allow you to set file permissions. Contact your web host, or check their support pages to see how to set the file permissions.

If your web host uses cPanel, you should be able to do this, easily. In cPanel, go the File Manager. In the cPanel File Mananger, navigate to the Current Planetary Positions’s ‘sweph’ directory, which should be in your WordPress plugin directory:

public_html/wp-content/plugins/current-planetary-positions/sweph/

In the ‘sweph’ directory, you’ll find the swetest file. Look at the last column on the right to make sure that this file has permissions set to ‘0755’ like this:

cPanel file manager permissions

If it does not have permissions set to ‘0755’, you can change the permissions by selecting that file and clicking “Permissions” near the top right of the screen. To set the file permissions to 0755, make sure it matches this:

Setting File Permissions to 0755 in cPanel

If you confirm that the file (current-planetary-positions/sweph/swetest) has the proper permissions set to 0755, and yet the Current Planetary Positions is still not working, then check the other Troubleshooting documentation articles for other possible causes.

Support

For support, please use this plugin’s support forum.

You can also fork or browse the code on GitHub.

Updated on February 17, 2017

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]