The simplest method would be to create a single page and use a custom page template.
For example, make a page with slug my-account
. Then create a template and name it page-my-account.php
.
Then within that template, check if the user is logged in, and load their data if they are.
if( is_user_logged_in() ){
$current_user = wp_get_current_user();
echo 'Username: ' . $current_user->user_login . '<br />';
echo 'User ID: ' . $current_user->ID;
} else {
echo 'You must be logged in to view this page';
}
Related Posts:
- Allow access on a page to just only a specific member
- WordPress membership site for a sports club
- I’m looking to add membership to my site, any plugins that would be compatible [closed]
- WordPress Plugins vs Traditional PHP membership website [closed]
- Let users register and show them a members only area (without plugin)
- My account staying logged when the browser closed
- Dynamic Home Page based on Log in status
- New User Sessions in WordPress?
- Premium Members Section of website
- How to get membership level id f a particular user [closed]
- Not for profit membership site on WordPress
- What is the best way to achieve unique Member functionality?
- Check if something is (not) in a list in Python
- How many users can WordPress handle?
- WordPress as a CMS Membership website
- Exclude pages from WordPress search result page
- Stop users from logging in from multiple locations
- Limit users to one active subscription in WooCommerce Subscriptions? [closed]
- Paid member plugin with some specific features [closed]
- Compare post levels and user levels wishlist member
- How can I only show certain posts?
- Conditional Tags for Membership Levels when using Wishlist Member Plugin?
- woocommerce and is_user_logged_in() if not redirect to homepage
- How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?
- advance membership managment
- Private member page
- “Members only” section of a WordPress site – self signup and no backend access
- How can I allow access to multiple users, using the same login, at the same time?
- Front End Plugin for User Management [closed]
- Coupon codes and wordress; Membership plugin, tertiary plugin or shopping cart? [closed]
- How to get membership level for specific user email
- Redirect user to a form until they have filled it out [closed]
- How can I allow an User to publish only 5 posts per month?
- Plugin Development for registered users
- How to get membershiplevel from WordPress Database?
- Stop the execution of foreach loop which extract data from array?
- How to show different sub sites based on Member’s user name In word press?
- Implementing an image hosting website using WordPress? [closed]
- Strange behaviour of is_user_logged_in() and get_current_user_id()
- Sort posts in loop by the WooCommerce Membership of the author
- WordPress Phone Verification
- Enabling Cache on WP Membership Sites. Good OR Bad?
- Downloadable content only for subscribers?
- WordPress User Post Products
- Using WordPress to build membership Page
- Advice on redirect to lock site from unauthorized users
- Make new users automatically approved
- Associate Posts with individual user – hide from other members
- Is a multisite install what I need?
- Conditional Tag for Wishlist membership. If the user is added to two levels show particular content
- How to create a front facing user sign up, log in and profile pages like FoodGawker.Com [closed]
- Which Membership Plugins Allow Registered Users To Bookmark Posts? [closed]
- WordPress Membership Plugin Advice [closed]
- How to add user registration and signup in WordPress and create members only page?
- Membership & Event Registration/Management plus-ins for non-profit [closed]
- Constructing a Pay to Download music website with wordpress
- How to setup a membership system in WordPress?
- How to show the urls inside the simple product when the customer buys it?
- Create relationship between custom post types and users
- Link custom post type to users membership
- One Time Access URL after purchasing subscription
- Any tips for a plugin to define specific pages navigation for specific types of users / members? [closed]
- Is it safe to use the basic administration with reduced rights for private member space
- Need help with Task assigning and rewarding as currency which withdrawable
- Which membership plugin for a simple sign in? Personal areas for customers
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- Membership and search criteria
- how to handle premium features in a wordpress plugin?
- Student access credentials
- Create Member who can’t be changed
- generate PDF from member information
- Creating one user access account for all the multiple sites
- Preventing RSS feeds access to the authenticated uses only
- Memberpress: Can I add a second email address?
- How to mask external download links to be only accessible by logged-in users?
- Public WP website with one area just for members
- One membership area for two websites
- Members-only page, but accessible via sharable link
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- Admin Access for specific page(s)
- Woocommerce Membership synchronised accross multisite
- Which Membership Plugin? [closed]
- User login without username, only password
- search does not yield access restricted results
- Wishlist Content
- Memberpress isn’t cooperating with WooCommerce
- What is the best way to build a network of WP sites that share the same membership area?
- Advice on setting up private site
- Suggestions for allowing basic users to view their own posts?
- how to implement club post type
- Step by Step Instructions for Making Media/Uploads Private to Only Logged-In Users
- Permissions question [closed]
- Membership Plugin [closed]
- How to block external download link access if visitor not referred from WP?
- Managing users / external login
- Masking external links with internal link for member-only
- Need help with restricted page for users
- registration plugin [closed]
- Username character requirements
- Membership website with discount on scheduled appointment