<?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: Change Default Text on Protected Posts</title>
	<atom:link href="http://wpcanada.ca/2009/11/15/change-default-text-on-protected-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpcanada.ca/2009/11/15/change-default-text-on-protected-posts/</link>
	<description>in the great white north</description>
	<lastBuildDate>Mon, 06 Sep 2010 20:45:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Len Kutchma</title>
		<link>http://wpcanada.ca/2009/11/15/change-default-text-on-protected-posts/comment-page-1/#comment-416</link>
		<dc:creator>Len Kutchma</dc:creator>
		<pubDate>Tue, 24 Aug 2010 22:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://wpcanada.ca/?p=1895#comment-416</guid>
		<description>Hi Br1,

What an interesting question. Unfortunately I don&#039;t have an easy answer. Each time you create a password-protected post, WordPress generates a unique ID. For example, create a password-protected post then view the source code. You&#039;ll see something like the following ...

&lt;code&gt;&lt;input name=&quot;post_password&quot; id=&quot;pwbox-20&quot; type=&quot;password&quot; size=&quot;20&quot; /&gt;&lt;/code&gt;

Note the ID pwbox-20. Each time you create a new password-protected post another unique ID will be created. Because IDs are unique, each one has to be styled individually. Using the ID cited above you could try adding this to your style sheet ...

&lt;code&gt;.protected-post-form #pwbox-20{
background:#000;
color:#fff;
}&lt;/code&gt;

This will give the unique &quot;ID&quot; pwbox-20 contained within the &quot;class&quot; protected-post-form a white text on black background. If you create another such post it will generate another unique ID - perhaps pwbox-21. You would adjust the style sheet as such ...

&lt;code&gt;.protected-post-form #pwbox-20, .protected-post-form #pwbox-21{
background:#000;
color:#fff;
}&lt;/code&gt;

See the pattern? You would have to keep modifying the style sheet.

In CSS classes are defined by a . while IDs are defined by a #. IDs are unique while classes are not. &lt;a href=&quot;http://css-tricks.com/the-difference-between-id-and-class/&quot; title=&quot;css-tricks.com&quot; rel=&quot;nofollow&quot;&gt;Here&lt;/a&gt; is a good explanation of the differences between the two.

Maybe there is an easier way but I can&#039;t think of it.</description>
		<content:encoded><![CDATA[<p>Hi Br1,</p>
<p>What an interesting question. Unfortunately I don't have an easy answer. Each time you create a password-protected post, WordPress generates a unique ID. For example, create a password-protected post then view the source code. You'll see something like the following ...</p>
<p><code>&lt;input name="post_password" id="pwbox-20" type="password" size="20" /&gt;</code></p>
<p>Note the ID pwbox-20. Each time you create a new password-protected post another unique ID will be created. Because IDs are unique, each one has to be styled individually. Using the ID cited above you could try adding this to your style sheet ...</p>
<p><code>.protected-post-form #pwbox-20{<br />
background:#000;<br />
color:#fff;<br />
}</code></p>
<p>This will give the unique "ID" pwbox-20 contained within the "class" protected-post-form a white text on black background. If you create another such post it will generate another unique ID - perhaps pwbox-21. You would adjust the style sheet as such ...</p>
<p><code>.protected-post-form #pwbox-20, .protected-post-form #pwbox-21{<br />
background:#000;<br />
color:#fff;<br />
}</code></p>
<p>See the pattern? You would have to keep modifying the style sheet.</p>
<p>In CSS classes are defined by a . while IDs are defined by a #. IDs are unique while classes are not. <a href="http://css-tricks.com/the-difference-between-id-and-class/" title="css-tricks.com" rel="nofollow">Here</a> is a good explanation of the differences between the two.</p>
<p>Maybe there is an easier way but I can't think of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Br1</title>
		<link>http://wpcanada.ca/2009/11/15/change-default-text-on-protected-posts/comment-page-1/#comment-415</link>
		<dc:creator>Br1</dc:creator>
		<pubDate>Tue, 24 Aug 2010 09:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://wpcanada.ca/?p=1895#comment-415</guid>
		<description>Hey thanks for your post!!!

It all worked fine but i am still unable to change the input txt from white to black or change the bg color (the actual area where you&#039;d write the password).

Any help?

peace</description>
		<content:encoded><![CDATA[<p>Hey thanks for your post!!!</p>
<p>It all worked fine but i am still unable to change the input txt from white to black or change the bg color (the actual area where you'd write the password).</p>
<p>Any help?</p>
<p>peace</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Change Default Text on Protected Posts - WordPress Canada -- Topsy.com</title>
		<link>http://wpcanada.ca/2009/11/15/change-default-text-on-protected-posts/comment-page-1/#comment-236</link>
		<dc:creator>Tweets that mention Change Default Text on Protected Posts - WordPress Canada -- Topsy.com</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://wpcanada.ca/?p=1895#comment-236</guid>
		<description>[...] This post was mentioned on Twitter by Leland and James Fisher, WordPress Canada. WordPress Canada said: WordPress Canada New Post: Change Default Text on Protected Posts #wordpress http://ow.ly/CxP9 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Leland and James Fisher, WordPress Canada. WordPress Canada said: WordPress Canada New Post: Change Default Text on Protected Posts #wordpress <a href="http://ow.ly/CxP9" rel="nofollow">http://ow.ly/CxP9</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
