WP-Members: Membership Framework
[resolved] block pages does not work (3 posts)

  1. zzyber
    Posted 2 years ago #

    I have made a registration page as static home and woocommerce installed. I want my customers to register and after approval login to the system and get access to products in my shop. Now the idea was to block the shop page but no no, it does not work. I tried to block all by default and i have followed the FAQ recommendations to make custom fields named block and with value true but no no, still showing my products at /shop
    I created a new page just writing garbage and with one image. Tried to block it but no no. I use MayaShop theme if that makes a different. Anyone? Urgent help needed for suicide candidate


  2. Chad Butler
    Plugin Author

    Posted 2 years ago #

    Woocommerce products are custom post types, not pages. The plugin's defaults are "pages" and "posts". If you need to block custom post types, you need to set up a filter for wpmem_block.

  3. zzyber
    Posted 2 years ago #

    Thanks but I solved it using restrict access plugin and that did it for me. Regarding wp-members its the product issue. I made a new page called test and posted some text and an image still its not blocked. I thought maybe its a theme issue but no, i changed and still it shows the content. I tried your suggestion but still, the page does not block content. Maybe its a fresh issue with the recent updates.........i dont know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic