Custom
818 points
Like some sort of WPMU DEV God"
Mindblowingly helpful member
nickd32
Member — 12th April 2011 (1 year ago)
I've got a case where I need to show a different popover to users based on their country.
-- If user is in the US >> Show the US popover
-- If user is in the UK >> Show the UK popover, etc...
I've got a Geolocation plugin that returns a javascript variable on page load with the visitor's country code, like this:
mmjsCountryCode = "US"
I'd like to use a simple if/then statement based on this variable to show the right popover to each user for the countries I've set up.
Is this possible using the current rules?

Responses (1)
WPMU DEV Fanatic — 12th April 2011 (1 year ago) #
Hi nickd32,
There's not an option for multiple popovers. But you may be able to dynamically create the content within the popover using javascript if you'd like to give that a try.
Become a member