<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Blogging never tasted this good</title>
	<atom:link href="http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/</link>
	<description></description>
	<pubDate>Thu, 20 Nov 2008 12:29:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Jordan</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-14475</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Thu, 27 Dec 2007 23:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-14475</guid>
		<description>Jenny, here is another piece of coding I've been using lately:

&#60;?php 
    global $notfound;
    if (is_page() and ($notfound != '1')) {
        $current_page = $post-&#62;ID;
        while($current_page) {
            $page_query = $wpdb-&#62;get_row(&#34;SELECT ID, post_title, post_status, post_parent FROM $wpdb-&#62;posts WHERE ID = '$current_page'&#34;);
            $current_page = $page_query-&#62;post_parent;
        }
        $parent_id = $page_query-&#62;ID;
        $parent_title = $page_query-&#62;post_title;

        // if ($wpdb-&#62;get_results(&#34;SELECT * FROM $wpdb-&#62;posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'&#34;)) {
        if ($wpdb-&#62;get_results(&#34;SELECT * FROM $wpdb-&#62;posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'&#34;)) {
    ?&#62;

	&#60;ul&#62;	
				  &#60;?php wp_list_pages('sort_column=menu_order&#38;title_li=&#38;child_of='. $parent_id); ?&#62;
     		&#60;/ul&#62;
		&#60;?php } } ?&#62;</description>
		<content:encoded><![CDATA[<p>Jenny, here is another piece of coding I&#8217;ve been using lately:</p>
<p>&lt;?php<br />
    global $notfound;<br />
    if (is_page() and ($notfound != &#8216;1&#8242;)) {<br />
        $current_page = $post-&gt;ID;<br />
        while($current_page) {<br />
            $page_query = $wpdb-&gt;get_row(&quot;SELECT ID, post_title, post_status, post_parent FROM $wpdb-&gt;posts WHERE ID = &#8216;$current_page&#8217;&quot;);<br />
            $current_page = $page_query-&gt;post_parent;<br />
        }<br />
        $parent_id = $page_query-&gt;ID;<br />
        $parent_title = $page_query-&gt;post_title;</p>
<p>        // if ($wpdb-&gt;get_results(&quot;SELECT * FROM $wpdb-&gt;posts WHERE post_parent = &#8216;$parent_id&#8217; AND post_status != &#8216;attachment&#8217;&quot;)) {<br />
        if ($wpdb-&gt;get_results(&quot;SELECT * FROM $wpdb-&gt;posts WHERE post_parent = &#8216;$parent_id&#8217; AND post_type != &#8216;attachment&#8217;&quot;)) {<br />
    ?&gt;</p>
<p>	&lt;ul&gt;<br />
				  &lt;?php wp_list_pages(&#8217;sort_column=menu_order&amp;title_li=&amp;child_of=&#8217;. $parent_id); ?&gt;<br />
     		&lt;/ul&gt;<br />
		&lt;?php } } ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenny</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-14474</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Thu, 27 Dec 2007 23:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-14474</guid>
		<description>I can't get it to work. The subpages dont show. I think I'm missing something.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t get it to work. The subpages dont show. I think I&#8217;m missing something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12975</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Thu, 27 Sep 2007 14:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12975</guid>
		<description>Mallory that snippet of code is used to display child pages of a parent page. It also maintains while on a child page as well.

 This would go anywhere you wanted subpages to show up.

 If you want it in your sidebar, but only wanted it to show on a page, you'd use these conditional tags:
 &lt;code&gt;is_page()&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Mallory that snippet of code is used to display child pages of a parent page. It also maintains while on a child page as well.</p>
<p> This would go anywhere you wanted subpages to show up.</p>
<p> If you want it in your sidebar, but only wanted it to show on a page, you&#8217;d use these conditional tags:<br />
 <code>is_page()</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mallory</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12974</link>
		<dc:creator>Mallory</dc:creator>
		<pubDate>Thu, 27 Sep 2007 14:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12974</guid>
		<description>Where exactly would we put that code snippet?</description>
		<content:encoded><![CDATA[<p>Where exactly would we put that code snippet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12961</link>
		<dc:creator>Antoine</dc:creator>
		<pubDate>Wed, 26 Sep 2007 05:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12961</guid>
		<description>How's the weather up north?</description>
		<content:encoded><![CDATA[<p>How&#8217;s the weather up north?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenny</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12959</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Wed, 26 Sep 2007 02:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12959</guid>
		<description>oo I've been looking for that snippet. Now I can fix my site.

The new design looks great btw. I'm jealous now. LOL</description>
		<content:encoded><![CDATA[<p>oo I&#8217;ve been looking for that snippet. Now I can fix my site.</p>
<p>The new design looks great btw. I&#8217;m jealous now. LOL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaylee</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12957</link>
		<dc:creator>Kaylee</dc:creator>
		<pubDate>Tue, 25 Sep 2007 20:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12957</guid>
		<description>It's making me hungry! Now every time I visit your site I will wish for a cupcake.</description>
		<content:encoded><![CDATA[<p>It&#8217;s making me hungry! Now every time I visit your site I will wish for a cupcake.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aisling</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12953</link>
		<dc:creator>Aisling</dc:creator>
		<pubDate>Tue, 25 Sep 2007 13:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12953</guid>
		<description>Oh great! Now, I have to go bake cupcakes! Thanks a lot! &#62;:-&#124; Ha ha. Looks yummy!</description>
		<content:encoded><![CDATA[<p>Oh great! Now, I have to go bake cupcakes! Thanks a lot! &gt;:-| Ha ha. Looks yummy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jem</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12950</link>
		<dc:creator>Jem</dc:creator>
		<pubDate>Tue, 25 Sep 2007 08:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12950</guid>
		<description>Mmm, cakey goodness :9</description>
		<content:encoded><![CDATA[<p>Mmm, cakey goodness :9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amber</title>
		<link>http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12947</link>
		<dc:creator>Amber</dc:creator>
		<pubDate>Tue, 25 Sep 2007 06:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.atourworst.org/2007/09/25/blogging-never-tasted-this-good/#comment-12947</guid>
		<description>I love the tagline and the muffin. It does look edible though. Maybe they should have had one of those on the 'don' lick' website. :P</description>
		<content:encoded><![CDATA[<p>I love the tagline and the muffin. It does look edible though. Maybe they should have had one of those on the &#8216;don&#8217; lick&#8217; website. :P</p>
]]></content:encoded>
	</item>
</channel>
</rss>
