Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Search results not filtering restricted content

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Search results not filtering restricted content

Tagged: content, eMember, restricted, results, search

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 10 months ago by amin007.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 14, 2011 at 5:29 am #4052
    prefonty
    Member

    Hello, I have searched the forums without luck and I am hoping there is a feature to eMember that filters out the restricted content from a search with the wordpress theme search box.

    Non-members cannot access certain pages and categories, yet when they do a simple search, the content pops right up.

    Has anyone found a way around this please?

    Thanks in advance for any help.

    Yanik

    August 14, 2011 at 9:57 am #35490
    amin007
    Participant

    The Search should not show the protected content unless your theme. Please post a link to your site and what keyword I should search for to see the issue.

    August 14, 2011 at 3:20 pm #35491
    prefonty
    Member

    Hello amin007 and thanks for the prompt response.

    My question was not precise enough I realize now. The search results for “gross” http://gemoq.ca/?s=gross&searchsubmit= list the restricted page title and link.

    The second item in the results page should not be even visible in the results.

    At least the content of the post is not available without login.

    Perhaps there is a tweakk that I could use to filter search results better?

    Thanks again for precious help!

    August 14, 2011 at 11:25 pm #35492
    amin007
    Participant

    eMember does not protect the title by default, it protects the content of the post or page and its doing that in that search result too. So it is working as intended.

    You can modify your theme’s template file so that it doesn’t show the title when a non-logged in member does a search. eMember has functions that you can use to determine if a user is logged in or not. Simply wrap the content inside this function. This page has a list of various examples that should help you:

    http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ