Created
March 4, 2012 03:46
-
-
Save zanematthew/1970585 to your computer and use it in GitHub Desktop.
WordPress Ajax Login -- Target Div snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Target div for login form and container for dialog. | |
* | |
* This could easily be hooked into wp_footer() or just pasted into footer.php | |
* We have out parent div which is the dom element that jQuery UI modal is | |
* being attached to. The child div is our target element for our ajax | |
* requested form. | |
*/ | |
?> | |
<div id="bmx_rs_dialog" class="dialog-container" title="Login"> | |
<div id="bmx_rs_login_target" style="display: none;" class="bmx-rs-login-dialog"></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment