manifest / integrations / wp-graphql-next-previous-post
WPGraphQL Next Previous Post
WPGraphql Post type for next and previous field
★ 13stars
469composer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/m-inan/wp-graphql-next-previous-post/archive/refs/heads/master.zipOn Packagist as m-inan/wp-graphql-next-previous-post:
composer require m-inan/wp-graphql-next-previous-postNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
When using wp-graphql, you can use this package to bring the next and previous articles in the post.
Installation
cd wp-content/plugins
git clone --branch master https://github.com/m-inan/wp-graphql-next-previous-post.git
Usage
query Post {
post(id: 1, idType: DATABASE_ID) {
title
next {
title
}
previous {
title
}
}
}
Dependencies
No Dependencies.
Reporting Issues
If believe you've found an issue, please report it along with any relevant details to reproduce it.
Asking for help
Please do not use the issue tracker for personal support requests. Instead, use StackOverflow.
Contributions
Yes please! Feature requests / pull requests are welcome.