Support » Plugin: WP-Members: Membership Framework » Can't block off portfolio posts via WP Members

  • Problem: Our client wants her “articles,” currently listed as portfolio posts, ( ) to be hidden unless the user is a member of her site. Currently, because each of these articles are portfolio posts, her members can gain access to an article, and from there link these articles out to other people. Once these articles are linked out, anyone can gain access to the article without becoming a member of her site.

    Our client’s site has a portal page where the user registers (if they are not a member) which can be found at Once the user registers as a member they are taken to the articles. If the user directs a friend or colleague to the site, but links them to any page that is accessible only after the portal page (ie: articles, tips etc.) the friend or colleague no longer have to become members of the site.

    We are hoping that there is a way to use the shortcode in the WP Member plugin to block off these portfolio sites (we have tried the short-code that we were given, but it does not work for portfolio posts without looking messy).

    To access the articles, simply go down the Dashboard until you get to the Portfolio section. Click on portfolio, and the site should populate all of the articles. To the right of the page you will see a widget titled “Portfolio Categories.” You can check whether the portfolio page corresponds to an article here (or not). Not all of the portfolio pages are articles.

    We have tried using our WP-Member plugin to block access to the portfolio; however, because these pages are not considered posts or pages by our plugin (or WordPress?) the shortcode does not work.

    The information below corresponds to our plugin WP-Members. It details how to restrict posts and pages. There are links to other parts of the manuals on these pages a well.

    Restricting Posts:
    Restricting Pages:

    If a user links a friend to the article page that we created (AFTER the portal page), due to how the portfolio works, we can’t block off access to the articles. This is a secondary problem.

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


    I would assume that your portfolio pages are actually a custom post type. The plugin does not block custom post types by default because they are in fact custom – what one uses on their site may not equate to what another uses on theirs.

    There are ways to accommodate blocking custom post types, but it requires some level of customization.

Viewing 1 replies (of 1 total)
  • The topic ‘Can't block off portfolio posts via WP Members’ is closed to new replies.