How to Exclude Post by Post ID From Custom Post Grid Layout?

Updated on June 24, 2024 by Editorial Team
Table Of Content

Sometimes, you may want to remove certain posts from being displayed in your post grid due to various reasons. By excluding these posts, you can ensure that your custom post grid only showcases the most relevant and up-to-date content to your audience.

With the Dynamic Smart Showcase widget from The Plus Addons for Elementor you can easily exclude individual posts by their id from the custom post grid.

To check the complete feature overview documentation of The Plus Addons for Elementor Dynamic Smart Showcase widget, click here.

Requirement  – This widget is a part of The Plus Addons for Elementor, make sure its installed & activated to enjoy all its powers.

For this, you need to find the post id of the post you want to exclude from the list.

To find a post id, from the Dashboard, go to Posts, and hover over the post that you want to get the id of. At the bottom of the browser, it will show the post edit URL with its id. The number after ‘post=’ is the post id.

Find post id

Once you find the post id, add the Dynamic Smart Showcase widget on the page, after selecting the appropriate style and layout select Posts from the Post Type dropdown.

Then go to the Content Source tab, in the Exclude Post(s) field you can add the post id.

Note: You can add multiple post IDs separated by commas.

Dynamic smart showcase exclude post id

In a similar way, you can add post ids in the Include Post(s) field to only show specific posts.

Also, read How to Show Custom Posts Based on Custom Taxonomy in Custom Post Grid Layout.

OR
Get Free 25+ Secrets to Make Elementor Website Faster [Guaranteed Results]



    Subscribe to our YouTube Channel for Elementor Tutorials
    New Video Every Week!
    Automatically Convert Figma Designs to 100% Editable Elementor Website

    Related Docs

    X