{"id":121782,"date":"2023-07-07T09:58:13","date_gmt":"2023-07-07T04:28:13","guid":{"rendered":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/?post_type=documents&#038;p=121782"},"modified":"2023-07-07T11:23:31","modified_gmt":"2023-07-07T05:53:31","slug":"exclude-post-by-post-id-from-custom-post-grid-layout","status":"publish","type":"documents","link":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/exclude-post-by-post-id-from-custom-post-grid-layout\/","title":{"rendered":"How to Exclude Post by Post ID From Custom Post Grid Layout?"},"content":{"rendered":"\n<p>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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p><em>To check the complete feature overview documentation of The Plus Addons for Elementor Dynamic Smart Showcase widget, <a href=\"\/docs\/dynamic-smart-showcase-widget-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a>.<\/em><\/p>\n\n\n\n<p><strong><em>Requirement&nbsp; &#8211; This widget is a part of The Plus Addons for Elementor, make sure its installed &amp; activated to enjoy all its powers.<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 is-style-fill\"><a class=\"wp-block-button__link has-nxt-global-color-8-color has-nxt-global-color-1-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/pluslisting\/#dynamic-listing-wgts?utm_source=tpae&amp;utm_medium=docs&amp;utm_campaign=text\" style=\"border-radius:5px\" target=\"_blank\" rel=\"noreferrer noopener\">LIVE WIDGET LINK<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>For this, you need to find the post id of the post you want to exclude from the list.<\/p>\n\n\n\n<p>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 \u2018<em>post=<\/em>\u2019 is the post id.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1920\" height=\"916\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id.png\" alt=\"find post id\" class=\"wp-image-121783\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id-300x143.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id-1024x489.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id-768x366.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id-1536x733.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/07\/find-post-id-600x286.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Once you find the post id, add the Dynamic Smart Showcase widget on the page, after selecting the appropriate style and layout select <strong>Posts<\/strong> from the <strong>Post Type<\/strong> dropdown.<\/p>\n\n\n\n<p>Then go to the <strong>Content Source<\/strong> tab, in the <strong>Exclude Post(s)<\/strong> field you can add the post id.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>Note: You can add multiple post IDs separated by commas.<\/em><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"329\" height=\"902\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/07\/dynamic-smart-showcase-exclude-post-id.gif\" alt=\"dynamic smart showcase exclude post id\" class=\"wp-image-121784\"\/><\/figure>\n\n\n\n<p>In a similar way, you can add post ids in the <strong>Include Post(s)<\/strong> field to only show specific posts.<\/p>\n\n\n\n<p>Also, read <a href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/show-custom-posts-based-on-custom-taxonomy-in-custom-post-grid-layout\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Show Custom Posts Based on Custom Taxonomy in Custom Post Grid Layout<\/a>.<\/p>\n","protected":false},"author":25,"featured_media":121785,"parent":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","docs":[577,526],"class_list":["post-121782","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-dynamic-smart-showcase","docs-plus-listings"],"acf":[],"_links":{"self":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/121782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/comments?post=121782"}],"version-history":[{"count":0,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/121782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media\/121785"}],"wp:attachment":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media?parent=121782"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/docs?post=121782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}