Restrict Content at Search Results

Hello Team,
I have a listing website,which, at the moment is free. Now when a non logged in user( to my website) or just a visitor search for a service, he would get some results.

BUT here, when he clicks on any profile/service/place listed, to view the details, a message should come up like " This is a Members Content. Please login/register". Here, he should do as asked.

Can this be done by s2 Member plugin? If yes, then how?

I am using WP version 5.2.3, GeoDirectory version 2.0.0.56 with a Supreme Directory theme.

Hoping for a positive reply. Many Thanks. /Manish

If you protected the page/post with s2’s restriction, then the user won’t be able to open it without the access required.

To allow the protected page to show up in search results, you need to adjust your setting here: WP Admin > s2Member > Restrictions > Alt. Views

I hope that helps. :slight_smile:

Hey thanks Cristian for a prompt reply.

Let me try this and see.

Regards
Manish

1 Like