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
- If the current user is an administrator or editor
- How do I add a field on the Users profile? For example, country, age etc
- Groups of capabilities: users with multiple roles?
- Execute a function when admin changes the user role
- Best way to send users password?
- Extending WP_User class and using this sub-class during the whole lifecycle
- Why does is_user_logged_in() return false after redirect from another site?
- How can I add a user through SQL?
- How to use tinyMCE for user “biographical info” without messing with any core file?
- How to change the order in which users are displayed in admin?
- How Do I Prevent Junk Account Creation?
- Hide a user from WordPress
- Cannot set user passwords
- How can I retrieve current user id within wordpress plugin?
- How can I verify users facebook ID that he provides during signup process
- Generate unique number when registering a new user
- WordPress User Meta & ChromePHP or other way to debug/view php variables
- How to change textarea rows height for user’s biographical Info?
- Getting author page slug from get_users() or get_userdata() functions
- How to add user from front end
- Subsite access without being a member of the subsite in wp multisite network
- I am getting mysql_real_escape_string() function error while adding user?
- Getting the age of a users account
- New user form rejected because “passwords don’t match”—but there’s only one password field
- Unable to change email address of admin on localhost
- User roles not displaying
- How to expire user registration?
- Echo a list of all subscriber’s user IDs
- wp_delete_user – huge overhead in Buddypress?
- Get current logged-in user from external site
- Delete all users with Editor role and their content mysql
- Send user auto generated password on different email
- Get UserInfo from WordPress
- How to display a calendar with events depending on the user?
- Single Sign On (SSO) between two WordPress websites
- restrict admin panel sections to users
- $user_login is not working if author has only 1 post
- Showing extra profile fields in admin – problem with underscore
- Insert query not working for non-logged in user
- How to create a link to a user’s profile page
- Storing additional information about the user
- Current User Seeing Another Logged In User Info
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- How can I list users by date in an array in meta_value?
- Email Subscribe for Downloads in WordPress
- Cant edit profile from frontend
- Can I provide a user’s user_ID to them and can it also be searchable in a member’s directory