Skip to content

Commit 7c96c08

Browse files
author
Benjamin Pick
committed
docs update links [ci skip]
1 parent 2a55956 commit 7c96c08

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

docs/API:-AJAX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The function `geoip_detect2_get_info_from_current_ip()` can be called via JS and
1818

1919
## JSON Response object
2020

21-
The result from the datasource. See [[Record Properties]] for all available properties. No property name is guaranteed to exist:
21+
The result from the datasource. See [Record Properties](./Record Properties.md) for all available properties. No property name is guaranteed to exist:
2222

2323
```js
2424
var city = record.city && record.city.names && record.city.names.en;

docs/API:-PHP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ These are the PHP functions that you can use in your theme or plugin:
2424
function geoip_detect2_get_info_from_ip($ip, $locales = null, $options = array()) { ... }
2525
```
2626

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]] 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).
2828

2929
```php
3030
/**
@@ -109,7 +109,7 @@ function geoip_detect2_get_client_ip() { ... }
109109
```
110110

111111
## Shortcodes
112-
(See [[API: Shortcodes]])
112+
(See [API: Shortcodes](./API: Shortcodes.md))
113113

114114
## JS API
115-
(See [[API: AJAX]])
115+
(See [API: AJAX](./API: AJAX.md))

docs/FAQ.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Something doesn't work. What can I do?
22

3-
See [[Troubleshooting]].
3+
See [Troubleshooting](./Troubleshooting.md).
44

55
## Technically speaking, how could I verify if my visitor comes from Germany?
66

@@ -12,7 +12,7 @@ if ($userInfo->country->isoCode == 'de')
1212
echo 'Hallo! Schön dass Sie hier sind!';
1313
```
1414

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.
1616

1717
## How can I show text only if the visitor is coming from Germany?
1818

@@ -30,15 +30,15 @@ Shipping to Germany is especially cheap!
3030
```
3131

3232
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.
3434

3535
## How can I add the current country name as text in my page?
3636

3737
Add this plugin shortcode somewhere in the page or post content:
3838

3939
Wie ist das Wetter in [geoip_detect2 property="country.name" lang="de" default="ihrem Land"] ?
4040

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).
4242

4343
## Which data source should I choose?
4444

@@ -139,4 +139,4 @@ Alternatively, you can use tools dedicated for Geo-IP testing such as [GeoScreen
139139

140140
## How can I install a beta version of this plugin?
141141

142-
See [[Beta Testing]].
142+
See [Beta Testing](./Beta Testing.md).

docs/index.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
This is the home of the documentation of the Wordpress Plugin [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/).
22

33
Documentation (How to use it):
4-
* [[API: PHP]] - for themes or plugins
5-
* [[API: Shortcodes]] - if you don't know how to code PHP
6-
* [[API: Shortcodes for Contact Form 7]] - Integration into CF7 forms
7-
* [[API: AJAX]] - if you are using a page cache, this is a great option. You need to code in JS, though.
4+
* [API: PHP](./API:-PHP.md) - for themes or plugins
5+
* [API: Shortcodes](./API:-Shortcodes.md) - if you don't know how to code PHP
6+
* [API: Shortcodes for Contact Form 7](./API:-Shortcodes-for-Contact-Form-7.md) - Integration into CF7 forms
7+
* [API: AJAX](./API:-AJAX.md) - if you are using a page cache, this is a great option. You need to code in JS, though.
88

99
Other documentation:
10-
* [Something is not working - Troubleshooting](https://github.com/yellowtree/geoip-detect/wiki/Troubleshooting)
11-
* [How to install a beta version - Beta-Testing](https://github.com/yellowtree/geoip-detect/wiki/Beta-Testing)
12-
* [All supported geo properties - Record Properties](https://github.com/yellowtree/geoip-detect/wiki/Record-Properties)
13-
* [Information for modifying the code of this plugin - Developers](https://github.com/yellowtree/geoip-detect/wiki/Developers)
14-
10+
* [Something is not working - Troubleshooting](./Troubleshooting.md)
11+
* [How to install a beta version - Beta-Testing](./Beta-Testing.md)
12+
* [All supported geo properties - Record Properties](./Record-Properties.md)
13+
* [Information for modifying the code of this plugin - Developers](./Developers.md)

0 commit comments

Comments
 (0)