login.php 1.62 KB
<?php
/**
 * Template Name: Login
 *
 * Template for displaying a page without sidebar even if a sidebar widget is published.
 *
 * @package Understrap
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

get_header();
$container = get_theme_mod( 'understrap_container_type' );

if ( is_front_page() ) {
	get_template_part( 'global-templates/hero' );
}

$wrapper_id = 'full-width-page-wrapper';
if ( is_page_template( 'page-templates/no-title.php' ) ) {
	$wrapper_id = 'no-title-page-wrapper';
}
?>


<div class="hero-container header-section blur-image" data-src="/wp-content/themes/understrap-child/images/login.png" style="--med-image: url(/wp-content/themes/understrap-child/images/login.png);">
	<div class="full-image-login">
		<div class="container">
			<div class="hero-content row">				
				<div class="col align-self-center">
				<img width="580" height="254" src="/wp-content/themes/understrap-child/images/logo.png" class="img-fluid" alt="StellerVista Connect" decoding="async" >
							<?php
							
							while ( have_posts() ) {
								the_post();
								get_template_part( 'loop-templates/content', 'page' );

								// If comments are open or we have at least one comment, load up the comment template.
								if ( comments_open() || get_comments_number() ) {
									comments_template();
								}
							}
							?>					
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<div class="login-footer ">		
	<div class="container ">
			<div class="row">				
				<div class="col align-self-center login-footer-text" style="margin-top:70px;">
					Bank like you live here.	
		</div>
	</div>
</div>
</div>
<?php
get_footer();