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
```YellowTree\GeoipDetect\DataSources\City``` is a subclass of ```GeoIp2\Model\City``` and yes, for simplicity this object type is always used even if one of the country data sources is used. See [[Record Properties]] for all possible property names (all from Maxmind plus a few from this plugin).
27
+
```YellowTree\GeoipDetect\DataSources\City``` is a subclass of ```GeoIp2\Model\City``` and yes, for simplicity this object type is always used even if one of the country data sources is used. See [Record Properties](./Record Properties.md) for all possible property names (all from Maxmind plus a few from this plugin).
28
28
29
29
```php
30
30
/**
@@ -109,7 +109,7 @@ function geoip_detect2_get_client_ip() { ... }
Copy file name to clipboardExpand all lines: docs/FAQ.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Something doesn't work. What can I do?
2
2
3
-
See [[Troubleshooting]].
3
+
See [Troubleshooting](./Troubleshooting.md).
4
4
5
5
## Technically speaking, how could I verify if my visitor comes from Germany?
6
6
@@ -12,7 +12,7 @@ if ($userInfo->country->isoCode == 'de')
12
12
echo 'Hallo! Schön dass Sie hier sind!';
13
13
```
14
14
15
-
To see which property names are supported, refer to the list of [[Record Properties]] or to the plugin's Lookup page.
15
+
To see which property names are supported, refer to the list of [Record Properties](./Record Properties.md) or to the plugin's Lookup page.
16
16
17
17
## How can I show text only if the visitor is coming from Germany?
18
18
@@ -30,15 +30,15 @@ Shipping to Germany is especially cheap!
30
30
```
31
31
32
32
You need to enable the option `Add a country-specific CSS class to the <body>-Tag` to make this work.
33
-
See [[API Usage Examples#css-use]] for a more elaborate example.
33
+
See [API Usage Examples#css-use](./API Usage Examples#css-use.md) for a more elaborate example.
34
34
35
35
## How can I add the current country name as text in my page?
36
36
37
37
Add this plugin shortcode somewhere in the page or post content:
38
38
39
39
Wie ist das Wetter in [geoip_detect2 property="country.name" lang="de" default="ihrem Land"] ?
40
40
41
-
For more information, check the [[API: Shortcodes]] documentation and [[API Usage Examples]].
41
+
For more information, check the [API: Shortcodes]] documentation and [[API Usage Examples](./API: Shortcodes]] documentation and [[API Usage Examples.md).
42
42
43
43
## Which data source should I choose?
44
44
@@ -139,4 +139,4 @@ Alternatively, you can use tools dedicated for Geo-IP testing such as [GeoScreen
139
139
140
140
## How can I install a beta version of this plugin?
0 commit comments