<?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: The Loop: posting only the most recent post to a static homepage</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: The Loop: posting only the most recent post to a static homepage</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 07:26:21 +0000</pubDate>

<item>
<title>particlepat on "The Loop: posting only the most recent post to a static homepage"</title>
<link>http://wordpress.org/support/topic/285961#post-1123888</link>
<pubDate>Thu, 02 Jul 2009 16:25:24 +0000</pubDate>
<dc:creator>particlepat</dc:creator>
<guid isPermaLink="false">1123888@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thank you very much, I knew it was something incredibly easy like that. You're the man.
&#60;/p&#62;</description>
</item>
<item>
<title>Otto42 on "The Loop: posting only the most recent post to a static homepage"</title>
<link>http://wordpress.org/support/topic/285961#post-1123883</link>
<pubDate>Thu, 02 Jul 2009 16:11:16 +0000</pubDate>
<dc:creator>Otto42</dc:creator>
<guid isPermaLink="false">1123883@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Okay. Add &#60;code&#62;query_posts(&#38;#39;showposts=1&#38;#39;);&#60;/code&#62; right before that Loop.
&#60;/p&#62;</description>
</item>
<item>
<title>particlepat on "The Loop: posting only the most recent post to a static homepage"</title>
<link>http://wordpress.org/support/topic/285961#post-1123852</link>
<pubDate>Thu, 02 Jul 2009 15:50:03 +0000</pubDate>
<dc:creator>particlepat</dc:creator>
<guid isPermaLink="false">1123852@http://wordpress.org/support/</guid>
<description>&#60;pre&#62;&#60;code&#62;&#38;lt;?php if (have_posts()) : ?&#38;gt;
		&#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;

			&#38;lt;div class=&#38;quot;post&#38;quot;&#38;gt;
				&#38;lt;h1 class=&#38;quot;toptitle&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/h1&#38;gt;
				&#38;lt;p class=&#38;quot;topMeta&#38;quot;&#38;gt;by &#38;lt;?php the_author_firstname(); ?&#38;gt; &#38;lt;?php the_author_lastname(); ?&#38;gt;&#38;lt;/p&#38;gt;

			&#38;lt;div class=&#38;quot;entry&#38;quot;&#38;gt;
				&#38;lt;?php the_excerpt(); ?&#38;gt;
			&#38;lt;/div&#38;gt;

			&#38;lt;/div&#38;gt; &#38;lt;!-- Closes post --&#38;gt;&#38;lt;br /&#38;gt;

	&#38;lt;?php endwhile; ?&#38;gt;

	&#38;lt;?php endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Otto42 on "The Loop: posting only the most recent post to a static homepage"</title>
<link>http://wordpress.org/support/topic/285961#post-1123789</link>
<pubDate>Thu, 02 Jul 2009 15:01:29 +0000</pubDate>
<dc:creator>Otto42</dc:creator>
<guid isPermaLink="false">1123789@http://wordpress.org/support/</guid>
<description>&#60;p&#62;What's the code for your loop right now? Should be a simple matter of adding a query_posts call to adjust the parameters of the main query.
&#60;/p&#62;</description>
</item>
<item>
<title>particlepat on "The Loop: posting only the most recent post to a static homepage"</title>
<link>http://wordpress.org/support/topic/285961#post-1123783</link>
<pubDate>Thu, 02 Jul 2009 14:56:11 +0000</pubDate>
<dc:creator>particlepat</dc:creator>
<guid isPermaLink="false">1123783@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm having some issues writing the loop for my wordpress &#60;a href=&#34;http://www.bcsprosoft.com/blog&#34;&#62;site&#60;/a&#62;. There will be a static homepage that will contain the header, footer, top navigation bar, a containing holding some navigation buttons that will only be visible on the home page, and then a smaller container to the right of that one that will hold a small snippet/excerpt of my most recent blog post. &#60;/p&#62;
&#60;p&#62;I am starting to get really frustrated when I try to write the loop for the single blog post. I want to show the blog title that links to the post, the authors name, the excerpt, a link that says &#34;Read the rest of this entry&#34;, the number of comments, and a link to leave a comment. I do not want a list of comments to appear on the homepage though. &#60;/p&#62;
&#60;p&#62;I have been able to get the title, the authors name and an excerpt of the blog, but it shows an excerpt for all of my entries, and like I said, I only want one. Can someone please give me some pointers or help me write the code for my loop?&#60;/p&#62;
&#60;p&#62;*I will have a separate page designated to showing all blog posts, so I'm assuming that will be a completely different loop. I'm only focused on the first loop as of now.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
