[wp-trac] [WordPress Trac] #62685: Proposal to add the ability to control the visibility of posts
WordPress Trac
noreply at wordpress.org
Sat Sep 6 10:19:15 UTC 2025
#62685: Proposal to add the ability to control the visibility of posts
-------------------------------+-------------------------
Reporter: tunyk | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version:
Severity: normal | Resolution: maybelater
Keywords: | Focuses:
-------------------------------+-------------------------
Changes (by SirLouen):
* status: new => closed
* resolution: => maybelater
* milestone: Awaiting Review =>
Comment:
This is the beauty of hooks and the extensibility of WordPress. You have a
bare skeleton to add your things, and then with a little code in a plugin
like WooCommerce, you can achieve this functionality.
Adding a simple query and some conditionals on which posts to show in the
`pre_get_posts` hook, you can do this pretty easily and elegantly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62685#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list