WordPress.org

Support

Support » Plugins and Hacks » WP-Members: Membership Framework » [Resolved] block pages does not work

[Resolved] block pages does not work

  • 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

    https://wordpress.org/plugins/wp-members/

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

    @cbutlerjr

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] block pages does not work’ is closed to new replies.
Skip to toolbar