WP Manifestindependent plugin directory
manifest / content / related-posts

Helick Related Posts

The Helick related posts plugin

by Evgenii Nasyrov · github.com/helick/related-posts

1stars
139composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/helick/related-posts/archive/refs/heads/master.zip

Also on Packagist as helick/related-posts:

composer require helick/related-posts

From the readme

Helick Related Posts [![Latest Version on Packagist][ico-version]][link-packagist] [![Total Downloads][ico-downloads]][link-downloads] [![Software License][ico-license]](LICENSE.md) [![Quality Score][ico-code-quality]][link-code-quality] The plugin provides a simple related posts functionality with the following features: - Ability to manually override related posts - [ElasticPress][link-elasticpress] integration Requirements Make sure all dependencies have been installed before moving on: PHP = 7.1 Composer Install Via Composer: Usage The plugin exposes a single function that returns a list of post IDs. $postId is the ID of the post to get related content for. $args allows you some control over the posts that are returned: - int limit: defaults to 10 - array posttypes: array of post types to limit results to, defaults to ['post'] - array taxonomies: array of taxonomies to compare against, defaults to ['category'] - array terms: array of WPTerm objects, results will match these terms - array termsnotin: array of WPTerm objects, results will not match these terms - bool epintegrate: if true then ElasticPress is used to get the results, defaults to defined('EPVERSION')

Read the full README on GitHub →

Releases

TagPublished
v1.2.1 Aug 13, 2019
v1.2.0 Jul 31, 2019
v1.1.0 Jul 31, 2019
v1.0.0 Jul 31, 2019

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.