-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharchive-dweb_projects.php
82 lines (57 loc) · 2.03 KB
/
archive-dweb_projects.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php get_header();?>
<!-- Content
================================================== -->
<section id="content">
<div class="row">
<div id="main" class="tab-whole eight columns entries">
<h1 class="text-center add-bottom">
Our Projects:
</h1>
<?php if( have_posts() ) :?>
<?php while( have_posts() ): the_post(); ?>
<article class="entry">
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-thumb">
<a title="" href="<?php esc_attr( the_permalink() ); ?>">
<?php the_post_thumbnail('full'); ?>
</a>
</div>
<?php endif; ?>
<header class="entry-header">
<h1 class="entry-title">
<a title="" href="<?php esc_attr( the_permalink() ); ?>"><?php esc_html( the_title() ); ?></a>
</h1>
<div class="entry-meta">
<ul>
<li><?php the_time( 'M d Y' ); ?></li>
<span class="meta-sep">•</span>
<li><a rel="category tag" href="#"><?php the_category(', '); ?></a></li>
<span class="meta-sep">•</span>
<li><a href="<?php the_author_link(); ?>"><?php the_author(); ?></a></li>
</ul>
</div>
</header>
<div class="entry-content">
<p><?php the_excerpt(); ?></p>
</div>
</article> <!-- /entry -->
<?php
endwhile;
endif; ?>
<div class="pagenav group">
<span class="prev">
<?php echo str_replace('<a', '<a rel="prev"', get_previous_posts_link('Next →') ); ?>
</span>
<span class="next">
<?php echo str_replace('<a', '<a rel="next"', get_next_posts_link(' ← Previous') ); ?>
</span>
</div>
</div> <!-- /main -->
<div class="tab-whole four columns end" id="secondary">
<aside id="sidebar">
<?php get_sidebar(); ?>
</aside> <!-- /sidebar -->
</div> <!-- /secondary -->
</div> <!-- /row -->
</section> <!-- /content -->
<?php get_footer();?>