Take a look at theme my login which covers:
- Redirect users upon log in and log
out based upon their role - Require users to be approved and
confirm e-mail address upon
registration
and in order to create you member only pages you can use your regular pages and simply add this function to your theme’s functions.php is_user_logged_in()
add_shortcode('member_only','member_only_shortcode');
function member_only_shortcode($content){
if ( is_user_logged_in() ) {
return $content;
} else {
return __('You must log-in to see this content ');
}
}
usage: [member_only]content to show your members[/member_only]
Related Posts:
- Membership / subscription plugins – alternatives [closed]
- Allowing members to upload photos to their profile
- Front End Plugin for User Management [closed]
- How can I capture Memberpress user info after signup [closed]
- How to create restrict content to users (by user, not by role)
- Using Wishlist Member and I need to access a user’s status
- Implementing an image hosting website using WordPress? [closed]
- Is there a social members only login plugin for WordPress? [closed]
- Paid Membership Pro with ACF [closed]
- WordPress User Post Products
- Using WordPress to build membership Page
- Which Membership Plugins Allow Registered Users To Bookmark Posts? [closed]
- WordPress Membership Plugin Advice [closed]
- Constructing a Pay to Download music website with wordpress
- Custom fields not showing up in the user info (PaidMembershipsPro)
- Any tips for a plugin to define specific pages navigation for specific types of users / members? [closed]
- Need help with Task assigning and rewarding as currency which withdrawable
- Which membership plugin for a simple sign in? Personal areas for customers
- Membership and search criteria
- Student access credentials
- Creating one user access account for all the multiple sites
- Memberpress: Can I add a second email address?
- Public WP website with one area just for members
- Members-only page, but accessible via sharable link
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- User / membership Plugin [closed]
- Which Membership Plugin? [closed]
- Custom user data capture form with auto membership ID
- Wishlist Content
- Advice on setting up private site
- Permissions question [closed]
- How to block external download link access if visitor not referred from WP?
- Managing users / external login
- Plugin Recommendation for selling one page content [closed]
- Need help with restricted page for users
- Looking for membership style plugin with edit option [closed]
- registration plugin [closed]
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- How to get home page ID?
- How to get the active theme’s slug?
- WordPress plugin executing code twice
- How to Override a Pluggable Function
- Does WordPress contain “default” anti-SQL injection code that responds with a 404 error?
- Which method is best to enqueue scripts
- Removing blank spaces from scripts to reducing page load time
- How to override a theme function (within a class) using a plugin
- Is there a WordPress Plugin that allows voting “does this coupon work” on specific links like Retailmenot
- Don’t send notification if author comments his own post plugin help?
- Custom interval is not working
- ‘Easy Table’ Plugin has float issues
- Force plugin to fail activation
- Can anyone identify this like plugin (not facebook like)?
- Feature Differences between WordPress.com and Hosting on your Own Server?
- How do you add custom logo to entire themes
- wp_get_environment_type is undefined
- Is the wordpress user-model changed in wpmu?
- Need help restoring my WordPress blog
- White page on custom plugin option submit
- “Request has expired” with “Make your site social” (Gigya) plugin
- WordPress display breadcrumbs using Yoast plugin [closed]
- How to change this WP_Query to get all ProductIDs and not only specific one?
- WordPress plugin output formatting
- how to use in custom single.php template using php?
- Automatically Assign Author to Category [closed]
- How to Create a shortcode to this php function
- How to add CSS via custom plugin?
- How to add custom table style for table block in gutenberg editor
- One sub site is slow while all others load fine, same theme & plugins [closed]
- Issues with a WP plugin menu system
- WordPress Ajax code is not Working
- Add a “View all” button on WooCommerce product archives pages
- I am trying to make a field show and save from quickedit screen
- How do I add an options page at the bottom of the list?
- What goes into wp_postmeta and why?
- A question of etiquette when forking a plugin? [closed]
- how to request a script more than once in wordpress
- WordPress Plugin for pastimes/participation in contest [closed]
- How do I create pages within a WordPress post?
- Ajax 400 error when used inside a plugin
- how to show all posts of each category in pages
- Error thrown Call to a member function get() on null
- Pricing Calculator – WordPress
- reminder wp_schedule_event
- Undefined offset: 0 in WordPress after latest version upgrade [closed]
- Make the product page as homepage WooCommerce
- Adding shortcodes to multiple pages with function
- Media Dialog CSS broken in WP v.5.3.2
- Slide through page effect?
- Get a list of Product Categories inside a loop
- Suspect incomplete .pot file – what to do?
- What’s the preferred method of writing AJAX-enabled plugins?
- WordPress API hook
- jquery conflict with widget page
- Automatically add child pages to menu
- Infinite Scroll plugin scrolling truly “infinitely” (i.e. does not recognize end of posts)
- Simply Exclude – Category feed exclusion is excluding from category feed instead of just the main feed
- White Screen When Includding A Folder With PHP Files
- making a simple plugin
- Custom single-product page for product from category x
- Private plugin updating – GitHub zip file changes the plugin directory (with release or branch name)