there you go, i’m not the only one trying to bring back-end functionality to the front-end.
anyway its not that hard go to your “USER DASHBOARD” template’s file and locate where the loop starts something like:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
and just above it paste this code:
<?php
/* First get the user info */
get_currentuserinfo();
/* Then query_posts by user id */
query_posts(array('author'=>$current_user->ID));
/* And Last just loop thrugh the posts */
?>
hope this helps 🙂
Related Posts:
- How to programatically change username (user_login)?
- How to restrict access to uploaded files?
- Allowing users to edit only their page and nobody else’s
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Hide Admin Menu for Specific User ID who has administrator Role
- Allowing an email as the username?
- Check if specific username is logged in
- Basic auth WordPress REST API dilemma
- Copy a user from one WordPress site to another
- Front end user meta options for users
- How to customize wp_signon()
- Can I create users that have access to *some* other users posts instead of all other users posts?
- Set default page for user account in admin
- Share user table from WP with Drupal
- Log all users out of all locations after 24 hours
- Hide everything on site for visitors except specific page IDs
- Managing Users and Creating Groups [closed]
- show text If special user is logged
- Upgrade Nightmare – No Posts, Permissions Issues and Can’t Create a new post
- How to disable a specific page for a specific user
- Allow user access to Dashboard only!
- Restrict access of admin uploads to certain logged-in users?
- wordpress user roles are not working
- Displaying different in-page content to cliente/admin
- Problem with automatic role change through cron job
- Reset Password policy
- How can I allow an User to publish only 5 posts per month?
- Where are $current_user->allcaps set?
- How do you manage your pages or functions that require logged-in users?
- Allow admins to login as other users
- Can I Create a Second Admin Level User Role?
- Delete a user from frontend
- Unique password to access a section site
- One Click Access To Users Account In WordPress?
- Using my own user table
- WordPress user role with create user capability?
- Update user role for expired membership
- How to use url formatter with integer
- Custom User Role: Can Edit Own Page, Cannot Create New
- WordPress install checking permissions of user id 0
- throttle/limit a logged in user’s http requests to specific page on a per day basis
- Allowing users to edit only their page and nobody else’s
- How to bulk change user role to “No role for this site”
- Restrict Access to the User Profile
- post acces for guests / unregistered users only
- Username has been exposed
- view and update form only for registered users
- Control Category of each user can post
- Limit user access to installing/configuring a plugin?
- determine active user browser at the same time
- MySQL query to list users who never signed in
- Wordpres password as plain text in email
- WordPress password as plain text in email
- (How) does WordPress protect direct access of user data?
- How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
- Find out if logged in user is not subscriber
- Get multiple roles with get_users
- How to Merge Two Authors Into One?
- Whats the best way to share user data across multiple WordPress websites?
- What the user_status column?
- Display edit link if post author is current user
- How to change WordPress user ID?
- How to assign an additional/extra/second user-role to multiple users (of a specific user-role)
- Can I hook into the invite user process to verify their email address is from a certain domain?
- wp_insert_user is not working for me?
- Is there any way to access Ultimate Member’s custom fields?
- New user notification doesn’t include activation link
- Add custom fields to the user profile
- Undeleting a deleted user
- Disable user profile editing for one user
- Is it possible to get the currently logged in admin’s IP?
- Sort users by userID by default on users.php
- How to delete user on logout and when session expires?
- WP_User_Query – searching multiple fields
- wordpress disable login for unverified user
- Limitations when adding new users
- Fetch all data of Users
- Get an array of all users of a custom role type to send an email notification on post update
- How to make Users sort in reverse order by default?
- How to get ID of Edit User page during wp_handle_upload_prefilter, whilst in Media picker?
- What is correct way to change user’s email?
- Get registered user’s country or IP
- How to make current user’s avatar + display name link to their profile?
- Import users once a day without a plugin
- Custom capability for a single user
- How do I modify the user role ‘subscriber’ to allow the user to delete posts
- delete_user_meta from a foreach results page
- Is it possible with a code snippet to display a green dot on top of every avatar on a WordPress site for each user that is online?
- How to display all user profile info in myaccount page wordpress
- Need to use WordPress page as authentication for different service
- Safely changing UserID’s, re-using deleted UserID’s and automatically using deleted userID’s instead of an increment
- How to make custom user profile page public?
- Change user URL
- Deleting anonymous wp_users function not working?
- Cloning admin pages like users.php
- Does WordPress Need BuddyPress to Handle Large Amounts of Users?
- each user having category with their name and can add sub categories post in that category
- Securely log in a user without a password using a link?
- No one can edit post/pages by Administrator
- How to add custom detail page for a Subscriber at Admin Panel