{"id":416095,"date":"2024-12-20T08:00:00","date_gmt":"2024-12-20T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/query-loop-exclude-posts\/"},"modified":"2025-01-21T02:43:00","modified_gmt":"2025-01-21T02:43:00","slug":"query-loop-exclude-posts","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/query-loop-exclude-posts\/","title":{"rendered":"Query Loop Exclude Posts"},"content":{"rendered":"<p>Extends the Query Loop Block to allow excluding specific posts.<\/p>\n<ol>\n<li>Provides controls in the Query Loop Block Select specific posts by title.<\/li>\n<li>Provides a toggle to exclude the current post.<\/li>\n<\/ol>\n<p>Works with whichever post type is set for the query loop Block (Post, Page, etc)<\/p>\n<p>\u201cExclude Current Post\u201d is helpful for \u201crelated posts\u201d patterns often used on a single<br \/>\npost template. Using this option on the query loop block will let it pull in posts but<br \/>\nnot the single post currently being viewed.<\/p>\n<h3>Development and Support<\/h3>\n<p>wp<br \/>\nThis plugin is developed on Github. You can find the uncompressed source javascript and<br \/>\nsubmit issues and pull requests there:<br \/>\nhttps:\/\/github.com\/colinduwe\/exclude-posts<\/p>\n<p>If you\u2019ve checked out the full source code either from my repo or your own fork you\u2019ll<br \/>\nwant to do the following in your terminal:<br \/>\n1. Navigate within this plugin\u2019s directory.<br \/>\n2. Install the development dependencies by running \u2018npm install\u2019<br \/>\n3. Work on the plugin code by running \u2018npm start\u2019<br \/>\n4. Complete your work by building for production by running \u2018npm run build\u2019<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extends the Query Loop Block to allow excluding specific posts.<\/p>\n","protected":false},"author":65,"featured_media":330600,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Query Loop Exclude Posts - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Extends the Query Loop Block to allow excluding specific posts."},"footnotes":""},"categories":[1],"tags":[59122],"class_list":["post-416095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-query-loop-block"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/416095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=416095"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/416095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/330600"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=416095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=416095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=416095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}