moveyourdigital / wp-graphql-next-previous-post

WPGraphQL Next Previous Post Extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPGraphql Next-Previous Post

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.

About

WPGraphQL Next Previous Post Extension


Languages

Language:PHP 100.0%