Shortcode allows you to insert Form for your Web Site Visitors so that they can enter Date and display the Name of the Day of the Week for that Date.
Both the Name of the Shortcode, which defaults to, and Format of the Date can be modified from Admin Settings panel for this plugin.
Both Admin and User views are presently in either English or Spanish, with .POT translation file in the directory within the Plugin, for any translators wishing to translate it into other languages.
Once the plugin is installed and activated, adding the Shortcode to any WordPress Post or Page will insert HTML that prompts the user to select Month, Day, and Year from drop-down lists.
Plugin Settings are provided within WordPress Admin panels to display era dates as A.D., CE or solely by the Year ancient dates are displayed as B.C or BCE, or are not allowed when era dates are displayed as numbers.
PHP Function, jr weekday, given Day, Month and Year as input parameters, will return the Date and Day of the Week as message that you can insert anywhere in the PHP code of your site.
Format of the Date in the message can be modified from Admin Settings panel for this plugin.
Like the Shortcode and Admin panels, the language of the message returned by the PHP function is controlled by 'WPLANG constant defined in wp-config php.
If Network is turned on WordPress, Network Activation of the plugin allows both the plugin and shortcode to be called from all WordPress sites within Network.
Illegal dates, such as February 31 of any year, and Year Zero, are detected and message is returned in place of the message indicating the weekday..
Read more