Advertisement
jegtheme

jobplanet login

Mar 20th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.49 KB | None | 0 0
  1. <?php
  2. get_header();
  3.  
  4. add_filter('jeg_login_redirect', function(){
  5.     return jeg_create_job_url( 2 );
  6. });
  7.  
  8. add_filter('jeg_show_login_lost_password', function(){ return false; });
  9. add_filter('jeg_show_login_remember', function(){ return false; });
  10. add_filter('jeg_show_login_social', function(){ return false; });
  11. add_filter('jeg_login_role', function(){ return Jeg_Account::EMPLOYER; });
  12. ?>
  13.  
  14. <!-- body-content -->
  15. <div class="body-content clearfix" >
  16.  
  17.     <?php jeg_get_template_part('job/step'); ?>
  18.     <div class="bg-color5 block-section">
  19.         <div class="container">
  20.             <div class="panel panel-md">
  21.                 <div class="panel-body">
  22.                     <div class="row">
  23.                         <div class="col-md-12">
  24.                             <h4><?php _e('Login', 'jobplanet-plugin'); ?></h4>
  25.                             <hr/>
  26.                             <?php jeg_get_template_part('account/fragment/login-form'); ?>
  27.                         </div>
  28.                     </div>
  29.                 </div>
  30.             </div>
  31.             <div class="white-space-20"></div>
  32.             <?php if(get_option( 'users_can_register' )) : ?>
  33.             <div class="text-center">
  34.                 <a href="<?php echo esc_url(jeg_get_account_url('register')); ?>"><strong><?php _e('Create a free account', 'jobplanet-plugin'); ?></strong></a>
  35.             </div>
  36.             <?php endif; ?>
  37.         </div>
  38.     </div>
  39. </div><!--end body-content -->
  40.  
  41.  
  42. <?php
  43. get_footer();
  44. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement