You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.txt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,9 @@ If you use Maxmind "Automatic download" then you need to upgrade to this plugin
167
167
168
168
== Changelog ==
169
169
170
-
= 4.0.2 =
170
+
171
+
= 4.1.0 =
172
+
* NEW: An `else` shortcode for `geoip_detect2_show_if` and `geoip_detect2_hide_if`: `[geoip_detect2_show_if city="Berlin"]Hallo Berlin![else]Not in Berlin[/geoip_detect2_show_if]`
171
173
* FIX: Revert more Maxmind libraries to fix incompatibility with WooCommerce
172
174
* FIX: The JS for AJAX wasn't working for Safari browsers
173
175
* FIX: Improving some edge cases of Record.get_with_locales() to be consistent with non-AJAX mode
* - You cannot nest several of these shortcodes within one another. Instead, seperate them into several blocks of shortcodes.
67
70
* - City names can be ambigous. For example, [geoip_detect2_show_if country="US,FR" not_city="Paris"] will exclude both Paris in France and Paris in Texas, US. Instead, you can find out the geoname_id or seperate the shortcode to make it more specific.
68
71
* - Conditions can either be combined by AND or OR. It is not possible to write this condition within a shortcode: (city = Berlin AND country = Germany) OR country = France
0 commit comments