
Are you a WordPress developer or a Net Designer who makes use of WordPress to develop web sites to your purchasers? Or are you a novice WordPress person?
Have you ever ever needed to not present Pages, Posts, or Classes within the menu? Or needed to limit entry to sure content material in your web site? With Pages by Consumer Function, you’ll be able to add Entry Management to the next issues in WordPress based mostly on which Function the person has.
- Pages
- Posts
- Classes
- Customized Put up Sorts added by third-party plugins
- Customized Taxonomies (added by third-party plugins
- WooCommerce (Merchandise and Store)
We’ve made this very simple with Pages by Consumer Roles for WordPress.
The plugin additionally removes the Web page, Put up, Customized Put up Kind, Classes or Customized Taxonomies from search outcomes and weblog roll. You possibly can conceal Web page and Classes from the menu when customers are usually not logged in. You may also set a selected redirect URL for customers that don’t have the required Consumer Function.
It additionally works if you’re utilizing the customized menu characteristic constructed into WordPress. It’s going to conceal the menu objects that has assigned a person Function when the person isn’t logged in.
Record of options
You will discover the Pages by Consumer Function Choices Panel within the WordPress Settings menu
Choices
- Set default redirect URL for customers that doesn’t have entry to a Web page, Put up or Customized Put up Kind.
- Allow remark filtering
- Redirect to login
- Help for WordPress Consumer Roles
- Help for Customized Consumer Roles
- Panic possibility should you limit your self from viewing a Customized Put up Kind
- Allow Entry Management to Customized Put up Sorts
- Limit entry to Customized Put up Sorts within the Frontend by Consumer Function
- Limit entry to Entry Management Metabox by Consumer Function on Pages, Posts and Customized Put up Sorts.
- Limit entry to WooCommerce (Merchandise)
- Revert the Pages by Consumer Function habits to the backend as a substitute of the unique frontend.
Pages, Posts and Customized Put up Sorts
- Fast overview of Consumer Function Entry on Web page, Put up and Customized Put up Sorts
- Set Entry Management for Subscriber, Contributor, Writer, Editor and Administrator
- Set Entry Management for customized Consumer Roles (you want White Label Branding to create the Customized Consumer Roles)
- Set Entry Management for Classes
- Set particular person redirect URL for every Pages, Posts and Customized Put up varieties when a Consumer Function doesn’t have entry.
- Cover particular person Pages type the menu
- Cover Classes from the menu
- Cover particular person Pages, Posts, Customized Posts Sorts and Classes from search outcomes and weblog roll
- Limit entry to content material through the use of Shortcodes. Entry managed by Consumer Function pur_restricted
pur_restricted_alt
pur_not_logged_in
Changelog
Model 1.7.2.101119 – April 16, 2024
- New Function: Add at all times Enable Usernames and at all times Disallow Usernames entry management. Entry by username has increased precedence than entry by person position.
Model 1.7.1.10456 – July 4, 2022
- New Function: Added assist for permitting particular usernames to login. Is beneficial if you might want to carry out upkeep in your web site and solely need particular customers to entry your web site (wp-admin).
Model 1.7.0.10317 – Might 6, 2022
- New Function: Added an possibility to cover a put up (customized put up sort) from the frontend, however proceed to indicate in wp-admin, Ajax, and REST API. Use case: Hiding a course from the entrance finish of the web site, however nonetheless displaying the course contained in the BuddyBoss App.
- New Function: Added Integrations tab to Settings. Permits the Administrator to toggle ON/OFF the hide-in frontend setting within the Entry Management meta field.
- New Function: Added standing message in put up record (Entry Management column)
Model: 1.6.5.100179 – October 29, 2021
- Bug Mounted: When a task is blocked from the entrance web page, WooCommerce checkout Ajax crashes.
Model 1.6.4.99097 – Might 6, 2021
- New Function: Limit a whole Put up Kind by Consumer Function. This can ignore the choice to permit non-logged-in customers entry to restricted content material. If the person position has entry to the put up sort, different restrictions should still apply. Like when particular person settings are set for a person Put up Kind.
Model 1.6.3.99091 – Might 4, 2021
- New Function: Entry to wp-admin by Consumer Function.
Model 1.6.2.98892 – March 23, 2021
- Replace: Use correctly escaping in PHP
- New Function: Set homepage by Consumer Function
Model 1.6.0.98592 – February 26, 2021
- New Function: Added new React based mostly Choices Panel to the plugin.
- Replace: Transformed all outdated options from Choices Panel to new React based mostly Choices Panel
- Replace: Used “strict mode” for all Javascript.
- Replace: Eliminated empty folders
- New: Added new up to date .pot file for translation (English)
- New: Added assist for customized redirect Url when utilizing Compelled Login.
- New: Added assist for utilizing wildcard /* in Compelled Login white record.
Model 1.5.1.98183 – November 27, 2020
- Bug Mounted: Compelled Login was inflicting the person to enter password twice.
Model 1.5.0.97742 – August 20, 2020
- <storng>New Function: Compelled Login. Make your web site fully personal
- New Function: White-list Pages, Posts, and Customized Put up Sorts (At all times Seen) though you could have enabled the Compelled Login characteristic
- New Function: White-list URLs. That is helpful if you wish to white-list e.g. archives and classes when the Compelled Login characteristic is enabled.
- New Function: Added assist for settings a selected front-page for customers not logged in and a front-page for customers logged in. This characteristic can be utilized with or independently of the Compelled Login characteristic.
- Bug Mounted: Block entry to a Taxonomy time period archive web page
Model 1.4.6.96327 – February 6, 2020
- Replace: Added assist for limiting entry to Pages added to WooCommerce > My Account when utilizing the WooCommerce Account Pages plugin (https://iconicwp.com/products/woocommerce-account-pages/)
Model 1.4.5.86663 – December 14, 2018
- Replace: Styling enhancements in Choices Panel
Model 1.4.4.83225 – April 20, 2018
- Bug Mounted: PHP warning within the frontend
- Bug Mounted: PHP warning on IIS server
Model 1.4.3.82846 – February 7, 2018
- Compatibility Repair: Pages by Consumer Function brought about the content material of weblog posts on some web sites to be hidden when utilizing WordPress Notification plugin and Pages by Consumer Function.
Model 1.4.2.82096 – November 11, 2017
Model 1.4.1.82080 – November 10, 2017
- New Function: Added characteristic for dealing with customers that aren’t logged in (Common Settings)
Model 1.4.0.81397 – September 13, 2017
- Replace: Added language folder and US English .po file
Model 1.3.9.80977 – August 3, 2017
- Bug Mounted: The Put up Kind Archive possibility isn’t blocking entry to put up sort archive pages within the frontend
- Bug Mounted: Ajax including phrases (missed management for column’s content material)
- Bug Mounted: Time period restrictions wasn’t working correctly
- Bug Mounted: Challenge with textual content when content material restricted
- Compatibility Repair: In some websites, the next person roles obtained unchecked within the Entry Management Field if decrease person position edits the Put up, Web page or Customized Put up Kind
- Bug Mounted: Default Redirect URL not working
- New Function: Added assist for Permitting or Blocking entry to Posts assigned to particular Phrases based mostly on Consumer Function
- Bug Mounted: Limit content material shortcodes damaged after latest replace
- Bug Mounted: Limiting entry to WooCommerce Store web page didn’t work correctly
- Replace: Added hyperlink to Assist Heart in Assist tab
- Bug Mounted: Restrictions for customers not logged in
- Bug Mounted: Entry Management column overwrites Taxonomy Pictures column
- Bug Mounted: Entry Management not working correctly for Subject in BBPress
- New Function: Added assist for Customized Taxonomies
- New Function: Added assist for BuddyPress
- New Function: Added assist for BBPress
- Replace: Modified order of Possibility Panel tabs
- Bug Mounted: post_type_enabled fastened getting post_type identify
- Compatibility Repair: Added examine for WooCommerce Store, Cart, My Account and Checkout) to keep away from PHP warning.
- Compatibility Repair: Change courses the place the constructor has the identical identify as the category to __construct (PHP 7 compatibility).
- New Function: Enable limiting entry to WooCommerce pages Store, Cart, My Account and Checkout (restrictions for WooCommerce Customized Put up Kind archive web page)
- Compatibility Repair: An undetermined third occasion plugin is inflicting a PHP warning
- New Function: Added possibility to incorporate filtering within the Ajax (Utilization: Javascript loaded posts that use wp-admin/admin-ajax.php within the entrance finish).
- Enchancment: Changed add_query_arg() because of an XSS vulnerability concern that impacts many WordPress plugins and themes. Please observe that earlier than the perform might be accessed the person needed to be an Administrator, that means that the potential concern was not out there to the general public.
- Bug Mounted: When blocked put up id?s make the question outcome empty, the blocked posts are usually not blocked in any respect.
- Compatibility Repair: BBpress subject not proven, replies present when put is lively
- New Function: Superior choice to out a customized HTML/Javascript when a web page is restricted to the person
- New Function: Limit Put up Kind Archive by Consumer Function, which lets you limit entry to Put up Kind Archives by Consumer Function and set an impartial redirect URL for it
- Bug Mounted: Disappearing Choices Tab
- Bug Mounted: When utilizing inverted PUR the edit put up hyperlink within the toolbar was nonetheless seen, and the person can truly bypass the restriction and edit the put up.
- Bug Mounted: Undesired redirect on Calendarize it! Occasions
- Compatibility Replace: WooCommerce product pages
- Bug Mounted: Deal with a scenario the place beneath some buggy situations, output have been already despatched by the location, earlier than it ought to, and thus breaking redirection.
- Bug Mounted: Eliminated php warnings
- New Function: Added a setting to limit what person roles will have the ability to view the ?Entry Management? Metabox.
- New Function: Experimental Inverted PUR performance
- New Function: pur_not_logged_in shortcode for displaying content material solely
- to guests NOT logged in.
- New Function: Allow Administrator to permit or block entry to
- person roles (beforehand was solely enable)
- New Function: Present in menu when restricted put up sort
- New Function: Within the record of posts, within the Entry Management column
- present if PUR is Permitting or Denying entry to listed roles
- New Function: Present Enable as Inexperienced and Deny as Pink.
- Bug Mounted: Keep away from a crash with Choices Panel model 2
- Replace: Enabled WordPress 3.3 performance
- Bug Mounted: pur_restricted Shortcode was not rendering Shortcodes within the content material
- New Function: pur_restricted Shortcode now enable different textual content with HTML.
- New Function: No Entry habits customization. Admin can specify if a restricted
- web page ought to redirect to login or to redirect URL.
- Bug Mounted: Alter the redirect URL discipline within the metabox
- Bug Mounted: Added lacking registration service library
- New Function: Constructed-in Shortcode pur_restricted to limit entry to sure sections
- of the content material by functionality; defaults to view_restricted-content however any functionality
- Replace: Choices Panel up to date
- New Function: No entry habits customization. Admin can specify if a restricted web page ought to
- redirect to login or to redirect URL.
- New Function: Customized Put up Sorts by Consumer Function. This solely exhibits if there are customized put up varieties.
This can be a mini-plugin itself that provides the next performance:- Within the tab possibility it exhibits a listing of customized put up varieties and checkboxes of all the present
- person roles for every customized put up sort. By checking a person position for a customized put up sort you’re
- limiting admin entry to that put up sort solely to the checked person position.
VERY IMPORTANT: At all times examine the Administrator. Word we don’t do it by default, thus perhaps the Administrator modified the administrator person position, so we don’t actually know what the administrator position is.
Within the case of incorrectly setting the administrator person position, there’s an possibility on the identical
tab to disable this characteristic and get better entry to the customized put up varieties. - Bug Mounted: After setting person roles in Class and eradicating all, all roles the place denied entry afterwards.
- New characteristic: added remark filtering to feedback fetch with the wp technique get_comments (latest feedback widget)
- Replace: Modified the process for redirect; 1) the customized url 2) the default url 3) the login web page 4) if you’re logged in and would not have entry, an error message is proven.
- Bug Mounted: Mounted damaged default redirect URL
- Bug Mounted: Mounted Pages and Put up redirect URL
- New Function: Added assist for non commonplace WordPress desk pre-fix
- New Function: Added assist for entry management to Classes
- New Function: Classes with entry management are usually not searchable (until you could have entry)
- New Function: Limit entry to Put up through the use of the Posts ID.
- New Function: Class is not going to present within the menu if restricted entry
- First launch