- This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Tagged: hidden, products, search results
Hi Syam,
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?
Guido
Hi Guido,
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.
Thanks
Syam
Hi Syam,
ok, I understand. I tried it with link to categories and they will be hidden.
Thanks for your help.
Guido
Glad to help.
Thanks
Syam