-
-
Save anonymous/e934242278bb0e44cb47 to your computer and use it in GitHub Desktop.
index.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<div id="content"> | |
<?php if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<div class="post" id="post-<?php the_ID(); ?>"> | |
<h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Постійне посилання: <?php the_title_attribute(); ?>"> | |
<?php the_title(); ?> | |
</a></h2> | |
<div class="entry"> | |
<?php the_post_thumbnail (); ?> | |
<?php the_excerpt(); ?> | |
</div> | |
<div class="byline"> | |
<p class="meta"> | |
<?php the_time('d M Y') ?> | |
Автор: | |
<?php the_author() ?> | |
</p> | |
<p class="links"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Постійне посилання: <?php the_title(); ?>" class="more">Читати повністю</a> <b> | </b> | |
<?php comments_popup_link('Ваш вітгук', '1 вітгук', 'вітгуків(%)', 'comments'); ?> | |
</p> | |
</div> | |
</div> | |
<?php endwhile; ?> | |
<div class="navigation"> | |
<div class="alignleft"> | |
<?php next_posts_link('« Попередня сторінка') ?> | |
</div> | |
<div class="alignright"> | |
<?php previous_posts_link('Наступна сторінка »') ?> | |
</div> | |
</div> | |
<?php else : ?> | |
<h2 class="center">Не знайдено</h2> | |
<p class="center">На жаль, по вашому запиту нічого не знайдено.</p> | |
<?php endif; ?> | |
</div> | |
<?php get_sidebar(); ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment