[wp-trac] [WordPress Trac] #43924: Add ability to add page for "Logged In User"
WordPress Trac
noreply at wordpress.org
Wed May 2 02:20:03 UTC 2018
#43924: Add ability to add page for "Logged In User"
-----------------------------+-----------------------------
Reporter: khoipro | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Formats | Version: 4.9.5
Severity: normal | Keywords: ui-feedback
Focuses: |
-----------------------------+-----------------------------
Refer: https://codex.wordpress.org/Content_Visibility
It's too hard to keep exclude logged in pages from a main query like
Search. All we can do is hard code a page name, and if we have many pages
which required logged in to see, to keep them hidden from search results
it must do it manually.
My suggestion:
1. Add a visibility status for "Logged-in User".
2. Keep to exclude their pages from default public search, and visible
them only for logged users.
Another topic about this issue:
https://wordpress.stackexchange.com/questions/142811/exclude-pages-from-
wordpress-search-result-page
https://wordpress.stackexchange.com/questions/34439/exclude-post-from-
home-page-and-archives-but-still-public
https://www.johnparris.com/exclude-certain-pages-from-wordpress-search-
results/
http://www.beginwp.com/exclude-certain-post-pages-from-wordpress-search-
result/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43924>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list