Register a custom post type as public = false but appear in search results
-
Is this possible? I dont want the pages to exist ie. they go to 404 if you attempt to access them but I want them to be included in the search.
‘public’ => falseThis would be cool but I can use redirects if I have to but I prefer not to.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Register a custom post type as public = false but appear in search results’ is closed to new replies.