forked from digitoimistodude/air-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
front-page.php
31 lines (26 loc) · 864 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
29
30
31
<?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: 2022-02-08 17:22:02
*
* @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();
air_edit_link();
?>
</main>
<?php get_footer();