• Resolved Marius

    (@mmichtus)


    hi, first i want to say you have made a great job with contact form 7 shortcodes.
    what i need to ask you if is a way to use, but not for contact form 7.

    i need just like in contact form 7 to detect the country and the option to chose the country from the list but also i need more, to display a content for every country.
    if detected country is US content “a” if i switch to “Canada” content “b” and so on…
    do you have a glue for that?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Actually you can use the shortcode for cf7 also in the normal post.

    The other part you need to implement yourself using JS/jQuery. The problem is also, you probably don’t want to write content for all 170 countries, so there needs to be some sort of “any other country” content.

    Thread Starter Marius

    (@mmichtus)

    the shortcode: [geoip_detect2_countries mycountry]
    not working in post/page.
    only in contact form 7.

    Indeed, you’re right … The shortcode that works is called [geoip_detect2_countries_select name="mycountry"]. I will add [geoip_detect2_countries] for the next version.

    • This reply was modified 9 years, 3 months ago by Benjamin Pick.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘dropdown same as with contact form’ is closed to new replies.