⚡ End of Year Sale! 10% OFF all paid plans. Use code PG10JAN. Explore Plans

Blog

How to Restrict Content on WordPress Site

WordPress Content Restriction Introduction

Are you a WordPress admin who writes high value content for your blog readers? If yes, then surely you must know how to restrict content to your blog readers. We will present to you the most effective way to restrict content on your WordPress website, with the help of ‘ProfileGrid’.

As you already know, any WordPress post or page we publish is visible to all site visitor across the board. This is the default functionality of WordPress, with no content restriction. But after installing ProfileGrid on your website, you’ll get all content restriction and visibility controls right there on the post/page edit screen itself.

Let’s publish a blog post without ProfileGrid installed on my site.

Creating New Blog Post

You can see from the site’s frontend that the blog post is fully visible, with all the content.

Next, let’s install and activate ProfileGrid from the ‘Plugins’ dashboard menu.

Content Restriction Feature

Now that my site has ProfileGrid active on it, the plugin gives immense capabilities to restrict content of any post/page. If you go back to the blog post created earlier and scroll down to just below the post/page edit section, you will see a new set of options available, with the heading ‘ProfileGrid’. At first, only a single option is visible there, which is ‘Apply custom access settings?’ with a switch next to it. By default, this option remains off, so you will have to activate it to move further ahead.

PG Content Restrict Settings

Enabling custom access settings displays 4 ‘Content Availability’ options to choose from. These are…

  1. Content accessible to Everyone: Choose this option will allow everyone to access the online post/page content once it is published.
  2. Content accessible to Logged In Users: Choose this option to restrict content of the published post/page. to only logged-in users. Any user who wants to access this post/page content needs to register first. Only registered users can access the content.
  3. Content accessible to My Friends: This option combines the powerful social aspects of ProfileGrid with that of content restriction. Choose this option to restrict content of the post/page to those users who are your friends through ProfileGrid platform.
  4. Content accessible to Only Me: Choose this option to restrict content of post/page to you. No one else can access the post.

Let’s choose the option ‘Content accessible to Logged In Users’. An another option displays right below it, which is ‘Select the User Group that can see this content?’.

Restrict Content for User Group

We have covered User Groups in-depth in a separate article. Select the ‘All Registered Users’ option and update the changes. Content is now locked to registered users on the site.

Lastly, let’s see how an unregistered user view the content on same post.

Restricted Content View

Thank you for reading this article. We will keep updating you with more information on ProfileGrid.

30 Comments

  1. Ashley

    This feature does not work properly, with content showing above the warning – which is pointless?

    1. ProfileGrid

      Thanks for reporting this. We will need further information to help with analysis of the problem. Could you please open ticket for this on our support portal and we will get back to you with further details. Ticket can be submitted here: https://profilegrid.co/contact-us-2/

  2. Rihab

    I cannot find ‘Profile Grid Apply custom access setting’ under a page or a post.
    Do I need to enable it somewhere in the settings?

    1. ProfileGrid

      There is no such direct setting available in plugin. But please confirm if following option is enabled on dashboard:

      1) Login to dashboard
      2) Go to the page/post and edit it
      3) On top of page/post expand the ‘Screen options’ and confirm if ‘ProfileGrid’ is enabled

  3. Niels

    Hello, i cant see the I cannot find the ‘Profile Grid Apply custom access setting’ either. It is enabled on top, but there is no field like you shown.

    1. ProfileGrid

      It seems like the issue is specific to your site, where one of the existing plugins on the site could be conflicting with ProfileGrid. Could you please check it after deactivating all other plugins on the site, except for ProfileGrid?

      If the issue is still occurring, we will need access to the site in order to debug it further. Please share your site’s admin dashboard access by creating a new admin user for our support email ID support@profilegrid.co

  4. Vadim

    Instead of restricting a whole page, is it possible to restrict a paragraph on a page?

    1. ProfileGrid

      Currently ProfileGrid allows for restriction on the whole page and not its specific part(s).

  5. braud

    Hi,

    I’d like to restrict the access to the comments of the post: currently, only registered users can see the post, but anyone cas see the comments :/

    Thank you!

    1. ProfileGrid

      Comments cannot be restricted as of now. We have noted this requirement and forwarded it to our development team for further review and analysis.

  6. Eckhart

    I figured whenever i do a bulk edit of some blogs (assigning a tag to multiple blog pages or assigning a few blogs to a different user-id), it disables the ‘Apply custom access settings’ and i basically have to go into every single bulk edited page then and re-enable it. is this a bug?

    1. ProfileGrid

      Thanks for reporting this issue. We have found it as a bug and forwarded it to our development team to fix it.

  7. Morten Thorvaldsen

    Would it be possible to have content restriction on “inlays”/post, like a flippingbook, created by a 3rd-party plugin like 3D FlipBook?

    1. ProfileGrid Editorial Team

      Currently, ProfileGrid supports content restriction feature only for WordPress default posts or pages, not for the custom post types.

  8. Adrian Pablo Lioi

    Hello, I have this plug installed on my site but since it is in Spanish I need to edit the text that comes out when trying to enter “login requires to …” Can it be replaced by another text or an image?

    1. ProfileGrid Editorial Team

      You may change the text using the “Loco Translate” plugin. ProfileGrid has a POT file that includes all English text from the plugin for translation.

  9. Dienstenbrigade

    Content restriction feature worked fine. Since a few days I can’t find the option in the pages to turn it on. For some reason it disapeared. Deactivating the plugins didn’t solve the problem. We use a theme made by Themler. But changing the theme doesn’t solve the problem either (Twenty nineteen). Don’t know what to do next. Can someone help please? Thank you!

    1. ProfileGrid

      The content restriction block has been moved to the left menu of the page or post screen.

  10. Alissa

    Is it possible to restrict the whole website for all users that are not logged in at once?

    1. ProfileGrid Editorial Team

      ProfileGrid does not allow to restrict the whole website. It allows for the restriction of the menu and page content using the content restriction feature.

  11. Valentina

    How can I change the error messages “Login required…”?

    1. ProfileGrid Editorial Team

      You may change the text using the “Loco Translate” plugin. ProfileGrid has a POT file that includes all English text from the plugin for translation.

  12. David Thompson

    How do you restrict content for a custom post type? The option doesn’t appear for any posts of the custom post type.

    1. ProfileGrid

      As of now, the plugin allows to restrict the content of WordPress posts and pages only. We have noted this requirement for possible inclusion in future updates.

  13. Dominique Clergue

    When an article is protected, if the person is not connected, I have this message:
    [Login required to view this page. Please S’identifier.]
    In which file can I find it to translate it?

    1. ProfileGrid

      You may translate the string using “Loco Translate” plugin. ProfileGrid has a POT file that includes all English text from the plugin for translation.

  14. Rino

    Good afternoon! I don’t have the option to select specific groups like you do in the photo. I only see “show for all groups you belong to.” How can I make it so that posts appear in different groups?

    1. ProfileGrid

      Once you select the option ‘Content accessible to Logged In Users’ on any page or post, you’ll then see the option to choose a specific user group.

  15. Rino

    Thank you! Exactly, that’s how it is – now everything is super, and your plugin is the best. And your payment policy is also great, flexible, and doesn’t squeeze newcomers who aren’t able to pay yet. Over time, I’ll buy all of your plugins to extend ProfileGrid capabilities.

    1. ProfileGrid

      Thank you for your feedback. We would highly appreciate if you could please take out few minutes and leave us a review on wordpress.org, at the following link:
      https://wordpress.org/plugins/profilegrid-user-profiles-groups-and-communities/
      (click on the stars in the right side column to rate ProfileGrid plugin)

Leave a Comment

Your email address will not be published. Required fields are marked *