<?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: thematic_content filter not working properly?</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 02:59:12 +0000</pubDate>

<item>
<title>Direct Sponsor on "thematic_content filter not working properly?"</title>
<link>http://themeshaper.com/forums/topic/thematic_content-filter-not-working-properly#post-18211</link>
<pubDate>Sun, 09 Jan 2011 00:06:04 +0000</pubDate>
<dc:creator>Direct Sponsor</dc:creator>
<guid isPermaLink="false">18211@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Check the thread I linked to above for the solution. Your custom loop requires thematic_abovepost().
&#60;/p&#62;</description>
</item>
<item>
<title>Direct Sponsor on "thematic_content filter not working properly?"</title>
<link>http://themeshaper.com/forums/topic/thematic_content-filter-not-working-properly#post-18206</link>
<pubDate>Sat, 08 Jan 2011 22:04:29 +0000</pubDate>
<dc:creator>Direct Sponsor</dc:creator>
<guid isPermaLink="false">18206@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm stuck on this as well. I'm attempting to figure it out at the following thread: &#60;a href=&#34;http://themeshaper.com/forums/topic/adding-a-list-of-recent-posts-to-a-custom-page-template&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/adding-a-list-of-recent-posts-to-a-custom-page-template&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>sciamannikoo on "thematic_content filter not working properly?"</title>
<link>http://themeshaper.com/forums/topic/thematic_content-filter-not-working-properly#post-12632</link>
<pubDate>Thu, 27 May 2010 09:39:13 +0000</pubDate>
<dc:creator>sciamannikoo</dc:creator>
<guid isPermaLink="false">12632@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've created a page template called discografia.php.&#60;br /&#62;
This page is identical to the index.php.&#60;/p&#62;
&#60;p&#62;On my functions.php, I've this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function tamtando_more_text($content) {
	$content = &#38;#39; ... continua ... &#38;#39;;
	return $content;
}

add_filter(&#38;#39;more_text&#38;#39;, &#38;#39;tamtando_more_text&#38;#39;);

function tamtando_content($content) {
	if(is_page()){
		$content= &#38;#39;full&#38;#39;;
	}
	return $content;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;tamtando_content&#38;#39;);

// The Index Loop
function remove_index_loop(){
	remove_action(&#38;#39;thematic_indexloop&#38;#39;, &#38;#39;thematic_index_loop&#38;#39;);
}
add_action(&#38;#39;init&#38;#39;,&#38;#39;remove_index_loop&#38;#39;);

function tamtando_index_loop() {
	global $options;
	foreach ($options as $value) {
		if (get_option( $value[&#38;#39;id&#38;#39;] ) === FALSE) { $$value[&#38;#39;id&#38;#39;] = $value[&#38;#39;std&#38;#39;]; }
		else { $$value[&#38;#39;id&#38;#39;] = get_option( $value[&#38;#39;id&#38;#39;] ); }
		}

		$query_string = &#38;#39;&#38;#39;;
		if(is_page_template()){
			if(is_page_template(&#38;#39;discografia.php&#38;#39;)) {
				$query_string = &#38;#39;category_name=discografia&#38;#39;;
			}
		}

		global $wp_query;

		if($query_string) {
			$query_string .= &#38;#39;&#38;#38;posts_per_page=-1&#38;#39;;
			query_posts($query_string);
		}

		/* Count the number of posts so we can insert a widgetized area */ $count = 1;
		while ( have_posts() ) : the_post() ?&#38;gt;

			&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID() ?&#38;gt;&#38;quot; class=&#38;quot;&#38;lt;?php thematic_post_class() ?&#38;gt;&#38;quot;&#38;gt;
				&#38;lt;?php thematic_postheader(); ?&#38;gt;
				&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;
&#38;lt;?php thematic_content(); ?&#38;gt;

				&#38;lt;?php wp_link_pages(&#38;#39;before=&#38;lt;div class=&#38;quot;page-link&#38;quot;&#38;gt;&#38;#39; .__(&#38;#39;Pages:&#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;#38;after=&#38;lt;/div&#38;gt;&#38;#39;) ?&#38;gt;
				&#38;lt;/div&#38;gt;
				&#38;lt;?php thematic_postfooter(); ?&#38;gt;
			&#38;lt;/div&#38;gt;&#38;lt;!-- .post --&#38;gt;

				&#38;lt;?php comments_template();

				if ($count==$thm_insert_position) {
						get_sidebar(&#38;#39;index-insert&#38;#39;);
				}
				$count = $count + 1;
		endwhile;
}
add_action(&#38;#39;thematic_indexloop&#38;#39;, &#38;#39;tamtando_index_loop&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The page is here: &#60;a href=&#34;http://tamtando.sciamanna.me/il-gruppo-musicale/discografia/&#34; rel=&#34;nofollow&#34;&#62;http://tamtando.sciamanna.me/il-gruppo-musicale/discografia/&#60;/a&#62;&#60;br /&#62;
...and it doesn't work.&#60;br /&#62;
As &#34;tamtando_content()&#34; says, if I'm in a page (and, despite the code inside, &#60;a href=&#34;http://tamtando.sciamanna.me/il-gruppo-musicale/discografia/&#34; rel=&#34;nofollow&#34;&#62;http://tamtando.sciamanna.me/il-gruppo-musicale/discografia/&#60;/a&#62; is a page and is using the right page template), I must see the full content (or excerpt if I used the &#34;more&#34; shortcode) including the attachments.&#60;/p&#62;
&#60;p&#62;Instead I'm seeing an archive-like page: why?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
