WP Manifestindependent plugin directory
manifest / integrations / wp-graphql-similar-posts

WPGraphQL Similar Posts

WPGraphQL Similar Posts Extention

★ 0stars

Install

Download source zip No release zip yet

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-similar-posts/archive/refs/heads/master.zip
No 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 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.