dilana
Отговори
Виждате 1 отговор (от 1 общо)
-
Форум: Теми, дизайн и всичко около тях
В отговор на: Иконка при определени таговеЕто как става 🙂
<?php if (has_tag('летни')) { ?> <div class="post" id="post-<?php the_ID(); ?>"><div class="post-top"><div class="post-bottom"> <div class="post-title"> <h2>летни <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="post-title-info"><?php the_time('d F Y') ?> г. :: Категория - <?php the_category(', ') ?></div> </div> <div class="post-entry"> <a href="<?php the_permalink() ?>"><img class="alignright" src="timthumb.php?src=<?php echo catch_that_image() ?>&h=150&w=150&zc=1" alt="<?php the_title(); ?>" /></a> <?php the_excerpt(); ?> </div> <?php elseif (has_tag('зимни')) : ?> <div class="post" id="post-<?php the_ID(); ?>"><div class="post-top"><div class="post-bottom"> <div class="post-title"> <h2>зимни <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="post-title-info"><?php the_time('d F Y') ?> г. :: Категория - <?php the_category(', ') ?></div> </div> <div class="post-entry"> <a href="<?php the_permalink() ?>"><img class="alignright" src="timthumb.php?src=<?php echo catch_that_image() ?>&h=150&w=150&zc=1" alt="<?php the_title(); ?>" /></a> <?php the_excerpt(); ?> </div> <?php else : ?> <div class="post" id="post-<?php the_ID(); ?>"><div class="post-top"><div class="post-bottom"> <div class="post-title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="post-title-info"><?php the_time('d F Y') ?> г. :: Категория - <?php the_category(', ') ?></div> </div> <div class="post-entry"> <a href="<?php the_permalink() ?>"><img class="alignright" src="timthumb.php?src=<?php echo catch_that_image() ?>&h=150&w=150&zc=1" alt="<?php the_title(); ?>" /></a> <?php the_excerpt(); ?> </div> <?php endif; ?>
Виждате 1 отговор (от 1 общо)