This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage_2cols.php
61 lines (44 loc) · 1.61 KB
/
page_2cols.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
<?php
/*
Template Name: Two columns layout
*/
?>
<?php get_header(); ?>
<div id="main">
<div id="primary">
</div>
<div id="content" class="normal">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<!-- item -->
<div class="item entry" id="post-<?php the_ID(); ?>">
<div class="itemhead">
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="date"><?php the_time('j. F, Y') ?> </div>
<?php the_content('Číst dále »'); ?>
<small class="metadata">
Rubrika <span class="category"><?php the_category(', ') ?> </span> | <?php edit_post_link('Editovat', '', ' | '); ?> <?php comments_popup_link('Komentář (0)', ' Komentář (1)', 'Komentáře(ů) (%)'); ?></small>
<div style="clear:both;"></div>
<div style="clear:both;"></div>
</div></div>
<!-- end item -->
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Předchozí příspěvky') ?></div>
<div class="alignright"><?php previous_posts_link('Další příspěvky »') ?></div>
<p> </p>
</div>
<?php else : ?>
<h2 class="center">Nenalezeno</h2>
<p class="center">Je nám líto, ale hledáte něco, co tu není.</p>
<?php endif; ?>
<!-- end content -->
</div>
<div id="secondary">
<?php include(TEMPLATEPATH."/r_sidebar.php");?>
</div>
<div style="clear:both;"></div>
<div style="clear:both;"></div>
</div>
<?php get_footer(); ?>