thematic_content change thumbnail link
-
I’m trying to change the link of the thumbnail for the default thematic_content latest posts loop.
What I want is the thumb to open in lightbox at the original size.
I’m trying with variations of the following code, but does’n seem to ovverride it.function custom_content($content) {
if ( strtolower($thematic_content_length) == ‘excerpt’) {
if ( apply_filters( ‘thematic_post_thumbs’, TRUE) ) {
if ( has_post_thumbnail() ) {
$post = ‘‘ . get_the_post_thumbnail(get_the_ID(), $size, $attr) . ‘‘ . $post;
}
}
}
}
add_filter(‘thematic_content’, ‘custom_content’);Any ideas?
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘thematic_content change thumbnail link’ is closed to new replies.