<?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: Adding A Private Page Into The Navigation</title>
	<atom:link href="http://wpengineer.com/561/adding-a-private-page-into-the-navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/</link>
	<description>WordPress News, Hacks, Tips, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Tue, 22 May 2012 12:01:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Suzanne Bissonnette</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-5091</link>
		<dc:creator>Suzanne Bissonnette</dc:creator>
		<pubDate>Fri, 29 Oct 2010 11:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-5091</guid>
		<description>Yes... I use this plugin:

•	Members Only Menu Plugin 

http://wordpress.org/extend/plugins/members-only-menu-plugin/

Works fine, just one click to hide the page if not a connected user.

Have fun !</description>
		<content:encoded><![CDATA[<p>Yes... I use this plugin:</p>
<p>•	Members Only Menu Plugin </p>
<p><a href="http://wordpress.org/extend/plugins/members-only-menu-plugin/" rel="nofollow">http://wordpress.org/extend/plugins/members-only-menu-plugin/</a></p>
<p>Works fine, just one click to hide the page if not a connected user.</p>
<p>Have fun !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: enad</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-4674</link>
		<dc:creator>enad</dc:creator>
		<pubDate>Mon, 19 Jul 2010 08:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-4674</guid>
		<description>is it possible to hide private pages from the visitors and show it only to logged in users/subscribers. been looking  for a plugin for ths. but only a plugin which is applicable for posts.</description>
		<content:encoded><![CDATA[<p>is it possible to hide private pages from the visitors and show it only to logged in users/subscribers. been looking  for a plugin for ths. but only a plugin which is applicable for posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1478</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 14 Jul 2009 09:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1478</guid>
		<description>Maria, sorry but the code doesn&#039;t work with the page widget.</description>
		<content:encoded><![CDATA[<p>Maria, sorry but the code doesn't work with the page widget.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maria</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1475</link>
		<dc:creator>Maria</dc:creator>
		<pubDate>Tue, 14 Jul 2009 04:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1475</guid>
		<description>If i am not using a top menu but instead i am using a Widget (Pages) as my sidebar menu where do i have to insert the code.

Thanks
Maria</description>
		<content:encoded><![CDATA[<p>If i am not using a top menu but instead i am using a Widget (Pages) as my sidebar menu where do i have to insert the code.</p>
<p>Thanks<br />
Maria</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Q</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1257</link>
		<dc:creator>Q</dc:creator>
		<pubDate>Fri, 12 Jun 2009 13:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1257</guid>
		<description>ok i sorta fixed it i used pagemash to hid the link. once i log out it doesnt show... but once i log in.. it is there...
Now i can post private events to my members.

Q</description>
		<content:encoded><![CDATA[<p>ok i sorta fixed it i used pagemash to hid the link. once i log out it doesnt show... but once i log in.. it is there...<br />
Now i can post private events to my members.</p>
<p>Q</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Q</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1256</link>
		<dc:creator>Q</dc:creator>
		<pubDate>Fri, 12 Jun 2009 13:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1256</guid>
		<description>I posted the code above in my header and and change the (10) value to my new page. while login i see the page but once i log out it is still there.

http://256studio.com/members is the page ..


Q</description>
		<content:encoded><![CDATA[<p>I posted the code above in my header and and change the (10) value to my new page. while login i see the page but once i log out it is still there.</p>
<p><a href="http://256studio.com/members" rel="nofollow">http://256studio.com/members</a> is the page ..</p>
<p>Q</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monky</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1178</link>
		<dc:creator>Monky</dc:creator>
		<pubDate>Tue, 02 Jun 2009 02:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1178</guid>
		<description>Hi, how can I add a children page of the private page?</description>
		<content:encoded><![CDATA[<p>Hi, how can I add a children page of the private page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Fialkoff</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1176</link>
		<dc:creator>Josh Fialkoff</dc:creator>
		<pubDate>Mon, 01 Jun 2009 13:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1176</guid>
		<description>BTW, the updated code is here: http://dl.getdropbox.com/u/194649/code.rtf

Thanks,
Josh</description>
		<content:encoded><![CDATA[<p>BTW, the updated code is here: <a href="http://dl.getdropbox.com/u/194649/code.rtf" rel="nofollow">http://dl.getdropbox.com/u/194649/code.rtf</a></p>
<p>Thanks,<br />
Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Fialkoff</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1175</link>
		<dc:creator>Josh Fialkoff</dc:creator>
		<pubDate>Mon, 01 Jun 2009 13:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1175</guid>
		<description>Thanks Michael!

I used your code and replaced the post number with a test page I have set up (I plan to use the current page call in the final version).

I am getting a syntax error now on the final line:

Parse error: syntax error, unexpected $end in /data/14/1/99/60/1262060/user/1346477/htdocs/Wordpress/wp-content/themes/BCR/client_index.php on line 18

I thought that this error was the result of having extra spaces after the final close tag, but I don&#039;t have any spaces here, so I&#039;m not sure what the problem is.

Thanks again,
Josh</description>
		<content:encoded><![CDATA[<p>Thanks Michael!</p>
<p>I used your code and replaced the post number with a test page I have set up (I plan to use the current page call in the final version).</p>
<p>I am getting a syntax error now on the final line:</p>
<p>Parse error: syntax error, unexpected $end in /data/14/1/99/60/1262060/user/1346477/htdocs/Wordpress/wp-content/themes/BCR/client_index.php on line 18</p>
<p>I thought that this error was the result of having extra spaces after the final close tag, but I don't have any spaces here, so I'm not sure what the problem is.</p>
<p>Thanks again,<br />
Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://wpengineer.com/561/adding-a-private-page-into-the-navigation/#comment-1172</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 31 May 2009 08:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://wpengineer.com/?p=561#comment-1172</guid>
		<description>Josh, the loop wasn&#039;t closed correcly.
&lt;pre lang=&quot;php&quot;&gt;
&lt;?php
	/*
	 Template Name: Client Work Index
	 */
	?&gt;
&lt;?php get_header(); ?&gt;
	&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
	&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
	&lt;?php the_content(&#039;&#039;); ?&gt;
&lt;?php endwhlie; endif; ?&gt;
	&lt;ul&gt;
        &lt;?php
          wp_list_pages(&#039;depth=1&amp;title_li=0&amp;sort_column=menu_order&#039;);
          if(current_user_can(&#039;read_private_pages&#039;)) :
         ?&gt;
        &lt;li&gt;&lt;a href=&quot;&lt;?php echo get_permalink(10); ? rel=&quot;nofollow&quot;&gt;&quot;&gt;For Authors only&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
&lt;?php get_footer(); ?&gt;
&lt;/pre&gt;

And remember: the ID in get_permalink(&lt;strong&gt;10&lt;/strong&gt;) must be replaced with the ID of your private page.

Edit: fuck, the stupid editor adds a rel=&quot;nofollow&quot; to the line with the link. Replace the line with yours.</description>
		<content:encoded><![CDATA[<p>Josh, the loop wasn't closed correcly.</p>
<pre lang="php">
&lt;?php
	/*
	 Template Name: Client Work Index
	 */
	?&gt;
&lt;?php get_header(); ?&gt;
	&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
	&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
	&lt;?php the_content(&#039;&#039;); ?&gt;
&lt;?php endwhlie; endif; ?&gt;
	&lt;ul&gt;
        &lt;?php
          wp_list_pages(&#039;depth=1&amp;title_li=0&amp;sort_column=menu_order&#039;);
          if(current_user_can(&#039;read_private_pages&#039;)) :
         ?&gt;
        &lt;li&gt;&lt;a href=&quot;&lt;?php echo get_permalink(10); ? rel=&quot;nofollow&quot;&gt;&quot;&gt;For Authors only&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
&lt;?php get_footer(); ?&gt;
</pre>
<p>And remember: the ID in get_permalink(<strong>10</strong>) must be replaced with the ID of your private page.</p>
<p>Edit: fuck, the stupid editor adds a rel="nofollow" to the line with the link. Replace the line with yours.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

