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 |
<ul class="f111"> <?php if(have_posts()):while(have_posts()):the_post(); /* выводим в цикле посты */?> <!-- <div class="all-stati"> --> <li> <div class="obertka"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <p><em><?php the_time('j M Y'); ?></em></p> <div class="stati-img"> <a href="<?php the_permalink(); ?>"> <?php if(has_post_thumbnail()): ?> <?php the_post_thumbnail(); ?> <?php else: ?> <!--<img src="<?php bloginfo('template_url'); ?>/images/no_img.jpg" />--> <?php endif; ?> </a> </div> <div class="tech"><p>| Категория: <?php the_category(', '); the_tags('<br> | Тэги: ', ' / '); ?></p></div> </div> </li> <!--</div> all-stati --> <!-- </div> --> <?php endwhile; else: ?> <section class="not-found"> <p>К сожалению, по запросу <?php the_search_query(); ?> ничего не найдено. Попробуйте другой поисковый запрос.</p> </section> <?php endif; ?> </ul> |
| Категория: WordPress