Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Naftoli Versch
1,122 PointsSign In to post Comments
Setting up my first Wordpress - when requiring users to sign in to post, the page takes the user to the Wordpress website. How do I keep the user on MY site, so that they dont run away?
Also, is there a way to manage those who sign in so that I may offer them to join email lists that interest them?
Thanks!
10 Answers

Zac Gordon
Treehouse Guest TeacherHi Naftoli!
Are you using the WordPress.org or WordPress.com version?
With the .org version when a user clicks to login it will keep them on your site but take them to WordPress looking login page. You can customize this to look more like your site than the WordPress admin area if you need. Let me know if that's what you need and I can suggest some plugins.
For a .com site they will also be required to login via the WordPress.com login page and then redirect you. I don't think there is a way to change this.
Hope that helps!

Naftoli Versch
1,122 PointsHi Zac,
Were you waiting for me to watch the video on Contact Form 7? Does this form integrate with the registration, or is that a different plugin?
Thank you,
Naftoli

Zac Gordon
Treehouse Guest TeacherThe contact form is not related. What is the URL it takes you to when someone tries to register?

Naftoli Versch
1,122 PointsI activated Disqus as per the "Extra Credit" and, apparently, the commenter would have to sign in with Disqus, Fb, Twitter or Google. Does that take care of the issue?
At the same time, when someone does register, I want to capture their info and offer newsletters etc. Would that have to be done apart from Disqus?
Thank you Zac
PS I see that Jetpack has a subscription module; would this help?

Zac Gordon
Treehouse Guest TeacherOkay a couple of things. If you require registration from within WordPress then they will have to register through your site. If you use Disqus they will also have to log in with that or twitter or Facebook in addition to your site. When they register with your site you will get their email, but you must get their permission before starting to send them emails. You can add a custom registration field (search for custom registration field plugin) to ask them if they would like to receive emails. Never add people to mailing lists without their explicit agreement.
And yes, I would suggest Jetpack for the subscription service or importing your emails into something like mailchimp.com

Naftoli Versch
1,122 PointsThank you Zac; will be on it later and update/finalize.

Naftoli Versch
1,122 PointsHi, I realized that subscriptions on Jetpack is not what is needed. Goal is twofold: 1) Subscribe to post 2) Login to website/manage account (newsletters, subscriptions)
Re: 1) Discqus will take care of that, although it does require a second login. Re: 2) Could be Register Plus Redux is a plugin that would work (what do all websites that have logins do?)
I would think that there is a table in WP database that has to retain this information.
An example of login privilege would be to view premium content that non-logged in users cannot access.
Thank you;

Naftoli Versch
1,122 PointsHi Zac,
What are the plugins you were going to suggest earlier?
Thanks,
Naftoli

Zac Gordon
Treehouse Guest TeacherHere's the straight up way to do it: http://codex.wordpress.org/Customizing_the_Login_Form
Here are some plugins
- http://wordpress.org/plugins/custom-login/
- http://wordpress.org/plugins/yith-custom-login/
- http://wordpress.org/plugins/ag-custom-admin/ (pro version as well)
- http://wordpress.org/plugins/customize-admin/
Hope that helps!!! Let us know how it goes :)

Naftoli Versch
1,122 PointsThank you very much Zac; finished the Wordpress and appreciate your clear style and support.
I'll update later on, much appreciated!
Naftoli
Naftoli Versch
1,122 PointsNaftoli Versch
1,122 PointsHi Zac,
Thank you for your quick reply and your very clear delivery of material.
I am using .org, working on a site as we progress. Of course, any plugins you recommend will be taken up on.
Thanks again!