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! While you're at it, check out some resources Treehouse students have shared here.

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


Zong Han Huang
Zong Han Huang
161 Points

Wordpress custom sign up in popup

Hi, I'm trying to customize sign up page in popup. I create an overlay and show /wp-signup.php/ content in that overlay. I want to that when user click Next button that will still in the overlay, but right now it direct to /wp-signup/ page not in the overlay.

This is my site(please click open): http://adword.vip/

I want to like :http://edublogs.org/


<!-- The overlay -->
<div id="myNav" class="overlay">
 <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">Ɨ</a>
   <!-- Overlay content -->
  <div class="overlay-content" id="overlay-content">
<span id="open" onclick="openNav()">open</span>




    jQuery("#overlay-content").load( '/wp-signup.php');

I think problem is in

    jQuery("#overlay-content").load( '/wp-signup.php');

What can I do? or is there any better way?

Thanks for help.