<?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: Need to add custom field data into page content area</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Mon, 20 May 2013 14:24:28 +0000</pubDate>

<item>
<title>elshaddai on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5483</link>
<pubDate>Fri, 31 Jul 2009 23:45:11 +0000</pubDate>
<dc:creator>elshaddai</dc:creator>
<guid isPermaLink="false">5483@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#38;gt; Sorry .. you need to copy the page.php to your child theme's directory and edit it there.&#60;/p&#62;
&#60;p&#62;Yep - that's what I had been doing - I just couldn't get the custom data into the_content()...&#60;/p&#62;
&#60;p&#62;@amygail - we didn't need random quote behavior, so I've settled on using the plugin, &#34;Simple Pull Quote&#34;, which does almost exactly what I needed. I just added some CSS for the cite tag and my client has agreed to be careful with editing around the shortcodes...
&#60;/p&#62;</description>
</item>
<item>
<title>amygail on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5475</link>
<pubDate>Fri, 31 Jul 2009 18:35:10 +0000</pubDate>
<dc:creator>amygail</dc:creator>
<guid isPermaLink="false">5475@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I do something sort of like this with a custom page template. I wouldn't have a clue how to insert it into the middle of the content though... (I'd try to float in in there with css)&#60;/p&#62;
&#60;p&#62;Would using a plugin ( I use and like &#60;a href=&#34;http://wordpress.org/extend/plugins/stray-quotes/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/stray-quotes/&#60;/a&#62;)&#60;br /&#62;
that would allows you to insert a shortcode into the post content still leave too much room for trouble?
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5470</link>
<pubDate>Fri, 31 Jul 2009 14:38:43 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">5470@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Will look through the other pages and add a similar scheme to page.php and the rest which might be missing.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5469</link>
<pubDate>Fri, 31 Jul 2009 14:31:01 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">5469@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sorry .. you need to copy the page.php to your child theme's directory and edit it there.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>amygail on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5455</link>
<pubDate>Thu, 30 Jul 2009 19:05:40 +0000</pubDate>
<dc:creator>amygail</dc:creator>
<guid isPermaLink="false">5455@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This post may be helpful (?)&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/action-hooks-wordpress-child-themes/&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/action-hooks-wordpress-child-themes/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The first example shows a function with a php statement
&#60;/p&#62;</description>
</item>
<item>
<title>elshaddai on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5453</link>
<pubDate>Thu, 30 Jul 2009 16:34:52 +0000</pubDate>
<dc:creator>elshaddai</dc:creator>
<guid isPermaLink="false">5453@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks, Chris. The filter works overall in terms of adding something to the_content, though doing a straight replace of My Content with my &#38;lt;div&#38;gt; code doesn't produce the right results. I'll have to figure out how to get those php statements to work in the functions file.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5449</link>
<pubDate>Thu, 30 Jul 2009 14:56:56 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">5449@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;this should be something like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_content($content) {
    $content .= &#38;#39;My Content&#38;#39;;
    return $content;
}
add_filter(&#38;#39;the_content&#38;#39;, &#38;#39;my_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;'My Content' would be your code.&#60;/p&#62;
&#60;p&#62;This is the general way to add something to the_content. Don't know if the final result will work for you.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>elshaddai on "Need to add custom field data into page content area"</title>
<link>http://themeshaper.com/forums/topic/need-to-add-custom-field-data-into-page-content-area#post-5434</link>
<pubDate>Wed, 29 Jul 2009 18:58:52 +0000</pubDate>
<dc:creator>elshaddai</dc:creator>
<guid isPermaLink="false">5434@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm looking for a way to add some text to a single page's main content area via custom fields.&#60;/p&#62;
&#60;p&#62;Basically, I want to show a pull quote to the side of a page's content. I would like to use custom fields as my client has a habit of being a little too aggressive in their WYSIWYG editing of the content area. I can't help that, but if I can prevent them from killing the pull quotes by putting the data in custom fields, I'd like to. Similarly, I realize that there are pull quote plugins and will use one of those if this doesn't work, but I'd like to explore my approach if possible.&#60;/p&#62;
&#60;p&#62;I have successfully created the custom fields and can display them directly following the content area ('&#38;lt;?php the_content() ?&#38;gt;') by manually putting the appropriate code in the template php file:&#60;/p&#62;
&#60;p&#62;'&#38;lt;div id=&#34;feature-quote&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php $key1=&#34;feature-quote&#34;; echo get_post_meta($post-&#38;gt;ID, $key1, true); ?&#38;gt;&#60;br /&#62;
    &#38;lt;div id=&#34;feature-quote-cite&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php $key2=&#34;feature-quote-cite&#34;; echo get_post_meta($post-&#38;gt;ID, $key2, true); ?&#38;gt;&#60;br /&#62;
    &#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;'&#60;/p&#62;
&#60;p&#62;However, I've not been able to figure out how to filter this block of content into the_content(). Ideally, I'll be floating it on the right side of the content, about halfway between the top and bottom of the content.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
