{"id":5958,"date":"2009-06-25T12:48:22","date_gmt":"2009-06-25T12:48:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nacc-wordpress-plugin\/"},"modified":"2025-12-01T05:30:06","modified_gmt":"2025-12-01T05:30:06","slug":"nacc-wordpress-plugin","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/nacc-wordpress-plugin\/","author":3155916,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"5.1.1","stable_tag":"5.1.1","tested":"6.9.4","requires":"5.3","requires_php":"8.0","requires_plugins":null,"header_name":"NACC WordPress Plugin","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2025-12-01 05:30:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/nacc-wordpress-plugin\/","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5632,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"3.1.1":{"tag":"3.1.1","author":"magblogapi","date":"2019-11-04 17:56:40"},"3.1.2":{"tag":"3.1.2","author":"magblogapi","date":"2019-11-04 23:04:34"},"3.1.3":{"tag":"3.1.3","author":"magblogapi","date":"2019-11-05 11:38:58"},"3.1.4":{"tag":"3.1.4","author":"pjaudiomv","date":"2020-04-02 01:37:29"},"3.1.5":{"tag":"3.1.5","author":"bmltenabled","date":"2022-01-02 22:57:55"},"3.1.6":{"tag":"3.1.6","author":"bmltenabled","date":"2022-10-07 03:54:25"},"3.1.7":{"tag":"3.1.7","author":"bmltenabled","date":"2023-05-17 04:11:46"},"4.0.0":{"tag":"4.0.0","author":"bmltenabled","date":"2023-10-21 02:50:51"},"4.0.1":{"tag":"4.0.1","author":"bmltenabled","date":"2023-10-22 14:50:25"},"4.0.2":{"tag":"4.0.2","author":"bmltenabled","date":"2023-10-22 15:54:49"},"4.0.3":{"tag":"4.0.3","author":"bmltenabled","date":"2023-11-04 18:00:22"},"4.0.4":{"tag":"4.0.4","author":"bmltenabled","date":"2023-11-17 15:32:41"},"4.0.5":{"tag":"4.0.5","author":"bmltenabled","date":"2024-04-28 13:47:31"},"4.1.0":{"tag":"4.1.0","author":"bmltenabled","date":"2024-06-05 14:22:07"},"4.2.0":{"tag":"4.2.0","author":"bmltenabled","date":"2024-12-17 20:33:19"},"4.2.1":{"tag":"4.2.1","author":"bmltenabled","date":"2025-04-29 00:14:51"},"5.0.0":{"tag":"5.0.0","author":"bmltenabled","date":"2025-04-29 17:38:59"},"5.1.0":{"tag":"5.1.0","author":"bmltenabled","date":"2025-11-26 14:58:19"},"5.1.1":{"tag":"5.1.1","author":"bmltenabled","date":"2025-12-01 05:30:06"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3211852,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.1.0","4.2.0","4.2.1","5.0.0","5.1.0","5.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[13384,45119,347,45120,13383],"plugin_category":[],"plugin_contributors":[174945,86780,154957],"plugin_business_model":[],"class_list":["post-5958","plugin","type-plugin","status-publish","hentry","plugin_tags-addiction","plugin_tags-cleantime-calculator","plugin_tags-na","plugin_tags-nacc","plugin_tags-recovery","plugin_contributors-bmltenabled","plugin_contributors-magblogapi","plugin_contributors-pjaudiomv","plugin_committers-magblogapi","plugin_committers-pjaudiomv"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/nacc-wordpress-plugin\/assets\/icon-256x256.png?rev=3211852","icon_2x":"https:\/\/ps.w.org\/nacc-wordpress-plugin\/assets\/icon-256x256.png?rev=3211852","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a WordPress plugin implementation of the N.A. Cleantime Calculator.\nTo use this, specify [nacc] in your text code.\nThat text will be replaced with this cleantime calculator.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>the nacc<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add [nacc] shortcode to your WordPress page\/post.<\/li>\n<li>You can change the plugin settings either in the the wordpress dashboard under Settings-&gt;NACC or using shortcode attributes as explained below.<\/li>\n<li>You can change how the plugin appears like so: <code>[nacc theme=\"NACC-BT\"]<\/code>, where <code>theme<\/code> is currently <code>NACC-BT<\/code> (Dark blue and white), <code>NACC-GNYR2<\/code> (Light blue style customized for the Greater New York Region), or \"NACC-HOLI\" (Black and Red, customized for the Heart of Long Island ASC). Leave it out for default (gray).<\/li>\n<li>You can change the language like so: <code>[nacc language=\"es\"]<\/code>, where <code>language<\/code> is currently <code>en<\/code> (English -Default), <code>pt<\/code> (Portuguese), <code>es<\/code> (Spanish), <code>zh-Hans<\/code> (Simplified Chinese), <code>zh-Hant<\/code> (Traditional Chinese), or <code>it<\/code> (Italian).<\/li>\n<li>You can specify which layout (vertical or horizontal) you want the tags to appear in by default, like so: <code>[nacc layout=\"tabular\"]<\/code>, where <code>layout<\/code> is <code>linear<\/code> (default, in a long line), or <code>tabular<\/code> (In a horizontal row).<\/li>\n<li>You can specify whether the \"special\" tags are shown, like so: <code>[nacc special=\"1\"]<\/code>, where <code>special<\/code> is <code>1<\/code> for true or <code>0<\/code> for false.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>5.1.1<\/h4>\n\n<ul>\n<li>Added layout and special settings to localStorage.<\/li>\n<\/ul>\n\n<h4>5.1.0<\/h4>\n\n<ul>\n<li>Added localStorage support to automatically save and restore the user's clean date.<\/li>\n<\/ul>\n\n<h4>5.0.0<\/h4>\n\n<ul>\n<li>BREAKING CHANGE: Renamed the <code>lang<\/code> shortcode parameter to <code>language<\/code>. If you are currently using the <code>lang<\/code> parameter in your shortcodes, you will need to update them to use <code>language<\/code> instead.<\/li>\n<\/ul>\n\n<h4>4.2.1<\/h4>\n\n<ul>\n<li>Added Portuguese (Brazil), use language code pt.<\/li>\n<\/ul>\n\n<h4>4.2.0<\/h4>\n\n<ul>\n<li>WP Cleanups for sanitization and escaping.<\/li>\n<\/ul>\n\n<h4>4.1.0<\/h4>\n\n<ul>\n<li>Cleaned up code for WP best practices.<\/li>\n<\/ul>\n\n<h4>4.0.5<\/h4>\n\n<ul>\n<li>Added SEZF theme.<\/li>\n<\/ul>\n\n<h4>4.0.4<\/h4>\n\n<ul>\n<li>More fixes for Italiano translation.<\/li>\n<\/ul>\n\n<h4>4.0.3<\/h4>\n\n<ul>\n<li>Small fix for Italiano translations.<\/li>\n<\/ul>\n\n<h4>4.0.2<\/h4>\n\n<ul>\n<li>Add Italiano to setting language dropdown.<\/li>\n<\/ul>\n\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>Fix for initializing NACC on pages which don't contain shortcode.<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Note if you are using double square brackets [[nacc]], you will want to move to just one [nacc].<\/li>\n<li>Now supports standard WordPress shortcodes and attributes [nacc].<\/li>\n<li>Added Settings Menu to WordPress dashboard.<\/li>\n<li>Refactored codebase.<\/li>\n<\/ul>\n\n<h4>3.1.7<\/h4>\n\n<ul>\n<li>Fix Additional PHP warning.<\/li>\n<\/ul>\n\n<h4>3.1.6<\/h4>\n\n<ul>\n<li>Fix PHP warning.<\/li>\n<\/ul>\n\n<h4>3.1.5<\/h4>\n\n<ul>\n<li>January 2, 2021<\/li>\n<li>Version bump.<\/li>\n<\/ul>\n\n<h4>3.1.4<\/h4>\n\n<ul>\n<li>January 20, 2020<\/li>\n<li>Added CSS to center align the legend by default.<\/li>\n<\/ul>\n\n<h4>3.1.3<\/h4>\n\n<ul>\n<li>November 5, 2019<\/li>\n<li>Fixed a bug in shortcode setup.<\/li>\n<\/ul>\n\n<h4>3.1.2<\/h4>\n\n<ul>\n<li>November 4, 2019<\/li>\n<li>Fixed a bug in the image directory URI.<\/li>\n<\/ul>\n\n<h4>3.1.1<\/h4>\n\n<ul>\n<li>November 4, 2019<\/li>\n<li>There was a bug in the Italian translation that was fixed.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>November 4, 2019<\/li>\n<li>Added Italian Localization.<\/li>\n<li>Improved documentation to cover additional parameters.<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>April 6, 2019<\/li>\n<li>Added a couple of themes.<\/li>\n<li>Fixed a warning about an unquoted string.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>???<\/li>\n<li>Complete rewrite to support all JavaScript.<\/li>\n<\/ul>\n\n<h4>2.0.10<\/h4>\n\n<ul>\n<li>July 29, 2010<\/li>\n<li>Fixed a bug that seems to be caused by a JavaScript issue for leap years.<\/li>\n<li>Added the ability to specify the plugin as standard WP shortcode ([[NACC]]).<\/li>\n<\/ul>\n\n<h4>2.0.9<\/h4>\n\n<ul>\n<li>June 24, 2009<\/li>\n<li>Fixed some issues in the WordPress plugin that interfered with \"pretty permalinks.\"<\/li>\n<li>Reconfigured project as a WordPress Plugin Repository project.<\/li>\n<\/ul>\n\n<h4>2.0.8<\/h4>\n\n<ul>\n<li>April 5, 2009<\/li>\n<li>Fixed another calculation error in the Persian Calendar.<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>March 19, 2009<\/li>\n<li>Fixed a calculation error in the Persian Calendar.<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>February 6, 2009<\/li>\n<li>An error would sometimes occur when the current day is in a month, and the given<\/li>\n<li>day was in a day that would exceed the end day of the month (most easily seen in<\/li>\n<li>February).<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>October 22, 2008<\/li>\n<li>Two of the Persian strings were transposed. This has been fixed.<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>October 20, 2008<\/li>\n<li>Thanks to NA Iran, the Persian calendar is now almost completely localized.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>July 3, 2008<\/li>\n<li>Found another bug with \"edge dates.\" It should be fixed.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>June 16, 2008<\/li>\n<li>The Persian calendar returned the wrong days of the month. This has been fixed.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>June 15, 2008<\/li>\n<li>Fixed some calculation bugs.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>June 14, 2008<\/li>\n<li>Added support for a Persian (Solar) calendar, thanks to NA Iran.<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>June 4, 2008\n*T he old bug briefly reappeared. It has been re-quashed.<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>June 4, 2008<\/li>\n<li>There were reports of issues with 1.7.3. This attempts to address them.<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>June 3, 2008<\/li>\n<li>Fixed a bug in the main calculator that manifested itself on \"edge dates.\"<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>May 21, 2008<\/li>\n<li>Fixed a bug in the decades calculator.<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>May 19, 2008<\/li>\n<li>Fixed a bug in the decades calculator.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>May 18, 2008<\/li>\n<li>Added the Decades tag and also removed the fancy \"stripping\" we did for JS.<\/li>\n<\/ul>\n\n<h4>1.6.10<\/h4>\n\n<ul>\n<li>January 6, 2008<\/li>\n<li>Minor JS tweak to improve validation -no big deal.<\/li>\n<\/ul>\n\n<h4>1.6.9<\/h4>\n\n<ul>\n<li>October 7, 2007<\/li>\n<li>Fixed another date calculation error.<\/li>\n<\/ul>\n\n<h4>1.6.8<\/h4>\n\n<ul>\n<li>October 6, 2007<\/li>\n<li>Fixed another date calculation error.<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<ul>\n<li>September 1, 2007<\/li>\n<li>There were still issues in the date calculations. These should be fixed.<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>September 1, 2007<\/li>\n<li>There were still issues in the date calculations at edges. These should be fixed.<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>August 31, 2007<\/li>\n<li>Fixed a second \"Last Month of the Year\" bug.<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>August 31, 2007<\/li>\n<li>Fixed a minor \"last day of the month\" bug.<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>August 11, 2007<\/li>\n<li>Added a new theme line to the WordPress Plugin code.<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>August 9, 2007<\/li>\n<li>Fixed minor WAI AA validation issue: nested headings in the  element were incorrect.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>July 30, 2007<\/li>\n<li>Fixed minor issue with iCab 3 browser -NACC_browser () needs to have its return checked for false.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>July 20, 2007<\/li>\n<li>Added base param to parseInt() calls<\/li>\n<li>Changed how private methods\/functions are defined<\/li>\n<li>Reworked anonymous functions for form onsubmit(), reset link onclick(), and change layout link oncick()<\/li>\n<li>For FillYearSelect(), FillMonthSelect() and FillDaySelect() functions changed \"onchange = '';\" to \"onchange = null;\"<\/li>\n<\/ul>\n\n<h4>1.5.11<\/h4>\n\n<ul>\n<li>July 19, 2007<\/li>\n<li>Added the new \"FIPT Correct\" tag artwork.<\/li>\n<\/ul>\n\n<h4>1.5.10<\/h4>\n\n<ul>\n<li>July 15, 2007<\/li>\n<li>Created the documentation, and upped the version number in \"nacc.php.\"<\/li>\n<\/ul>\n\n<h4>1.5.9<\/h4>\n\n<ul>\n<li>July 12, 2007<\/li>\n<li>CSS Tweak for table top layout<\/li>\n<li>RenderMessage() and RenderKeyTags() now check to see if their relevant  exist before creating them<\/li>\n<\/ul>\n\n<h4>1.5.8<\/h4>\n\n<ul>\n<li>July 11, 2007<\/li>\n<li>Improved Peekabo Bug Fix<\/li>\n<\/ul>\n\n<h4>1.5.7<\/h4>\n\n<ul>\n<li>July 11, 2007<\/li>\n<li>Fixed Peekaboo bug that has cropped up in IE7<\/li>\n<\/ul>\n\n<h4>1.5.6<\/h4>\n\n<ul>\n<li>July 11, 2007<\/li>\n<li>Reversion back to browser sniffing for IE &lt;=6<\/li>\n<li>Added browser sniffing function<\/li>\n<li>Added param to NACC_CleanTime() to hide key tag display<\/li>\n<li>Converted  tags to  tags for IE5\/6<\/li>\n<li>Attempt to mitigate IE6 background image not caching issue<\/li>\n<li>Modified CSS file to support above<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<ul>\n<li>July 10, 2007<\/li>\n<li>Slight change to nacc_keytag_img_tabletop style to improve tabletop appearance.<\/li>\n<li>Temporary change to the code to make up for issue with IE browser detection.<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>July 7, 2007<\/li>\n<li>Initial documentation.<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>July 7, 2007<\/li>\n<li>Fixed CSS display bug.<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>July 6, 2007<\/li>\n<li>Minor optimization tweaks to base CSS.<\/li>\n<li>Darkened the \"shadowed\" insets for the \"inset\" rects.<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>July 6, 2007<\/li>\n<li>Changed with of wrapper div to 532px<\/li>\n<li>Fixed bugs in FillYearSelect(), FillMonthSelect() and FillDaySelect()<\/li>\n<li>Reduced amount of CSS created via DOM to minimal and added it to CSS file<\/li>\n<li>Removed floating on key tag images<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>July 6, 2007<\/li>\n<li>Created changelog file<\/li>\n<li>Redesigned UI<\/li>\n<li>Changed name of CSS file<\/li>\n<li>Modified CSS for new UI<\/li>\n<li>Added rudimentary CSS theme support<\/li>\n<li>Modified documentation to reflect most changes<\/li>\n<li>Added more documentation<\/li>\n<li>Pulled DOM and display code from CalcCleantime() and other functions where it wasn't necessary<\/li>\n<li>Major reworking of various things to encapsulate stuff<\/li>\n<li>Modified localization section<\/li>\n<li>Increased support for multiple languages (except BuildCleantimeMessage() function)<\/li>\n<\/ul>","raw_excerpt":"This is a WordPress plugin implementation of the N.A. Cleantime Calculator.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5958"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/magblogapi"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5958"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5958"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5958"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5958"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5958"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}