• Resolved aboixet

    (@aboixet)


    Hi,

    When I put this shortcode: [covid-vaccines country=”US”], in frontend appears this: Country ‘US’ is invalid

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author M Media

    (@mmediagroup)

    Hey @aboixet,

    thanks for letting us know! You can use country=”United States” for vaccine data.

    This is indeed not-standard as the other short-codes use “US”, as you’ve noticed. We will look at resolving this issue in due course.

    Regards,
    M Media team

    Thread Starter aboixet

    (@aboixet)

    Hi!

    Thanks!!

    Do you have a table with all countrys and data information?
    And, is it possible to calculate the total % of vaccines for each country??

    Plugin Author M Media

    (@mmediagroup)

    Hey @aboixet,

    much like our other shortcodes, you can pass “All” to the country attribute to get a table. More on our docs: https://blog.mmediagroup.fr/post/coronavirus-covid-19-watch-wordpress-plugin/

    If you have some development experience, you can easily calculate percentages as needed by calling our functions in PHP and doing the calculations in code.

    Regards,
    M Media team

    • This reply was modified 3 years ago by M Media.
    Thread Starter aboixet

    (@aboixet)

    Hi!

    Can you help me with the function to calculate percentages? Only need the % of the people vaccinated country by country. For example:

    “40% people completely vaccinated in US”

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vaccines in US’ is closed to new replies.