-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlong-term.php
More file actions
52 lines (43 loc) · 1.67 KB
/
Copy pathlong-term.php
File metadata and controls
52 lines (43 loc) · 1.67 KB
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
<?php
/*
Template Name: Long Term
*/
?>
<?php include("header.php"); ?>
<div class="wrapper">
<?php while ( have_posts() ) : the_post(); ?>
<div class="g3">
<h2 class="vision">Long Term <span class="icon">3</span></h2>
<div class="headline"><?php the_content(); ?></div>
</div>
<?php endwhile; // end of the loop. ?>
<div class="cf"></div>
<?php query_posts('post_type=long-term&posts_per_page=-1');
if (have_posts()) : while (have_posts()) : the_post(); $count++; ?>
<div class="g1">
<a href="<?php the_permalink() ?>">
<?php echo the_post_thumbnail('full');?>
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></h3>
<h4><?php //echo get_post_meta($post->ID, 'location-specifics', true);
?></h4></a>
<?php
global $more;
$more = 0;
the_excerpt();
echo '</div></a>';
if ( 0 == $count%3 ) {
echo '<div class="cf"></div>';
}
endwhile; endif; //ending the loop
if ( 0 != $count%3 ) {
echo '<div class="cf"></div>';
}
wp_reset_query();
?>
<div class="g3">
<?php the_apply_project_button(); ?>
</div>
</div>
<!-- end of wrapper -->
<?php include("footer.php"); ?>