Make WordPress Core

#62685 closed feature request (maybelater)

Proposal to add the ability to control the visibility of posts

Reported by: tunyk Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version:
Severity: normal Keywords:
Cc: Focuses:

Description

A proposal to integrate the basic functionality for WordPress posts similar to that of products in Woocommerce.

Option for posts to display:

In the catalog and in search results
Only in the catalog
Only in search
Hidden

Change History (2)

#1 @swissspidy
21 months ago

  • Focuses ui accessibility administration performance removed

#2 @SirLouen
12 months ago

  • Milestone Awaiting Review
  • Resolutionmaybelater
  • Status newclosed

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.

Note: See TracTickets for help on using tickets.