This section describes how to install the jonradio Perpetual Calendar plugin and get it working.
- Use Add Plugin within the WordPress Admin panel to download and install this jonradio Perpetual Calendar plugin from the WordPress.org plugin repository (preferred method). Or download and unzip this plugin, then upload the
/jonradio-perpetual-calendar/ directory to your WordPress web site's
- Activate the jonradio Perpetual Calendar plugin through the Installed Plugins Admin panel in WordPress. If you have a WordPress Network ("Multisite"), you can either Network Activate this plugin, or Activate it individually on the sites where you wish to use it. Activating on individual sites within a Network avoids some of the confusion created by WordPress' hiding of Network Activated plugins on the Plugin menu of individual sites. Alternatively, to avoid this confusion, you can install the jonradio Reveal Network Activated Plugins plugin.
- Insert the
[pcal] shortcode in a WordPress Page, Post or anywhere else where WordPress processes Shortcodes (other plugins can determine this); or call the
jr_weekday() function from any php code, passing the function integer values for Year, Month and Day of Month, and displaying the message returned by the function.
- Review the jonradio Perpetual Calendar plugin's Settings page in the WordPress Admin panels, especially the Date Form Input Layout section, since Themes vary so widely in Column Width and Font Size. Settings also allow you to choose whether your site visitors will see current dates labelled as A.D., CE or not labelled at all. And whether ancient dates will be labelled B.C., BCE or not allowed. Even the name of the Shortcode can be changed.