• 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)
  • Hi Duane,

    The Members plugin 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 or Restrict Content Pro, depending on your needs.

    Thread Starter DuaneBender

    (@duanebender)

    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?

    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

    (@duanebender)

    I’ll have to find out, because I don’t maintain the main site. All I know is that the login page is:

    https://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.