Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

possibly a simple thing to do but I'm not sure how it's done - I want to remove the permalink from a post thumb, in the default twentyeleven theme. Looked through content.php and the other templates and I can't see where to do this - is this something which should be handled as a custom filter in functions.php?

share|improve this question
1  
You're to have to be more specific about where you want to remove the permalink. In the showcase template? Archive page? Single post pages? Post thumbnails are used in several places on that theme. –  chrisguitarguy Nov 16 '12 at 3:02

1 Answer 1

No idea, never used twenty eleven theme. I opened the theme files. Check out showcase.php around Line 104-118.

Should be on line 115 - just remove the anchor wrapping the post thumb,

<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.