-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.php
60 lines (41 loc) · 1.58 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
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
get_header(); ?>
<div class="grid-x grid-padding-x">
<div class="medium-8 cell">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
the_title( '<h1>', '</h1>' );
the_content();
endwhile;
the_posts_navigation();
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
else :
echo esc_html( 'Sorry, no posts' );
endif;
if ( is_home() ) : ?>
<h4 style="margin-top: 1.25em;">Tabs</h4>
<ul class="tabs" data-tabs id="example-tabs">
<li class="tabs-title is-active"><a href="#panel1" aria-selected="true">Tab 1</a></li>
<li class="tabs-title"><a data-tabs-target="panel2" href="#panel2">Tab 2</a></li>
</ul>
<div class="tabs-content" data-tabs-content="example-tabs" style="margin-bottom: 5em;">
<div class="tabs-panel is-active" id="panel1">
<p>Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum feugiat nisl ut dapibus.</p>
</div>
<div class="tabs-panel" id="panel2">
<p>Suspendisse dictum feugiat nisl ut dapibus. Vivamus hendrerit arcu sed erat molestie vehicula. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor.</p>
</div>
</div>
<?php
endif; ?>
</div>
<aside class="medium-4 cell">
<?php get_sidebar(); ?>
</aside>
</div>
<?php
get_footer();