<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Desk Mess Mirrored 1.4.2</title>
	<atom:link href="http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/</link>
	<description>WordPress administration, installation, and development.</description>
	<lastBuildDate>Thu, 09 Sep 2010 11:25:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Edward Caissie</title>
		<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/comment-page-1/#comment-424</link>
		<dc:creator>Edward Caissie</dc:creator>
		<pubDate>Sun, 25 Oct 2009 22:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://buynowshop.com/?p=940#comment-424</guid>
		<description>Glad I could help.  I like the changes you made to the header images, too. They look great!</description>
		<content:encoded><![CDATA[<p>Glad I could help.  I like the changes you made to the header images, too. They look great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Fragen</title>
		<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/comment-page-1/#comment-423</link>
		<dc:creator>Andy Fragen</dc:creator>
		<pubDate>Sun, 25 Oct 2009 17:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://buynowshop.com/?p=940#comment-423</guid>
		<description>my code got chopped.

I&#039;ll abstract it.

&lt;?php } else { ?&gt;
  &lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt; &quot; rel=&quot;nofollow&quot; class=&quot;active&quot;&gt;&lt;?php _e(&#039;Home&#039;) ?&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;?php wp_list_pages(&#039;title_li=&amp;depth=1&#039; . $exclude_pages); ?&gt; &lt;!-- Only displays &quot;parent&quot; pages --&gt;
&lt;?php } ?&gt;
.-= Andy Fragen´s last blog ... &lt;a href=&quot;http://troop262ps.org/2009/10/november-7-merit-badge-clinic/&quot; rel=&quot;nofollow&quot;&gt;November 7 Merit Badge Clinic&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>my code got chopped.</p>
<p>I&#8217;ll abstract it.</p>
<p>&lt;?php } else { ?&gt;<br />
  &lt;li&gt;&lt;a href=&#8221;&lt;?php bloginfo(&#8216;url&#8217;); ?&gt; &#8221; rel=&#8221;nofollow&#8221; class=&#8221;active&#8221;&gt;&lt;?php _e(&#8216;Home&#8217;) ?&gt;&lt;/a&gt;&lt;/li&gt;<br />
  &lt;?php wp_list_pages(&#8216;title_li=&amp;depth=1&#8242; . $exclude_pages); ?&gt; &lt;!&#8211; Only displays &#8220;parent&#8221; pages &#8211;&gt;<br />
&lt;?php } ?&gt;<br />
<span class="cluv"> Andy Fragen´s last blog &#8230; <a href="http://troop262ps.org/2009/10/november-7-merit-badge-clinic/" rel="nofollow">November 7 Merit Badge Clinic</a> <span class="heart_tip_box"><img class="heart_tip" alt="My ComLuv Profile" border="0" width="16" height="14" src="http://buynowshop.com/wp-content/plugins/commentluv/images/littleheart.gif"/></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Fragen</title>
		<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/comment-page-1/#comment-422</link>
		<dc:creator>Andy Fragen</dc:creator>
		<pubDate>Sun, 25 Oct 2009 17:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://buynowshop.com/?p=940#comment-422</guid>
		<description>Thanks Edward. I added the exclude to the `else` line so I have it in 2 places. If I don&#039;t have it here then all pages are listed on any non-Home page. Since I have 5 or more pages I don&#039;t want listed this was my solution. You can see the additional pages in the sidebar.

Also, I put the whole header.php file in the Multi theme, as you intended ;-) so I shouldn&#039;t have to change it with theme updates. Since I&#039;m going to keep adding certain pages to the exclusion list for the menu I think that&#039;s the way to go.

There was a small error before the `rel=&quot;nofollow&quot;` part that I figured out ( I have zero PHP skills).

&lt;code&gt;
  
    &lt;a href=&quot; &quot; rel=&quot;nofollow&quot; class=&quot;active&quot;&gt;&lt;/a&gt;
     &lt;!-- Only displays &quot;parent&quot; pages --&gt;
&lt;/code&gt;

Thanks again.
Andy</description>
		<content:encoded><![CDATA[<p>Thanks Edward. I added the exclude to the `else` line so I have it in 2 places. If I don&#8217;t have it here then all pages are listed on any non-Home page. Since I have 5 or more pages I don&#8217;t want listed this was my solution. You can see the additional pages in the sidebar.</p>
<p>Also, I put the whole header.php file in the Multi theme, as you intended <img src='http://buynowshop.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  so I shouldn&#8217;t have to change it with theme updates. Since I&#8217;m going to keep adding certain pages to the exclusion list for the menu I think that&#8217;s the way to go.</p>
<p>There was a small error before the `rel=&#8221;nofollow&#8221;` part that I figured out ( I have zero PHP skills).</p>
<p><code></p>
<p>    &lt;a href=&quot; " rel="nofollow" class="active"&gt;<br />
     <!-- Only displays "parent" pages --><br />
</code></p>
<p>Thanks again.<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward Caissie</title>
		<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/comment-page-1/#comment-420</link>
		<dc:creator>Edward Caissie</dc:creator>
		<pubDate>Sun, 25 Oct 2009 14:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://buynowshop.com/?p=940#comment-420</guid>
		<description>Hi Andy - Let me look into this ...
&lt;br /&gt;PS: The only place the theme uses the &lt;a href=&quot;http://codex.wordpress.org/wp_list_pages&quot; rel=&quot;nofollow&quot;&gt;wp_list_pages()&lt;/a&gt; function is in the header.php file for generating the menu links. The exclude parameter is only used once, but here is the code for the menu including the idea you are asking for (&lt;a href=&quot;http://buynowshop.com/five-minute-fix/&quot; rel=&quot;nofollow&quot;&gt;FMF&lt;/a&gt;):

&lt;pre&gt;&lt;code&gt;&lt;ul id=&quot;menu&quot;&gt;
  &lt;?php $exclude_pages=&quot;&#039;&amp;exclude=2&#039;&quot;; ?&gt;
  &lt;?php if (is_home() &#124;&#124; is_front_page()) { ?&gt;
    &lt;?php wp_list_pages(&#039;title_li=&amp;depth=1&amp;include=2&#039;); ?&gt;
    &lt;?php wp_list_pages(&quot;title_li=&amp;depth=1&quot; . $exclude_pages); ?&gt; &lt;!-- Note the changes to use the exclude_pages variable --&gt;
  &lt;?php } else { ?&gt;
    &lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt;&quot; class=&quot;active&quot;&gt;&lt;?php _e(&#039;Home&#039;) ?&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;?php wp_list_pages(&#039;title_li=&amp;depth=1&#039;); ?&gt; &lt;!-- Only displays &quot;parent&quot; pages --&gt;
  &lt;?php } ?&gt;
&lt;/ul&gt;
&lt;/code&gt;&lt;/pre&gt;

The menu is the only place I would expect this to work, if you are looking to incorporate the idea in other areas it would require a much more in-depth review.
&lt;br /&gt;PPS: Remember if you implement this you will have to make the same edits after every theme update.</description>
		<content:encoded><![CDATA[<p>Hi Andy &#8211; Let me look into this &#8230;<br />
<br />PS: The only place the theme uses the <a href="http://codex.wordpress.org/wp_list_pages" rel="nofollow">wp_list_pages()</a> function is in the header.php file for generating the menu links. The exclude parameter is only used once, but here is the code for the menu including the idea you are asking for (<a href="http://buynowshop.com/five-minute-fix/" rel="nofollow">FMF</a>):</p>
<pre><code>&lt;ul id="menu">
  &lt;?php $exclude_pages="'&#038;exclude=2'"; ?>
  &lt;?php if (is_home() || is_front_page()) { ?>
    &lt;?php wp_list_pages('title_li=&#038;depth=1&#038;include=2'); ?>
    &lt;?php wp_list_pages("title_li=&#038;depth=1" . $exclude_pages); ?> &lt;!-- Note the changes to use the exclude_pages variable -->
  &lt;?php } else { ?>
    &lt;li>&lt;a href="&lt;?php bloginfo('url'); ?>" class="active">&lt;?php _e('Home') ?>&lt;/a>&lt;/li>
    &lt;?php wp_list_pages('title_li=&#038;depth=1'); ?> &lt;!-- Only displays "parent" pages -->
  &lt;?php } ?>
&lt;/ul>
</code></pre>
<p>The menu is the only place I would expect this to work, if you are looking to incorporate the idea in other areas it would require a much more in-depth review.<br />
<br />PPS: Remember if you implement this you will have to make the same edits after every theme update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Fragen</title>
		<link>http://buynowshop.com/2009/10/desk-mess-mirrored-1-4-2/comment-page-1/#comment-418</link>
		<dc:creator>Andy Fragen</dc:creator>
		<pubDate>Sat, 24 Oct 2009 21:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://buynowshop.com/?p=940#comment-418</guid>
		<description>Edward, in the last version&#039;s comments there was a question regarding excluding specific pages from the header. I&#039;ve added those individual pages in the `exclude` portion of the wp_list_pages function. I have a question. Is it possible to abstract these pages to a variable within that code segment and then simply add or delete page id&#039;s to this variable?

eg.
&lt;code&gt;
$exclude_pages=&quot;2, 15, 17, 634, 700&quot;;
          
             &lt;!-- Puts page 2, usually the &quot;About&quot; page, at the beginning of the menu --&gt;
            &#039;); ?&gt; &lt;!-- Only displays &quot;parent&quot; pages; and, excludes page 2 as it is included in the line above --&gt;
          
            &lt;a href=&quot;&quot; class=&quot;active&quot;&gt;&lt;/a&gt;
            &lt;?php wp_list_pages(&#039;title_li=&amp;depth=1&amp;exclude=2, 15, 17, 634, 700&#039;);
&lt;/code&gt;

I&#039;m just trying to make the change in a single location.

Andy
.-= Andy Fragen´s last blog ... &lt;a href=&quot;http://troop262ps.org/2009/10/november-7-merit-badge-clinic/&quot; rel=&quot;nofollow&quot;&gt;November 7 Merit Badge Clinic&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<p>Edward, in the last version&#8217;s comments there was a question regarding excluding specific pages from the header. I&#8217;ve added those individual pages in the `exclude` portion of the wp_list_pages function. I have a question. Is it possible to abstract these pages to a variable within that code segment and then simply add or delete page id&#8217;s to this variable?</p>
<p>eg.<br />
<code><br />
$exclude_pages="2, 15, 17, 634, 700";</p>
<p>             <!-- Puts page 2, usually the "About" page, at the beginning of the menu --><br />
            '); ?&gt; <!-- Only displays "parent" pages; and, excludes page 2 as it is included in the line above --></p>
<p>            &lt;a href=&quot;" class="active"&gt;<br />
            &lt;?php wp_list_pages(&#039;title_li=&amp;depth=1&amp;exclude=2, 15, 17, 634, 700&#039;);<br />
</code></p>
<p>I&#8217;m just trying to make the change in a single location.</p>
<p>Andy<br />
<span class="cluv"> Andy Fragen´s last blog &#8230; <a href="http://troop262ps.org/2009/10/november-7-merit-badge-clinic/" rel="nofollow">November 7 Merit Badge Clinic</a> <span class="heart_tip_box"><img class="heart_tip" alt="My ComLuv Profile" border="0" width="16" height="14" src="http://buynowshop.com/wp-content/plugins/commentluv/images/littleheart.gif"/></span></span></p>
]]></content:encoded>
	</item>
</channel>
</rss>
