I want to create a custom front page for a Wordpress site, which will have an image, some text, an embedded login form, and a metaslider slider, and nothing else (no menu, no sidebar, no footer). Anyone visiting the site should be presented this page, and should be able to login with their credentials.
How do I create such a custom front page?
I've tried creating the page (with front-page.php) but the login form doesn't work, and slider, inserted via shortcode, isn't displayed. I'm using underscores theme.
This is all of the front page content I want to display:
<div class="w25">
<img src="<?php echo get_bloginfo('template_directory');?>/img/slogo.jpg" />
<p>Short introduction comes here.</p>
<a href="#">Contact Us</a>
<br /><br />
Log in:
<?php wp_login_form(); ?>
</div>
<div class="w75"><?php echo do_shortcode("[metaslider id=1749]") ?></div>
Although this code does work when I paste it in header.php, but not in this div: <div id="content" class="site-content">