Setting the permalink in a custom post template
I was wandering if anyone can help. I've got a custom template setup to display a custom taxonomy. My problem is that the thumbnail in the template links back to the post that is being displayed. I want to change it so the thumbnail links to a unique page that I can redirect using pretty links. Anyone got any ideas?
The thumbnail is called using:
if ( has_post_thumbnail() ) {
echo '<div class="tt_image"></div>';
printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), genesis_get_image( array( 'size' => $size, 'attr' => $default_attr ) ) );
}
|