-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
executable file
·47 lines (46 loc) · 1.42 KB
/
index.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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class() ?>>
<!-- Header: Your site logo, tagline and project status. -->
<header class="row" id="header">
<div class="content">
<!-- Logo & Tagline: Delete "class="logo"" to remove the logo or upload your own logo to "assets/images". -->
<span<?php echo get_theme_mod( 'logo' )?' class="logo"':''; ?>><?php echo get_bloginfo( 'name', 'display' ); ?></span>
</div>
<!-- Status: Change the numbers below to reflect your project status. -->
<div class="status" style="width: <?php echo get_theme_mod( 'percent', launch::$options['percent'] ); ?>%;">
<span><?php echo get_theme_mod( 'percent', launch::$options['percent'] ); ?>%</span>
</div>
</header>
<div class="row" id="intro">
<div class="content">
<?php
// Main loop: heading, text, subscriptipon form
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'content', 'front' );
endwhile;
endif;
// Social Links Menu
$args = array(
'theme_location' => 'social',
'container' => 'div',
'container_class' => 'row',
'container_id' => 'social',
'echo' => true,
'fallback_cb' => false,
'items_wrap' => "\n".'%3$s'."\t\t\t\t",
'depth' => 1,
'walker' => new launch_walker()
);
$args = apply_filters( 'launch_menu', $args );
wp_nav_menu( $args );
?>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>