WordPress插件 冠状病毒数据

Corona Virus Data - a WordPress plugin

WordPress插件 冠状病毒数据

This plugin uses an api to display the “Corona virus” data in the whole world and country you care through shortcode cov2019 cov2019all and cov2019map on your WordPress post or page.

Getting Started 开始

What’s this for? 用途

This plugin reads the coronavirus api data and show them to your visitors, data including confirmed, dead and recovered numbers of patient(s), world wide and the country or region you focus.

Installing 安装

  1. Upload this plugin(unziped) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the shortcode cov2019 cov2019all or cov2019map in your post or page anywhere you want to display a chart to show the virus data.

How to use 如何使用

Put shortcodes into any of your WordPress page or post to show data in different way.

  • cov2019 Showing basic data of world and a country you select.
  • cov2019all Showing data of all countries in a talbe.
  • cov2019map Showing a map with data of each country.

Versioning 版本号

We use SemVer for versioning. For the versions available.

Authors 作者

Duke Yin – codding

License 许可

This project is licensed under the GPL License v2 – see the LICENSE.txt file for details

Current API 当前API

NovelCOVID/API

Acknowledgments 鸣谢

Thanks NovelCOVID/API providing the data API.

Thanks @xj001 for his contribution to this project.

Term of use 使用条款

This plugin (program) is licensed under the GPL v2. You may copy, distribute and modify the software as long as you track changes/dates of in source files and keep modifications under GPL. You can distribute your application using a GPL library commercially, but you must also provide the source code.

How to get 获取

在Wordpress插件库中可以下载到这个插件:

https://wordpress.org/plugins/corona-virus-data/

或者在Wordpress后台直接搜索 “Corona virus data”也能找到。


4 评论
  • Abhi
    2020年6月20日回复

    I Want Widget For My Blogger Can Yoi


    • Duke
      2020年6月20日回复

      Unfortunately, this feature is not yet available.


  • asmitalu
    2020年6月06日回复

    🙂 你好,插件在PC、手机chrome下都正常,但从微信点击链接进入页面时(应该是QQ浏览器,X5内核),数据要么一直在loading,要么显示为空白,麻烦您看能否考虑下个版本解决下这个问题,多谢,您辛苦了


    • Duke
      2020年6月06日回复

      你好,经测试ios的微信内置浏览器能正常显示病毒数据,您的手机是什么型号呢?


评论