Are you in search of a simple method to prohibit your WordPress kind submissions to logged-in customers solely?
You probably have a membership web site, on-line retailer, or one other kind of web site that has registered customers, then it’s possible you’ll wish to prohibit sure types entry to solely logged in customers.
On this article, we are going to present you easy methods to prohibit your WordPress types entry so solely logged in customers can fill out and submit them.
When and Why You Must Prohibit Entry for WordPress Types?
There may very well be quite a few situations whenever you would want to limit entry to sure WordPress types to logged-in customers solely.
Chances are you’ll be internet hosting a non-public members occasion, and also you solely need registered customers in your web site to RSVP.
Chances are you’ll prohibit entry to help for members solely, and by limiting it to logged-in customers solely, you possibly can dynamically populate sure data from their profile.
You may wish to run an worker survey or ballot, and also you wish to prohibit entry to your inner workforce solely.
You’re working a buyer NPS survey that you simply solely wish to be submitted by logged-in customers solely.
You may need a particular prize declare kind that you simply wish to be accessed by solely sure logged-in customers.
These are just a few examples, however there may very well be actually a whole bunch of different use circumstances the place you wish to prohibit kind entry to registered customers solely.
With that stated, let’s have a look easy methods to prohibit your WordPress kind entry to logged-in customers solely.
Technique 1: Prohibit Kind Entry with WPForms Kind Locker Addon
This methodology is best and strongest, so we advocate it for all newbie customers. We are going to use the WPForms plugin and their Kind Locker addon to utterly lock down WordPress kind entry.
WPForms is the most effective WordPress kind plugin utilized by over 2 million web sites. It was created by WPBeginner’s founder, Syed Balkhi, to have all of the options we would have liked for working our enterprise.
The very first thing you might want to do is set up and activate the WPForms plugin. For extra particulars, see this step-by-step information on easy methods to set up a plugin in WordPress.
Upon activation, you might want to enter your license key after which add over to the WPForms » Addons web page to put in the Kind Locker Addon.
Now you’re able to create a brand new kind that has restricted entry for logged-in customers.
To do that, go forward and create a brand new kind by going to WPForms » Add New. This may open the WPForms kind builder the place you may be introduced with the choice to both select a kind template or begin with a clean one.
WPForms drag & drop kind builder is extraordinarily straightforward to make use of, so you possibly can add or take away fields and customise the shape to your liking.
Upon getting added all the required fields, you might want to go to the Settings Tab and click on on Kind Locker.
On this tab, you will notice the choice to allow password safety on your WordPress types, set whole entry limits, allow kind scheduling, and allow limiting entries to logged-in customers solely.
When you test the field, you will notice a brand new Message area the place you have to to draft a message that can seem to all customers who aren’t logged in to your web site.
As soon as executed, you possibly can tweak different kind settings that you simply may want after which click on the Save button.
Now you possibly can embed this type on any WordPress put up or web page in your web site through the use of the WPForms shortcode within the Basic Editor or through the use of the WPForms block within the Gutenberg editor.
Merely go to Put up or Pages, after which click on on the Plus icon to pick out a block. Subsequent, kind WPForms within the block search.
As soon as the WPForms block is added, choose your kind to embed and also you’re executed. Congratulations, you could have efficiently created a WordPress kind that’s restricted to logged-in customers solely.
Technique 2: Prohibit Kind Entry with Password Protected or Non-public Pages
One other method to prohibit kind entry in WordPress is through the use of the default WordPress visibility settings. You should use this methodology with the free model of WPForms or another contact kind plugin.
Merely create a Web page or Put up the place you wish to embed the shape. After that click on on the Visibility settings on the appropriate panel.
You have got the choice to both make the entire web page non-public or make the entire web page password protected.
Non-public pages can solely be seen by the Directors and Editor degree customers in your web site.
In the event you set a password for the web page, then you’ll have to share that password with everybody who you wish to give entry to.
Whereas this methodology works, there are a number of downsides to it.
First, your complete web page is hidden not simply the types space. You lack the finer controls, and there’s no manner so that you can see which logged-in consumer submitted the shape (if you happen to’re utilizing the password protected setting).
Technique three: Use Superior Membership Plugins to Prohibit Kind Entry
In the event you’re utilizing a sophisticated WordPress membership plugin like MemberPress, then it comes with a number of entry management options built-in.
You possibly can merely go to MemberPress » Guidelines to create a brand new permissions rule.
The rule edit web page means that you can choose totally different situations and affiliate them to a membership plan.
For instance, you possibly can choose all content material that matches a selected tag or class to be obtainable solely to members with the silver subscription plan.
You can too create extra particular guidelines. For instance, a single put up or web page, little one pages, or a particular URL.
Upon getting set the foundations, you should use it together with any WordPress contact kind plugin to limit kind entry to logged-in customers solely.
For extra particulars, see our step-by-step information on easy methods to prohibit content material entry in WordPress.
We hope this text helped you learn to prohibit your WordPress types to logged-in customers solely. You might also wish to see our record of finest WordPress plugins for enterprise web sites.
In the event you appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can too discover us on Twitter and Fb.
The put up The best way to Prohibit Your WordPress Types to Logged-in Customers Solely appeared first on WPBeginner.