-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
41 lines (37 loc) · 865 Bytes
/
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
32
33
34
35
36
37
38
39
40
41
<?php
/**
* The header template file.
* @package OcuTheme
* @since OcuTheme 1.0
*/
?>
<?php get_header();
global $themeurl;
?>
<div class="container">
<div class="row">
<div class="col-lg-8">
<?php if(have_posts()): while (have_posts()): the_post();?>
<div class="media">
<h1><?php the_title();?></h1>
<ul class="breadcrumb">
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Home</a></li>
<li class="active"><a href="<?php the_permalink();?>"><?php the_title();?></a></li>
<li class="navbar-right"><?php the_time('m-d-y')?> Written by:
<?php the_author_posts_link(); ?></li>
</ul>
<article>
<?php the_content();?>
</article>
</div>
<?php
endwhile;
else:
echo '</p>Belum ade artikel</p>';
endif;
?>
</div>
<?php get_sidebar();?>
</div>
</div>
<?php get_footer();?>