<?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: Add Custom Field to Thematic_loop for Page Only</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Tue, 18 Jun 2013 06:31:21 +0000</pubDate>

<item>
<title>helgatheviking on "Add Custom Field to Thematic_loop for Page Only"</title>
<link>http://themeshaper.com/forums/topic/add-custom-field-to-thematic_loop-for-page-only#post-22947</link>
<pubDate>Fri, 02 Sep 2011 05:01:04 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">22947@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thematic_post is not a hook you can add stuff too, but you can attack it w/ a filter....&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function sample_filter($content){
    $content = &#38;#39;bacon rules! &#38;#39; . $content;
}
add_filter(&#38;#39;thematic_post&#38;#39;,&#38;#39;sample_filter&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;will add my love for bacon to the beginning of every post
&#60;/p&#62;</description>
</item>
<item>
<title>wireframe74 on "Add Custom Field to Thematic_loop for Page Only"</title>
<link>http://themeshaper.com/forums/topic/add-custom-field-to-thematic_loop-for-page-only#post-22936</link>
<pubDate>Thu, 01 Sep 2011 13:12:10 +0000</pubDate>
<dc:creator>wireframe74</dc:creator>
<guid isPermaLink="false">22936@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I managed to put the above the_content(); which worked for pages&#60;/p&#62;
&#60;p&#62;	                    &#38;lt;?php&#60;br /&#62;
if (get_post_meta($post-&#38;gt;ID, 'breakout_text', true) ) : ?&#38;gt;&#60;br /&#62;
&#38;lt;h3 id=&#34;introText&#34;&#38;gt;&#38;lt;?php echo get_post_meta($post-&#38;gt;ID, 'breakout_text', true); ?&#38;gt;&#38;lt;/h3&#38;gt;&#60;br /&#62;
&#38;lt;?php endif;	&#60;/p&#62;
&#60;p&#62;But surely there is a neater way to do this?
&#60;/p&#62;</description>
</item>
<item>
<title>wireframe74 on "Add Custom Field to Thematic_loop for Page Only"</title>
<link>http://themeshaper.com/forums/topic/add-custom-field-to-thematic_loop-for-page-only#post-22935</link>
<pubDate>Thu, 01 Sep 2011 12:49:38 +0000</pubDate>
<dc:creator>wireframe74</dc:creator>
<guid isPermaLink="false">22935@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi I am trying to add something to a page which allows me to store a cstom field which contains an intro paragraph for pages that I have set up. Below is my code. Advice appreciated!&#60;/p&#62;
&#60;p&#62;function parentExcerpt () {&#60;br /&#62;
if (get_post_meta($post-&#38;gt;ID, 'breakout_text', true) ) : ?&#38;gt;&#60;br /&#62;
&#38;lt;h3&#38;gt;&#38;lt;?php echo get_post_meta($post-&#38;gt;ID, 'breakout_text', true); ?&#38;gt;&#38;lt;/h3&#38;gt;&#60;br /&#62;
&#38;lt;?php endif;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_action (&#34;thematic_post&#34;, &#34;parentExcerpt&#34;, 5);&#60;/p&#62;
&#60;p&#62;?&#38;gt;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
