Skip to content

Commit

Permalink
Readme++
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed Apr 17, 2020
1 parent ba16a1b commit 4d598ba
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ query PolylangExample {
## Requirements

- PHP 7.2. We're planning to relax this a bit though
- [WPGraphQL][] 0.3.x or later
- [WPGraphQL][] 0.6.x or later
- Polylang 2.6.5 or later
- The free version is enough
- If you get the PRO version the pro features such as translated slugs will work too
Expand Down Expand Up @@ -140,13 +140,19 @@ Meanwhile you might want to checkout migration docs

## ACF Options Pages

The [Options Page][] support is implemented using the [ACF Options For
Polylang][] plugin. You will also need Advanced Custom Fields Pro.
In addition to WPGraphQL and Polylang plugins you'll need these plugins too

You can install the plugin from [WordPress Packagist][] with
- [Advanced Custom Fields Pro](https://www.advancedcustomfields.com/pro/)
- It's Pro only feature
- [ACF Options For Polylang](https://wordpress.org/plugins/acf-options-for-polylang/)
- [WPGraphQL for Advanced Custom Fields](https://www.wpgraphql.com/acf/)
- v0.3.2 or later is required

You can install the free plugins using Composer. You'll need to have the
[WordPress Packagist][] repository enabled.

```
composer require wpackagist-plugin/acf-options-for-polylang
composer require wp-graphql/wp-graphql-acf wpackagist-plugin/acf-options-for-polylang
```

When registering the Options Page you must pass in `show_in_graphql` and
Expand All @@ -160,7 +166,7 @@ acf_add_options_page([
'capability' => 'manage_options',
'redirect' => false,
'show_in_graphql' => true,
'graphql_field_name' => 'siteSettings',
'graphql_field_name' => 'siteSettings'
]);
```

Expand Down

0 comments on commit 4d598ba

Please sign in to comment.