Support » Plugin: Corona Virus Data » Add country?

  • Resolved Jack All

    (@jack-all)


    Thanks for the wonderful plugin!

    I’d like to ad a country (e.g. Belgium) to the list.
    Is that possible by modifying the code?

    Kind regards,
    Jack.

    PS. If one gets an error “The API server may be down, check your firewall settings.

    • This topic was modified 2 months, 2 weeks ago by Jack All.
    • This topic was modified 2 months, 2 weeks ago by Jack All.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Duke Yin

    (@freeduke)

    Yes you can add codes to this plugin, temporarily. Belgium, request had been heard, I will add more countries in next release, including Belgium.

    As the error message, it is there on /public/js/corona-virus-data-public.js line13 and line24. When the api goes down or networking problem, it will show ‘The API server may be down, please try again.’ to users, thanks for helping.

    Plugin Author Duke Yin

    (@freeduke)

    @jack-all Belgium and other 21 countries added. Please update to version 1.1.2.

    @freeduke You can add Russia, Kazakhstan, and more countries. Is it possible to display not only 1 country but more countries. It is advisable to display in which country in which city how much sick and recovered

    • This reply was modified 2 months, 1 week ago by elik5424.
    Plugin Author Duke Yin

    (@freeduke)

    @elik5424 The new countries are added according to the severity of the virus epidemic. More countries will be added in the later version. There is no plan to add cities at this time. One of the reasons is that the affordability of the API and the number of users are not yet clear. The second reason is the data could show in any where in web page so I was trying to keep this plug-in as simple as possible.

    Thank for the advise though.

    Can you please add Indonesia on this plugin?

    Plugin Author Duke Yin

    (@freeduke)

    @kangdirman Indonesia will be in next release, thanks for using this plugin. May you be healthy and safe.

    Thank you, May you and your family be healthy and safe too.

    Plugin Author Duke Yin

    (@freeduke)

    @kangdirman @elik5424 @jack-all
    Hi everyone, all countries are added, you can select by click on map or on selector now with new version.

    Some of the countries or regions may return null by the api, this is because api didn’t have their data or countries didn’t publish their data.

    Thank you for adding Indonesia, we apreciate it.

    Plugin Author Duke Yin

    (@freeduke)

    @kangdirman you are welcome : )

    shekahwat

    (@shekahwat)

    how to add country of india .

    Plugin Author Duke Yin

    (@freeduke)

    @shekahwat
    Go to wp-admin, go to Settings -> corona virus data
    Click India on map (or select India on options selector)

    Click save settings. Done.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.