• Resolved quang134

    (@quang134)


    Hello,

    When I set a post to “Registered” group, it is hidden on the post feed page, which is good. But when I try to search for it, it still shows up.

    Is this expected behavior from your plugin? Does your plugin protect content from WP search as well, or something from my site is messing it up?

    Please let me know. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kento

    (@proaktion)

    Hi,

    If the search is implemented appropriately, it will not include restricted posts unless the visitor is authorized to see them.

    In cases where search is overriding filters or invalidating them, or when it is accessing the database directly to retrieve posts, then any access restriction is useless – in that case, this isn’t an issue with Groups but with how the search is implemented.

    Example of searches that work correctly with Groups:

    https://ww.wp.xz.cn/plugins/search-live
    https://woocommerce.com/products/woocommerce-product-search/

    Cheers

    Plugin Author Kento

    (@proaktion)

    PS : Obviously WordPress native search works fine, too – if it doesn’t, then there’s a conflict created by customization / theme / plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide Protected Content From Search’ is closed to new replies.