/wp-graphql-similar-posts

WPGraphQL Similar Posts Extention

Primary LanguagePHP

WPGraphql Similar Posts

When using wp-graphql, you can use this package to bring the similar posts in the post object. Based on the tags here

Installation

cd wp-content/plugins

git clone --branch master https://github.com/m-inan/wp-graphql-similar-posts.git

Usage

query Post {
    post(id: 1, idType: DATABASE_ID) {
        title
        similar(first: 5) {
            nodes {
                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.