Title: Passing credentials to WordPress
Last modified: August 24, 2016

---

# Passing credentials to WordPress

 *  [DuaneBender](https://wordpress.org/support/users/duanebender/)
 * (@duanebender)
 * [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/)
 * I live in a 55+ community, and I am using WordPress for the blog/website of a
   club within that community. The community’s website will have a link to our club’s
   blog. This link will be accessible to the general public (who may be looking 
   for info on the community’s activities and clubs) and to residents who have logged
   in to the website to access resident-restricted material.
 * We would like to have this link display general information about the club to
   non-registered users, and to display private information (like club members’ 
   contact info) only to residents who have logged in to the main site. We would
   like to avoid requiring a second login after reaching the club’s blog.
 * Is there a way for WordPress to know whether the user who clicks this link is
   logged in to the main site? That site uses JavaScript and JQuery UI, by the way.
   Thanks.
 * Duane Bender

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/#post-6130324)
 * Hi Duane,
 * The [Members plugin](https://wordpress.org/plugins/members/) offers a fairly 
   simple solution for hiding content from logged out users. You can limit visibility
   of whole pages, or only part of pages by using the included shortcodes.
 * You may also want to check out [Restrict Content](https://wordpress.org/plugins/restrict-content/)
   or [Restrict Content Pro](https://pippinsplugins.com/products/restrict-content-pro/),
   depending on your needs.
 *  Thread Starter [DuaneBender](https://wordpress.org/support/users/duanebender/)
 * (@duanebender)
 * [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/#post-6130331)
 * Thanks for the quick response. I had read about Members, and it may be a good
   solution for us, if I can work out the credentials-passing issue. The question
   is whether a user who is logged in on the community’s main website can click 
   a link to our blog and have his already-established credentials passed to the
   blog’s site. To avoid making a member log in again on our blog site, I’d like
   to have registered members recognized, based on the hand-off from the main site.
   Seems like there should be a way to pass this info via javascript, maybe?
 *  [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/#post-6130333)
 * Oh I missed that part. So your main site isn’t WordPress? If not, passing credentials
   securely by integrating with another authentication system can be quite involved.
 * What kind of authentication system is on the main site?
 *  Thread Starter [DuaneBender](https://wordpress.org/support/users/duanebender/)
 * (@duanebender)
 * [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/#post-6130338)
 * I’ll have to find out, because I don’t maintain the main site. All I know is 
   that the login page is:
 * [http://www.heritageeaglebend.com/login.php?error_message=1](http://www.heritageeaglebend.com/login.php?error_message=1)
 * So I assume it uses PHP on their server. Thanks again for your help.
 * Duane

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Passing credentials to WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [DuaneBender](https://wordpress.org/support/users/duanebender/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/passing-credentials-to-wordpress/#post-6130338)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
