<?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>WordPress &#8250; Support Topic: How to retrieve the content of a page only</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: How to retrieve the content of a page only</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 12:26:26 +0000</pubDate>

<item>
<title>theoscrib on "How to retrieve the content of a page only"</title>
<link>http://wordpress.org/support/topic/231022#post-945913</link>
<pubDate>Mon, 05 Jan 2009 17:20:22 +0000</pubDate>
<dc:creator>theoscrib</dc:creator>
<guid isPermaLink="false">945913@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Yes it worked. Thank you so much for your help. I copied the page.php. Gave it a new name and removed the html wrapper. It looks like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: Page only no html
*/
 ?&#38;gt;

 &#38;lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#38;gt;

		&#38;lt;h1 id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/h1&#38;gt;

		&#38;lt;?php the_content(&#38;quot;__(&#38;#39;[...]&#38;#39;)
&#38;quot;); ?&#38;gt;

	&#38;lt;?php endwhile; endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you add a template wordpress sees that you have multiple templates and you can pick one from a drop down list. Isn't wordpress just amazing?
&#60;/p&#62;</description>
</item>
<item>
<title>filosofo on "How to retrieve the content of a page only"</title>
<link>http://wordpress.org/support/topic/231022#post-945576</link>
<pubDate>Mon, 05 Jan 2009 10:41:52 +0000</pubDate>
<dc:creator>filosofo</dc:creator>
<guid isPermaLink="false">945576@http://wordpress.org/support/</guid>
<description>&#60;p&#62;If you want to assign this template to a particular page, then you need to amend it as so:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: Pure Content
*/
the_content();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and choose &#34;Pure Content&#34; under Attributes &#38;gt; Template when editing a page.
&#60;/p&#62;</description>
</item>
<item>
<title>theoscrib on "How to retrieve the content of a page only"</title>
<link>http://wordpress.org/support/topic/231022#post-945561</link>
<pubDate>Mon, 05 Jan 2009 10:07:13 +0000</pubDate>
<dc:creator>theoscrib</dc:creator>
<guid isPermaLink="false">945561@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I have read that tutorial. But the problem is that in wp 2.7 I don't see how I can assign a template to a particular page.
&#60;/p&#62;</description>
</item>
<item>
<title>filosofo on "How to retrieve the content of a page only"</title>
<link>http://wordpress.org/support/topic/231022#post-945425</link>
<pubDate>Mon, 05 Jan 2009 05:14:58 +0000</pubDate>
<dc:creator>filosofo</dc:creator>
<guid isPermaLink="false">945425@http://wordpress.org/support/</guid>
<description>&#60;p&#62;If you really want &#60;em&#62;just&#60;/em&#62; the content of a page (in &#60;a href=&#34;http://codex.wordpress.org/Pages&#34;&#62;the WordPress sense of &#34;page&#34;&#60;/a&#62;), then create a &#60;code&#62;page.php&#60;/code&#62; template file in your theme's directory with the following content:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
the_content();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Yep, that's it.
&#60;/p&#62;</description>
</item>
<item>
<title>theoscrib on "How to retrieve the content of a page only"</title>
<link>http://wordpress.org/support/topic/231022#post-944918</link>
<pubDate>Sun, 04 Jan 2009 20:15:14 +0000</pubDate>
<dc:creator>theoscrib</dc:creator>
<guid isPermaLink="false">944918@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi guys, for my blog I created my own template and I want to stuff it up with goodies like scriptaculous or dojo (haven't choosen yet). I want to show the content of a page only. So no html, no head, no body and no side bar etc. just the content. How can I get the content of a page. I don't know anything about PHP.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
