-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
32 lines (31 loc) · 1.23 KB
/
index.php
File metadata and controls
32 lines (31 loc) · 1.23 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
<?php get_header() ?>
<?php if ( have_posts() ) : ?>
<div class="container_16 content-wrapper">
<div class="grid_4 sidebar">
<div class="page-title">
<h2>Новости</h2>
<ul class="child-pages">
</ul>
</div>
</div>
<div class="grid_12 alpha omega content-blog-page">
<?php while ( have_posts() ) : the_post(); ?>
<div class="grid_12 post-wrapper" >
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-title">
<h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themefm' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
</div>
<div class="post-meta">
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'npoat' ), the_title_attribute( 'echo=0' ) ); ?>" rel='bookmark'><?php echo the_date(); ?></a>
</div>
<div class="post-content">
<?php the_content('Читать далее ->'); ?>
<br class="clear" />
</div>
</div><!-- #post-<?php the_ID(); ?> -->
</div>
<?php endwhile; ?>
</div>
</div>
<?php endif; ?>
<?php get_footer(); ?>