This topic contains 1 reply, has 2 voices. Last updated by Cristián Lávaque 3 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Feb 21st, 2013 at 8:49 pm #42774 | |
I’m trying to make a FREE membership site where people have to login/join to get access to certain content. On each post, I want to give some preview content, and then hide the most critical part of the content using shortcode conditionals. A logged in user would see the full content right away. A not-logged-in user would see the preview content, then a login box with an option to create an account if they don’t already have one. If they login, I want them to be immediately returned back to the same page they were already on, but this time as a logged in member (seeing full content). If they create an account, I’d like them to create it in as few steps as possible, and then be automatically logged in and returned to the same page on which they started, but with full access. This brings up several questions: 1) How do I get the login box into the body of the page, instead of in a widget/sidebar? I read a bit about a Pro Login Widget via PHP, but when I pasted this code into the HTML of my post… 2) Would it simplify things if I put the login in the sidebar instead? 3) How do I get the user redirected back to the same post after logging in? 4) How do I get the user redirected back to the same post after creating a new account? Thanks, |