in my shop all products and most pages are restricted to special roles.
That means that the shop is only available for logged in users.
But if I make a search and send the link to what else, the link will show a list of the found products so they are not longer hidden because with this link everybody can see the products.
How can I avoid that?
The default WordPress search functionality doesn’t use the same filter it uses while retrieving posts from DB, because of that I’m unable to filter the results. I still need to figure out a way to do this. The search results will display the title, but they will be unable to open it.
ok, I understand. I tried it with link to categories and they will be hidden.
Thanks for your help.
Glad to help.
You must be logged in to reply to this topic.