0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

WordPress GraphQLでページネーションを返却する

Posted at

WordPressでプラグインWP GraphQLをインストールしてGraphQLに対応する。

ページネーションに対応する

valu-digital/wp-graphql-offset-paginationを導入する。

WordPressのpluginsディレクトリにプラグインをgit cloneする。

cd wp-content/plugins
git clone --branch stable https://github.com/valu-digital/wp-graphql-offset-pagination.git

WordPressの管理画面でWPGraphQL Offset Paginationを有効化する。
Usageを参考にGraphiQL IDEでテストする。

返却されれば完了!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?