Title: Coronavirus
Author: Southcorner Web Development
Published: <strong>26. mars, 2020</strong>
Last modified: 27. januar, 2022

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://ps.w.org/coronavirus/assets/icon.svg?rev=2267990)

# Coronavirus

 Av [Southcorner Web Development](https://profiles.wordpress.org/vohotv/)

[Last ned](https://downloads.wordpress.org/plugin/coronavirus.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/coronavirus/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/coronavirus/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/coronavirus/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/coronavirus/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/coronavirus/)

## Beskrivelse

This wordpress plugin lets you display a widget like component with data about the
corona virus.
 Some options you can choose are as following:

 * Total cases
 * Today’s cases
 * Total deaths
 * Today’s deaths
 * Recovered
 * Active cases
 * Critical
 * Cases per one million

You choose what data you want to display in the settings page. On top of that you
also have the option to fully customize the widgets.
 To display the widget you 
need to use the [coronavirus] shortcode, this will display the global data. There
is also an optional country attribute which you can use to display data about a 
specific country. Append the country attribute like this [coronavirus country=»name_of_the_country»].
Usually the full name of the country with spaces where needed is required. A very
select set of countries has been abbreviated to:

 * United States Of America = USA
 * United Kingdom = UK
 * South Korea = S. Korea

The coronavirus pugin relies on the API by NovelCOVID for all it’s data.
 The API
its Github page: https://github.com/novelcovid/api The API its privacy policy: https://
github.com/NovelCOVID/API/blob/master/privacy.md

## Installasjon

 1. Upload `coronavirus.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the [coronavirus] shortcode in your posts/pages or place `<?php do_shortcode('
    coronavirus'); ?>` in your templates.

## Ofte stilte spørsmål

### Where does the coronavirus plugin get it data from?

The coronavirus plugin gets its data from https://github.com/novelcovid/api

### Can I choose to see the data of a specific country?

Yes, you can display the data of a specific country by adding the country attribute
to the shortcode like this [coronavirus country=»name_of_the_country»].
 Look at
the description for more information.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«Coronavirus» er programvare med åpen kildekode. Følgende personer har bidratt til
denne utvidelsen:

Bidragsytere

 *   [ Southcorner Web Development ](https://profiles.wordpress.org/vohotv/)

«Coronavirus» har blitt oversatt til 2 språk. Takk til [oversetterne](https://translate.wordpress.org/projects/wp-plugins/coronavirus/contributors)
for deres bidrag.

[Oversett «Coronavirus» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/coronavirus)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/coronavirus/), sjekk
ut [SVN-repositoriet](https://plugins.svn.wordpress.org/coronavirus/), eller abonner
på [utviklingsloggen](https://plugins.trac.wordpress.org/log/coronavirus/) med [RSS](https://plugins.trac.wordpress.org/log/coronavirus/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 2.0.0

 * Upgraded to the v3 API endpoint.
 * Front-end now shows error when country is not found.
 * Added a check around the corona_data_options which fixes the errors being displayed
   besides the checkboxes on the admin page when activating the plugin for the first
   time.
 * If you decide to uninstall the coronavirus plugin 🙁 It now deletes all options
   you chose on the admin page.

#### 1.3.5

 * Changed to different API endpoint to fix the issue of empty widgets.

#### 1.3.4

 * Updated the API to the v2 endpoint. All data should now be displayed again.

#### 1.3.3

 * Fixed a bug which incorrectly rendered the admin page for the coronavirus plugin.

#### 1.3.2

 * CSS now only gets added to the plugin admin page to avoid conflicts.

#### 1.3.1

 * Coronavirus is now compatible with WordPress version 5.4

#### 1.3.0

 * Errors when saving options has been fixed.
 * Selected options now get deleted from the database when the plugin is deactivated.
 * Added option to display total tests and tests per one million.
 * Fixed bug which could lead to the wrong country data being displayed.

## Meta

 *  Versjon **2.0.0**
 *  Sist oppdatert **4 år siden**
 *  Aktive installasjoner **10+**
 *  Testet opp til **5.9.13**
 *  Språk
 * [Dutch](https://nl.wordpress.org/plugins/coronavirus/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/coronavirus/)
   og [English (US)](https://wordpress.org/plugins/coronavirus/).
 *  [Oversett til ditt språk](https://translate.wordpress.org/projects/wp-plugins/coronavirus)
 * Stikkord
 * [coronavirus](https://nb.wordpress.org/plugins/tags/coronavirus/)[virus](https://nb.wordpress.org/plugins/tags/virus/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/coronavirus/advanced/)

## Vurderinger

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/coronavirus/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/coronavirus/reviews/)

## Bidragsytere

 *   [ Southcorner Web Development ](https://profiles.wordpress.org/vohotv/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/coronavirus/)