<?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 Tag: thematic post-content</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 18 Jun 2013 07:30:27 +0000</pubDate>

<item>
<title>helgatheviking on "Setting up the post content"</title>
<link>http://themeshaper.com/forums/topic/setting-up-the-post-content#post-26760</link>
<pubDate>Wed, 02 May 2012 14:34:10 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26760@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;hmmmm.... why does everyone want to use negative margins.  fix the markup and you don't need them.&#60;/p&#62;
&#60;p&#62;instead of what i've give you above you could use this to modify the loop&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_archive_loop() {

	if(is_tax()){
		//taxonomy modified loop

		while ( have_posts() ) : the_post(); 

				thematic_abovepost(); ?&#38;gt;

				&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID();
					echo &#38;#39;&#38;quot; &#38;#39;;
					if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
						post_class();
						echo &#38;#39;&#38;gt;&#38;#39;;
					} else {
						echo &#38;#39;class=&#38;quot;&#38;#39;;
						thematic_post_class();
						echo &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
					}
     				thematic_postheader();

                               //look the content is gone! ?&#38;gt;

					&#38;lt;?php thematic_postfooter(); ?&#38;gt;
				&#38;lt;/div&#38;gt;&#38;lt;!-- #post --&#38;gt;

			&#38;lt;?php 

				thematic_belowpost();

		endwhile;
	} else {
		//default archive loop
		while ( have_posts() ) : the_post(); 

				thematic_abovepost(); ?&#38;gt;

				&#38;lt;div id=&#38;quot;post-&#38;lt;?php the_ID();
					echo &#38;#39;&#38;quot; &#38;#39;;
					if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
						post_class();
						echo &#38;#39;&#38;gt;&#38;#39;;
					} else {
						echo &#38;#39;class=&#38;quot;&#38;#39;;
						thematic_post_class();
						echo &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
					}
     				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;/div&#38;gt;&#38;lt;!-- .entry-content --&#38;gt;
					&#38;lt;?php thematic_postfooter(); ?&#38;gt;
				&#38;lt;/div&#38;gt;&#38;lt;!-- #post --&#38;gt;

			&#38;lt;?php 

				thematic_belowpost();
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>iCristiano on "Setting up the post content"</title>
<link>http://themeshaper.com/forums/topic/setting-up-the-post-content#post-26757</link>
<pubDate>Wed, 02 May 2012 11:16:58 +0000</pubDate>
<dc:creator>iCristiano</dc:creator>
<guid isPermaLink="false">26757@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The problem is that the &#60;code&#62;&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;&#60;/code&#62; is empty but is still there, with its margins, occupying an empty space... what should I do to solve it? Use negative margins?
&#60;/p&#62;</description>
</item>
<item>
<title>iCristiano on "Setting up the post content"</title>
<link>http://themeshaper.com/forums/topic/setting-up-the-post-content#post-26756</link>
<pubDate>Wed, 02 May 2012 10:56:36 +0000</pubDate>
<dc:creator>iCristiano</dc:creator>
<guid isPermaLink="false">26756@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Perfect! Yes, it works!&#60;br /&#62;
Thanks again, Helga.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Setting up the post content"</title>
<link>http://themeshaper.com/forums/topic/setting-up-the-post-content#post-26739</link>
<pubDate>Tue, 01 May 2012 23:52:41 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26739@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks for creating the new post.  thematic_content is probably the most confusing b/c people make assumptions about what it does since it is named thematic_&#60;em&#62;content&#60;/em&#62;.   the thematic_content filter is located in the thematic_content_init() function and the thematic_post filter is located in the thematic_content() function.  important to note (was a major breakthrough when i learned this) that the filter you need to hit is not, necessarily named the same as the function it lives in.&#60;/p&#62;
&#60;p&#62;the thematic_content filter sets up whether you get served a &#34;type&#34; (for lack of a better word) of content.  thematic only has &#34;excerpt&#34; and &#34;full&#34; defined.  you can pass it a new value here... lets try the string &#34;null&#34;, but then you must define what &#34;null&#34; displays in the thematic_content function, which confusingly uses the thematic_post filter.&#60;/p&#62;
&#60;p&#62;try this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_content($content) {
	if (is_tax()) {
		$content= &#38;#39;null&#38;#39;;}
	return $content;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;childtheme_content&#38;#39;);

function childtheme_post($post) {
	global $thematic_content_length;

	if ( strtolower($thematic_content_length) == &#38;#39;null&#38;#39; ) {
		$post= &#38;#39;&#38;#39;;
        }
	return $post;
}
add_filter(&#38;#39;thematic_post&#38;#39;, &#38;#39;childtheme_post&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;if it doesn't work, then i'll actually test it out later.
&#60;/p&#62;</description>
</item>
<item>
<title>iCristiano on "Setting up the post content"</title>
<link>http://themeshaper.com/forums/topic/setting-up-the-post-content#post-26736</link>
<pubDate>Tue, 01 May 2012 21:01:17 +0000</pubDate>
<dc:creator>iCristiano</dc:creator>
<guid isPermaLink="false">26736@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi friends,&#60;/p&#62;
&#60;p&#62;I want to custom my post contents and found the thematic_content_init().&#60;br /&#62;
The problem is that, for the 'tax' page, I just want to have posttile and postmeta, with no postcontent. The code should be:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_content($content) {
	if (is_tax()) {
		$content= &#38;#39;XXXXXX&#38;#39;;}
	return $content;
}
add_filter(&#38;#39;thematic_content&#38;#39;, &#38;#39;childtheme_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I just don´t know what to put in place of the 'XXXXXX'... I tried 'null' or just '', and it didn´t work. Ir works fine with 'full' and 'excerpt', but if I don´t want to show any content?&#60;/p&#62;
&#60;p&#62;Thanks!!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
