forked from arrizalamin/MediumPress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthor.php
More file actions
34 lines (22 loc) · 644 Bytes
/
author.php
File metadata and controls
34 lines (22 loc) · 644 Bytes
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
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class('index-box') ?>>
<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
<div id="post-<?php the_ID(); ?>" class="post-title">
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</div>
<div class="post-content">
<?php the_excerpt(); ?>
</div>
<div class="post-meta-data">
<?php the_tags('Tags: ', ', ', '<br />'); ?>
</div>
</div>
<?php endwhile; ?>
<div>
<?php else : ?>
<h2>Nothing found</h2>
<?php endif; ?>
<?php get_footer(); ?>