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/mmirus/display-posts-meta-compare/archive/refs/heads/master.zipOn Packagist as mmirus/display-posts-meta-compare:
composer require mmirus/display-posts-meta-compareNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Display Posts Meta Compare
Add a metacompare argument to the Display Posts shortcode.
You must have the Display Posts plugin installed. Docs for the plugin can be found at https://displayposts.com/.
Possible values for metacompare are the ones available in a WPQuery: '=', '!=', '', '=', '<', '<=', 'LIKE', 'NOT LIKE', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN', 'EXISTS', 'NOT EXISTS', 'REGEXP', 'NOT REGEXP', and 'RLIKE'.
I haven't tested many different types of comparison, however, and it's likely that some won't work. Feel free to submit a PR or create an issue if you run into problems.
Installation
There are three options for installing this plugin:
1. With composer from Packagist: composer require mmirus/display-posts-meta-compare
2. With GitHub Updater
3. By downloading the latest release ZIP from this repository and installing it like any normal WordPress plugin
Contributing
To work on this project (for yourself or to contribute a PR):
1. Clone this repo
2. Run composer install
And you should be good to go.
Pre-commit linting is enforced (PSR-2 for PHP).
Releases
1 release.
Tag
Published
1.0.0
latest
Jan 25, 2019 7 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.