Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to exclude posts by ID #154

kanejamison opened this issue Jun 2, 2017 · 1 comment


None yet
2 participants
Copy link

commented Jun 2, 2017

I would love a default parameter to be exclude a specific post ID.

Here's the use example I'm working with, where I'm listing all children except for a specific ID.

[display-posts post_parent="1340" order="ASC" orderby="title" post_type="page" posts_per_page="50" exclude="1389"]

Thanks for your time & work on this plugin - I have found it greatly helpful numerous times and just contributed a donation.


This comment has been minimized.

Copy link

commented Jun 3, 2017

I've just added an exclude parameter. You can either specify one post ID or a comma-separated list of multiple IDs.

There is already a parameter for excluding the current post: [display-posts exclude_current="true"].

You can download the latest version of the plugin here. Once I have added more features I'll publicly release the new version on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.