This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
taxonomy-project_category.php
78 lines (63 loc) · 2.98 KB
/
taxonomy-project_category.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
<?php
/**
* @package GNOME Website
* @subpackage Grass Theme
*/
/*
add_action('wp_head', function() {
echo '<link rel="stylesheet" type="text/css" media="all" href="'.get_bloginfo('template_url').'/css/project.css" />'."\n";
});*/
require_once("header.php"); ?>
<!-- container -->
<div id="container" class="two_columns">
<div class="container_12">
<div class="page_title">
<h1><a href="<?php bloginfo('url'); ?>/conferences/"><?php echo __('Συνέδρια', 'grass');?></a></h1>
</div>
<div class="sidebar">
<?php include('applications_sidebar.php'); ?>
</div>
<div class="content">
<div class="applications_list">
<div class="row">
<?php $i = 0; while ( have_posts() ) : the_post(); ?>
<div class="item">
<div class="icon">
<a href="<?php the_permalink();?>">
<?php
if (has_post_thumbnail($post->ID)) {
echo get_the_post_thumbnail($post->ID, 'icon-small');
} else {
echo '<img src="'.get_bloginfo('template_url').'/images/applications/events-64.png" alt="" />';
}
?>
</a>
</div>
<div class="main">
<h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
<p><?php the_excerpt();?></p>
</div>
</div>
<?php if ($i % 2) echo '</div><div class="row">'; $i++; ?>
<?php endwhile; // End the loop. Whew. ?>
</div>
</div>
<?php if ($wp_query->max_num_pages > 1): ?>
<div class="page_navigation">
<span class="prev"><?php previous_posts_link(__('Previous page', 'grass')); ?></span>
<span class="next"><?php next_posts_link(__('Next page', 'grass')); ?></span>
<div class="clear"></div>
</div>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php
$footer_art = 'applications';
require_once("footer_art.php");
?>
</div>
</div>
<div class="clearfix"></div>
<?php require_once("footer.php"); ?>
</body>
</html>