-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
65 lines (50 loc) · 1.37 KB
/
home.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* The template for displaying home page.
*
* This is the template that displays home page of site.
*
* @package russell
*/
get_header();
?>
<div id="content" class="russell-content-wrapper russell-content-reverse">
<section class="russell-content-large russell-content-image">
<div id="loader-wrapper">
<div id="loader"></div>
</div>
</section>
<section class="russell-content-small russell-content-area">
<div>
<h1 class="russell-site-title">
<?php
if ( function_exists( 'jetpack_the_site_logo' ) && function_exists( 'jetpack_has_site_logo' ) && jetpack_has_site_logo() ) {
jetpack_the_site_logo();
} else {
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
<?php
}
$description = get_bloginfo( 'description' );
if ( ! empty( $description ) ) {
?>
<span><?php echo $description ?></span>
<?php
}
?>
</h1>
<?php
if ( class_exists( 'TitanFramework' ) ) {
$titan = TitanFramework::getInstance( 'russell' );
echo wpautop( esc_attr( $titan->getOption( 'russell_site_elaboration' ) ) );
} ?>
</div>
<div class="russell-copyright">
<?php russell_copyright(); ?>
</div>
</section><!-- .russell-content-small -->
</div><!-- .russell-content-wrapper -->
<?php
get_footer();