Created
June 20, 2012 19:27
-
-
Save dz0ny/2961700 to your computer and use it in GitHub Desktop.
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
<a href="<?php the_permalink() ?>" rel="bookmark" title="Povezava do <?php the_title_attribute(); ?>"> | |
<?php | |
if ( has_post_thumbnail() ) { | |
the_post_thumbnail("post-thumbnail", array("class"=>"grid_3")); | |
} else { | |
?> | |
<img src="<?php bloginfo('template_directory'); ?>/slike/slika.jpg" alt="slika" class="grid_3"> | |
<?php | |
} | |
?> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment