Skip to content

Commit

Permalink
Remove hard coded link in post thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Sandström committed Nov 7, 2011
1 parent 034dd0f commit 152bcf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions loop.php
Expand Up @@ -28,11 +28,7 @@
<header>
<?php if ( has_post_thumbnail() ) : ?>
<figure class="post-thumbnail">
<?php if ( !is_single() ) : ?>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'blaskan' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_post_thumbnail(); ?></a>
<?php else: ?>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<?php the_post_thumbnail(); ?>
</figure>
<?php endif; ?>

Expand Down
6 changes: 1 addition & 5 deletions page.php
Expand Up @@ -7,11 +7,7 @@
<header>
<?php if ( has_post_thumbnail() ) : ?>
<figure class="post-thumbnail">
<?php if ( !is_single() ) : ?>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'blaskan' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_post_thumbnail(); ?></a>
<?php else: ?>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<?php the_post_thumbnail(); ?>
</figure>
<?php endif; ?>

Expand Down

0 comments on commit 152bcf9

Please sign in to comment.