<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Post Thumbnail with Permalink</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 21:10:09 +0000</pubDate>

<item>
<title>cannobbio on "Post Thumbnail with Permalink"</title>
<link>http://themeshaper.com/forums/topic/post-thumbnail-with-permalink#post-12756</link>
<pubDate>Wed, 02 Jun 2010 23:33:28 +0000</pubDate>
<dc:creator>cannobbio</dc:creator>
<guid isPermaLink="false">12756@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It doesn't work that way because the image is put there by the function.&#60;br /&#62;
I need to wrap this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;return get_the_post_thumbnail(NULL, 'thumbnail') . $title;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with the post permalink.&#60;/p&#62;
&#60;p&#62;I just don't know how to do that in PHP.
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "Post Thumbnail with Permalink"</title>
<link>http://themeshaper.com/forums/topic/post-thumbnail-with-permalink#post-12740</link>
<pubDate>Wed, 02 Jun 2010 00:12:34 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">12740@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Unsure about a specific function but when setting the thumbnail to the post in admin, just set the link url to 'post url'.
&#60;/p&#62;</description>
</item>
<item>
<title>cannobbio on "Post Thumbnail with Permalink"</title>
<link>http://themeshaper.com/forums/topic/post-thumbnail-with-permalink#post-12687</link>
<pubDate>Sun, 30 May 2010 07:49:16 +0000</pubDate>
<dc:creator>cannobbio</dc:creator>
<guid isPermaLink="false">12687@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I managed to get post thumbnails in my theme.&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function childtheme_content($content) {&#60;br /&#62;
	if ( is_home() &#124;&#124; is_archive() &#124;&#124; is_search() ) {&#60;br /&#62;
		$content= 'excerpt';}&#60;br /&#62;
	return $content;&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_content', 'childtheme_content');&#60;/p&#62;
&#60;p&#62;if ( function_exists( 'add_theme_support' ) )&#60;br /&#62;
add_theme_support( 'post-thumbnails' );&#60;/p&#62;
&#60;p&#62;function my_post_title($title) {&#60;br /&#62;
	if (is_home() &#124;&#124; is_archive() &#124;&#124; is_search()) {&#60;br /&#62;
		return get_the_post_thumbnail(NULL, 'thumbnail') . $title;&#60;br /&#62;
	}&#60;br /&#62;
	else {&#60;br /&#62;
		return $title;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_postheader_posttitle', 'my_post_title');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Can anyone help me to make that image have the permalink with their corresponding clases?&#60;/p&#62;
&#60;p&#62;As you can see what I'm trying to do is to have excerpts in home, archives and search pages with a post image, and the post image with a permalink.&#60;/p&#62;
&#60;p&#62;I'm using the Advanced Excerpt plugin, to force excerpts lenghts to be the same in posts or pages that have excerpts and post or pages that don't. It also solves stripping shortcodes, customizing the ellipsis character, it adds a custom &#34;Read More&#34; link, and removes all the markup you don't wan't to use (or keep it).&#60;/p&#62;
&#60;p&#62;Is anyone doing all this with just functions?&#60;br /&#62;
I've tryed all sorts of ways found in the forum, but I really suck at php.&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
