Title: Shortcode for global data only
Last modified: March 29, 2020

---

# Shortcode for global data only

 *  Resolved [ghufransiddiqui2k](https://wordpress.org/support/users/ghufransiddiqui2k/)
 * (@ghufransiddiqui2k)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/)
 * Can you please create two shortcodes separately
    one for only global data and
   another for a specific country?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/#post-12598708)
 * Hi [@ghufransiddiqui2k](https://wordpress.org/support/users/ghufransiddiqui2k/)
   
   This feature will be brought to you within only one short code with different
   parameters.
 * Maybe next week, too busy for coming up days :p
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/#post-12598710)
 * And thanks for using!
 *  Thread Starter [ghufransiddiqui2k](https://wordpress.org/support/users/ghufransiddiqui2k/)
 * (@ghufransiddiqui2k)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/#post-12601724)
 * Thank you so much for the support, I will wait, another issue is that I want 
   to show same shortcode on two places in a page, but whenever I do that, data 
   only show on first place, 2nd place show only headings, I think because of some
   java script conflict, can you please guide me how to tackle this issue?
 *  Plugin Author [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * (@freeduke)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/#post-12601803)
 * [@ghufransiddiqui2k](https://wordpress.org/support/users/ghufransiddiqui2k/)
   
   This is because js look for container with their **ID**s, the ID means you can
   only have one in a html page.
 * So, it is impossible to add two or more same shortcodes in one page.
 * Besides, this need is not really common, and **this will cause limited API request
   resources to be wasted**. The API is build by bunch of people who have full-time
   job spending their own time and money for servers, coding and CDN.
 * This issue can be solved but really suggest you not to.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode for global data only’ is closed to new replies.

 * ![](https://ps.w.org/corona-virus-data/assets/icon-256x256.png?rev=2248214)
 * [Corona Virus Data](https://wordpress.org/plugins/corona-virus-data/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/corona-virus-data/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/corona-virus-data/)
 * [Active Topics](https://wordpress.org/support/plugin/corona-virus-data/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/corona-virus-data/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/corona-virus-data/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Duke Yin](https://wordpress.org/support/users/freeduke/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-global-data-only/#post-12601803)
 * Status: resolved