-
Author
-
October 21, 2013 at 13:57 #4759gideon1210Participant
How do you make the homepage just a login and signup page so there is no header or footer like Twitter or Facebook, so the login box goes through to the Members page and the register box goes to the registration page
October 21, 2013 at 19:20 #4776JohnDoeParticipantInstead of doing that, make a landing page, then when they are registered through there, make it redirect to your Homepage or whatever page you want.
October 21, 2013 at 19:35 #4780gideon1210Participantnot really pretty basic want i want to try to do is have the home or landing page like the twitter or facebook home page with a register box and a login box which directs them accordingly to the main site
October 21, 2013 at 19:46 #4782JohnDoeParticipantThat’s called, a Landing page 😉
in the index.php it says :
get_header(); ?>
and
<?php get_footer(); ?>
so if you want to do this, you can’t make the page withing WordPress, but make a custom page .
you could use the modal signup form code :
<form id=”register_form” action=”<?php if (function_exists(‘bp_is_active’)) bp_signup_page(); else echo get_bloginfo(‘url’).”/wp-login.php?action=register”; ?>” name=”register_form” method=”post”>
<div class=”six columns”>
<input type=”text” id=”reg-username” name=”signup_username” class=”inputbox” required placeholder=”<?php _e(“Username”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”text” id=”fullname” name=”field_1″ class=”inputbox” required placeholder=”<?php _e(“Your full name”, ‘kleo_framework’);?>”>
</div>
<div class=”twelve columns”>
<input type=”text” id=”reg-email” name=”signup_email” class=”inputbox” required placeholder=”<?php _e(“Your email”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”reg-password” name=”signup_password” class=”inputbox” required placeholder=”<?php _e(“Desired password”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”confirm_password” name=”signup_password_confirm” class=”inputbox” required placeholder=”<?php _e(“Confirm password”, ‘kleo_framework’);?>”>
</div>Hope i helped u a bit
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.