ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Do We Have Test Kits

وضاحت

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

تصوير

  • 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.
  • 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.

FAQ

Why did you make this?

Our library gives out free testing kits, but it’s hard to keep the site updated if we run out during times a content editor isn’t available. This plugin gives editors a way to prepare content that is controlled by a simple switch that most users can access.

How do I display the content?

Use the shortcode [dwhtk], and this will be replaced by whichever content box is currently selected.

How do I display the time the content was last updated?

The [dwhtktime] shortcode shows the current time. There are three formats and it can be used inside the content boxes on the settings page.

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Do We Have Test Kits” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Do We Have Test Kits” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

2.5

  • Changed screenshots to lowercase extensions

2.4

  • Added screenshots.
  • Fixed the settings page button by adding in the nonce (which was on the widget switch).

2.2

  • Fixed text domain

2.1

  • Fixed version mismatch. Added nonce to slider and some error checking so an error will reset the user’s button to the correct status.

2.0

  • Added shortcode for showing what time the switch was flipped. Includes 3 formats.

1.0

  • First version