-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
52 lines (52 loc) · 1.72 KB
/
Copy pathindex.php
File metadata and controls
52 lines (52 loc) · 1.72 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 get_header(); ?>
<div id="main">
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div class="entry-date">
<div class="entry-month">
<?php the_time('M'); ?>
</div>
<div class="entry-day">
<?php the_time('d'); ?>
</div>
</div>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<?php the_title(); ?>
</a></h2>
<div class="entry-meta">Автор <?php the_author(); ?> Рубрика <span class="catposted">
<?php the_category(', ') ?>
</span> <strong>|</strong> <span class="comments">
<?php comments_popup_link('0 Комментариев »', '1 Комментарий »', '% Коментариев »'); ?>
</span> </div>
<div class="entry-content">
<?php the_content('<p class="serif">Подробнее »</p>'); ?>
<?php edit_post_link('Ред.', '<p>', '</p>'); ?>
</div>
<?php wp_link_pages();?>
</div>
<!-- end the post div-->
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft">
<?php next_posts_link('« Previous Entries') ?>
</div>
<div class="alignright">
<?php previous_posts_link('Next Entries »') ?>
</div>
</div>
<?php else : ?>
<h2 class="center">Не найдено</h2>
<p class="center">Извините, но Вы ищете не здесь.</p>
<?php get_search_form(); ?>
<div class="navigation">
<?php posts_nav_link();?>
</div>
<?php endif; ?>
</div>
<!-- end content div-->
<?php get_sidebar(); ?>
</div>
<!-- end the main div-->
<?php get_footer(); ?>