---
title: "How to Exclude Post by Post ID From Custom Post Grid Layout?"
url: https://theplusaddons.com/docs/exclude-post-by-post-id-from-custom-post-grid-layout/
date: 2023-07-07
modified: 2026-04-11
author: "Aditya Sharma"
description: "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..."
image: https://theplusaddons.com/wp-content/uploads/2023/07/How-to-Exclude-Post-by-Post-ID-From-Custom-Post-Grid-Layout_-1024x536.jpg
word_count: 273
---

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

## Key Takeaways

- Dynamic Smart Showcase widget from The Plus Addons for Elementor excludes individual posts by their ID from the custom post grid.
- Users find the post ID by hovering over the post in the Dashboard to view the edit URL.
- Multiple post IDs can be added in the Exclude Post(s) field, separated by commas.

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](/docs/dynamic-smart-showcase-widget-settings-overview/).*

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

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-listing//#dynamic-listing-wgts?utm_source=tpae&utm_medium=docs&utm_campaign=text)

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](https://theplusaddons.com/wp-content/uploads/2023/07/find-post-id.png)

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.*

![](https://theplusaddons.com/wp-content/uploads/2023/07/dynamic-smart-showcase-exclude-post-id-new.gif)

In a similar way, you can [add post ids in the **Include Post(s)** field to only show specific posts](https://theplusaddons.com/docs/include-post-by-post-id-in-custom-post-grid-layout/).

Also, read [How to Show Custom Posts Based on Custom Taxonomy in Custom Post Grid Layout](https://theplusaddons.com/docs/show-custom-posts-based-on-custom-taxonomy-in-custom-post-grid-layout/).

## Frequently Asked Questions

**Q: What should I do if the post I want to exclude isn't disappearing from the grid?**
A: If a post isn't being excluded as expected, double-check that you've entered the correct post ID in the Exclude Post(s) field. The post ID can be found by hovering over the post in the Dashboard and looking for the number after 'post=' in the URL. Ensure that the Dynamic Smart Showcase widget is properly set up and that the widget is installed and activated from The Plus Addons for Elementor.

**Q: How can I ensure that only specific posts are shown in the grid?**
A: To show only specific posts, use the Include Post(s) field in conjunction with the Dynamic Smart Showcase widget. Add the post IDs you want to include, separated by commas. This method is particularly useful when you want to highlight certain content while excluding others, ensuring that your audience sees only the most relevant posts.

**Q: What happens if I forget to add the post ID when trying to exclude a post?**
A: If you forget to add the post ID in the Exclude Post(s) field, that post will continue to appear in your custom post grid layout. It's crucial to ensure that the correct IDs are entered to achieve the desired display of content. Regularly reviewing your settings can help avoid this oversight.

**Q: Is there a way to preview changes after excluding posts from the grid?**
A: After making changes to the Exclude Post(s) field in the Dynamic Smart Showcase widget, you can preview the changes directly on your page. This immediate feedback allows you to verify that the correct posts are excluded before finalizing your layout. Always check the live view to ensure your grid displays as intended.
