BACK TO DIRECTORY

Do We Have Test Kits

by Colin M Tomele

0.0
(0 ratings)

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

Screenshots

This is the Dashboard Widget, and is available to everyone with read access. This is an AJAX switch that immediately changes the content on the live site between the two content boxes on the settings page

This is the Dashboard Widget, and is available to everyone with read access. This is an AJAX switch that immediately changes the content on the live site between the two content boxes on the settings page

The settings page lets you change the status as well as change the content that is presented.

The settings page lets you change the status as well as change the content that is presented.

This shortcode is all you need. It will be replaced on the page with whatever is in the matching content box on the settings page.

This shortcode is all you need. It will be replaced on the page with whatever is in the matching content box on the settings page.

Plugin Details

Active Installs
0
Total Downloads
1,267
Version
2.6
Requires WP
4.7
Requires PHP
7.0
Tested Up To
5.8.15
Added
2022-01-20
Last Updated
2022-01-20 9:14pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0