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”也能找到。


10 评论
  • chenxy
    2022年7月16日回复

    你好,插件自带的api好像已经不能使用,请问在哪里可以自己更换?或者在以后的更新中新增自行添加插件的设置


    • Duke Yin
      2022年7月16日回复

      你好,经测试数据api获取正常,我自己也在用。
      因为api位于海外,有一些地区可能会获取困难,请尝试检查网络和DNS。


  • Janyd
    2021年8月23日回复

    如果配合Mapbox地图,维护好数据就非常棒了。目前好像无维护已经快挂了哦 😥


  • 小韩
    2021年2月2日回复

    第一次打开网页 只显示标题,没有数字, 当前页刷新之后就显示了.是不是有延迟问题还是?


    • Duke
      2021年2月2日回复

      检查下你的主题或插件加载的js文件,禁用非必须的插件。


  • 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月6日回复

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


    • Duke
      2020年6月6日回复

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


回复 Abhi 取消回复

🙂 😆 😃 😛 🙁 😕 😳 😮 😲 😎 😡 🙄 😉 💡 😈 😐 😢