• Pardon me if this has been answered, but none of the topics I read helped. I’m using WP Members with the Swift theme, Flexform. I can’t seem to get some pages to be protected. I don’t have show excerpts checked. I don’t have auto protect pages. But, I do check the box at the top right, to protect the ones I want protected. No matter what I try to do, our video library is not protected. Also, our online classroom is not protected except by a function inside their plugin for WP courseware.
    I remember it did work when I started a few months ago. I’ve disabled all plugins and it still doesn’t protect.
    The video page is using the Swift page builder to pull in a portfolio category on the page. But that’s just content.
    The online classroom is using a shortcode to pull in content from WP courseware.
    There must be a way to block this content!
    Please help

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

    [Moderator Note: No bumping, thank you.]

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

    (@cbutlerjr)

    Are these custom post types? (If you’re not sure, if you don’t go to the Posts > All Posts -or- Pages > All Pages menus to manage these, they are custom post types.)

    Custom post types are not natively supported, but you can configure your installation to support the CPTs you have:
    http://rocketgeek.com/filter-hooks/blocking-custom-post-types-2/

    Thread Starter bizpower

    (@bizpower)

    I don’t know what you mean. It’s a page with an image, shortcode for wpcourseware, and portfolio collection.
    I suppose the portfolio items are considered custom post types because they aren’t listed in the normal page or post area. They are listed under portfolio in my theme.
    And the wp courseware is using a shortcode to display its content.
    I thought everything on the page would be blocked. Not just certain types of things. I’ll look at the link you sent

    Plugin Author Chad Butler

    (@cbutlerjr)

    If its not in the Posts > All Posts menu or Pages > All Pages menu, then its a custom post type (technically, we should include media/attachments, menu items, and revisions in that as well, but we’re really talking about “pages” here).

    Based on your description, these are CPTs. They are not “pages” in the WordPress sense of the word.

    I thought everything on the page would be blocked. Not just certain types of things.

    As I indicated, they can be. But you’re operating under the assumption that the plugin would know that these Custom Post Types exist – by nature, these are “custom” so they are not part of what WordPress’ default post types are. As such, there are infinite possibilities as to what types of content there are and what it can be called. So for the plugin to know to block these, you have to tell it what they are and that you want them blocked.

    On a related note, I would like to implement CPT support within the plugin. It was tried with version 3.0.0, but it was unsuccessful and had to be rolled back. The custom nature of CPTs made it much more complex for it to be handled in a dynamic way. So at some point, it will be included in the plugin, but for now, I’ve made the necessary information available on the support site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not blocking pages’ is closed to new replies.