forked from digitoimistodude/air-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-page.php
28 lines (23 loc) · 837 Bytes
/
front-page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* The template for displaying front page
*
* Contains the closing of the #content div and all content after.
* Initial styles for front page template.
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2020-03-03 14:38:06
*
* @package air-light
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*/
namespace Air_Light;
// Featured image for Theme Checker (it's a requirement for theme to pass in official Theme directory)
// NB! Our dev version uses newtheme.sh build script which cleans ups things including this next line
$thumbnail = wp_get_attachment_url( get_post_thumbnail_id() ) ?: THEME_SETTINGS['default_featured_image'];
get_header(); ?>
<main class="site-main">
<?php the_content(); ?>
</main>
<?php get_footer();