We'll create fresh WordPress site with Do We Have Test Kits installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin creates a large button on the Dashboard that lets any logged in users (with read persmission) to change a large button.
Each state of the button reflects if you currently have free COVID testing kits.
For Administrators (manage_options permissions) there is a page where they can modify two content boxes.
On any page, the content from the selected box will display using the [dwhtk] shortcode.
The button uses AJAX and immediately updates the site content.
The shortcode [dwhtktime] can be used on pages, posts, and even in the content boxes of the plugin itself.
** Time formatting **
Use the following option in the shortcode to change the display format of the time.
[dwhtktime format=1]
Updated: 2022-01-19 01:02 pm
[dwhtktime format=2]
Updated: Wednesday, 19th of January 2022, 01:02 PM
[dwhtktime format=3]
Updated: 01-19-2022, 01:02 pm