<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>wp-docs</title>
	<atom:link href="http://wp-docs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp-docs.com</link>
	<description></description>
	<pubDate>Tue, 09 Dec 2008 21:54:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>How to display a nice &#8220;[... read more]&#8221; message</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-display-a-nice-read-more-message/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-display-a-nice-read-more-message/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 21:54:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=116</guid>
		<description><![CDATA[If you use the standard WorPress distribution, then after the excerpt you see something like this: [...]
There is no link inside the &#8230; and there is no &#8220;more&#8221; word.
I want to change [...] into a clickable [... read more], which will lead to the actual post.
In the /wp-includes/formatting.php file, search for [...] (should be around <a href="http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-display-a-nice-read-more-message/">[... read more]</a>]]></description>
			<content:encoded><![CDATA[<p>If you use the standard WorPress distribution, then after the excerpt you see something like this: [...]<br />
There is no link inside the &#8230; and there is no &#8220;more&#8221; word.</p>
<p>I want to change [...] into a clickable [... read more], which will lead to the actual post.</p>
<p>In the /wp-includes/formatting.php file, search for [...] (should be around line 860.<br />
Replace the default line:<br />
<em>array_push($words, &#8216;[...]&#8216;);</em><br />
with:<br />
<em>array_push($words, &#8216;&lt;a href=&#8221;&#8216; . get_permalink() . &#8216;&#8221;&gt;[... read more]&lt;/a&gt;&#8217;);</em></p>
<p>Save the file, upload it and you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-display-a-nice-read-more-message/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FREE WordPress MemberShip PlugIn</title>
		<link>http://wp-docs.com/wordpress/level-4-enhance-the-behavior-plugins/free-wordpress-membership-plugin/</link>
		<comments>http://wp-docs.com/wordpress/level-4-enhance-the-behavior-plugins/free-wordpress-membership-plugin/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 23:43:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 4 : Enhance the behavior (plugins)]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=112</guid>
		<description><![CDATA[This is a FREE, great looking, awesome designed WordPress PlugIn, that will turn your WordPress site in a membership one in no time.
http://www.memberwing.com/
Do you want to show your gratitude to the author? Please use this link:
http://skullbit.com/donate/
]]></description>
			<content:encoded><![CDATA[<p>This is a FREE, great looking, awesome designed WordPress PlugIn, that will turn your WordPress site in a membership one in no time.<br />
<a href="http://www.memberwing.com/" target="_blank">http://www.memberwing.com/</a></p>
<p>Do you want to show your gratitude to the author? Please use this link:<br />
<a href="http://skullbit.com/donate/" target="_blank">http://skullbit.com/donate/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-4-enhance-the-behavior-plugins/free-wordpress-membership-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to reset the WordPress administrator&#8217;s password?</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-reset-the-wordpress-administrators-password/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-reset-the-wordpress-administrators-password/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 21:05:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=87</guid>
		<description><![CDATA[Step 1: Login to WordPress, as an administrator, using any WRONG password
What script from the WordPress folders checks if you are using the right password for the user &#8220;admin&#8221;? Let&#8217;s find out. Let&#8217;s try to login with the wrong password, for instance with the password &#8220;ak45mjg385v3543knj6y23&#8243;. The login page will display the error message &#8220;Incorrect <a href="http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-reset-the-wordpress-administrators-password/">[... read more]</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Step 1: Login to WordPress, as an administrator, using any WRONG password</strong><br />
What script from the WordPress folders checks if you are using the right password for the user &#8220;admin&#8221;? Let&#8217;s find out. Let&#8217;s try to login with the wrong password, for instance with the password &#8220;ak45mjg385v3543knj6y23&#8243;. The login page will display the error message &#8220;Incorrect password.&#8221;</p>
<p><a href="http://wp-docs.com/wp-content/uploads/2008/08/step_1_0.gif"><img class="aligncenter size-full wp-image-94" title="step_1_0" src="http://wp-docs.com/wp-content/uploads/2008/08/step_1_0.gif" alt="" width="500" height="414" /></a></p>
<p>Now, what file did generate that error message? We search all files from our WordPress folder for the exact phrase &#8220;Incorrect password.&#8221;. Only one file contains this phrase - the filename called<br />
&#8220;YourWordpressFolder\wp-includes\pluggable.php&#8221;.</p>
<div id="attachment_88" class="wp-caption aligncenter" style="width: 510px"><a href="http://wp-docs.com/wp-content/uploads/2008/08/step_1a.gif"><img class="size-full wp-image-88" title="How to reset WordPress administrator password - 1" src="http://wp-docs.com/wp-content/uploads/2008/08/step_1a.gif" alt="How to reset WordPress administrator password - 1" width="500" height="300" /></a><p class="wp-caption-text"> </p></div>
<p>We search this file for the &#8220;Incorrect password.&#8221; string.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_90" class="wp-caption aligncenter" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://wp-docs.com/wp-content/uploads/2008/08/step_1c.gif"><img class="size-full wp-image-90" title="step_1c" src="http://wp-docs.com/wp-content/uploads/2008/08/step_1c.gif" alt="find the right file" width="500" height="580" /></a></dt>
</dl>
</div>
<p>What do we have on line 450? The test.<br />
<em>if ( !wp_check_password($password, $user-&gt;user_pass, $user-&gt;ID) ) {</em><br />
In plain English, it says :<em> If the password is not good, then display error message, else log the user in.</em><br />
We just change the above sentence to:<br />
<em>If the password is good, then display error message, else log the user in.</em><br />
In other words, any WRONG password will get you logged.<br />
We just have to remove the &#8220;not&#8221; word, which in PHP is the &#8220;!&#8221; character.<br />
So, line 450 will become:<br />
<em>if ( wp_check_password($password, $user-&gt;user_pass, $user-&gt;ID) ) {</em></p>
<p>We upload the modified file and we login as admin, using any WRONG password.</p>
<p><strong>Step 2: Change the password</strong><br />
Dashboard -&gt; Users -&gt; Your profile -&gt; New password<br />
Nobody will ask you for the old one <img src='http://wp-docs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Step 3 : Change back the pluggable.php file and upload it.</strong></p>
<p>Note : if you are very concerned with security, do step 3 before step 2. After you logged, nobody will ask you again for your password.</p>
<p>Please feel free to comment / ask questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-reset-the-wordpress-administrators-password/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to make your blog invisible on search engines</title>
		<link>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-invisible-on-search-engines/</link>
		<comments>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-invisible-on-search-engines/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:37:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 2 : Configure WordPress]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=83</guid>
		<description><![CDATA[Go to dashboard -&#62; Settings -&#62; Privacy -&#62; Blog Visibility
Check the  &#8220;I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers&#8221; option.
&#8221; I would like to block search engines, but allow normal visitors.&#8221;
This option is first set when you install WordPress.
]]></description>
			<content:encoded><![CDATA[<p><em>Go to dashboard -&gt; Settings -&gt; Privacy -&gt; </em><em>Blog Visibility</em></p>
<p>Check the  &#8220;I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers&#8221; option.</p>
<p>&#8221; I would like to block search engines, but allow normal visitors.&#8221;</p>
<p><strong>This option is first set when you install WordPress.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-invisible-on-search-engines/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to make your blog visible on search engines</title>
		<link>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-visible-on-search-engines/</link>
		<comments>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-visible-on-search-engines/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:31:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 2 : Configure WordPress]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=81</guid>
		<description><![CDATA[

Go to dashboard -&#62; Settings -&#62; Privacy -&#62; Blog Visibility
Check the  &#8220;I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers&#8221; option.
This option is first set when you install WordPress.



]]></description>
			<content:encoded><![CDATA[<div class="entry">
<div class="entry">
<p><em>Go to dashboard -&gt; Settings -&gt; Privacy -&gt; </em><em>Blog Visibility</em></p>
<p>Check the  &#8220;I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers&#8221; option.</p>
<p><strong>This option is first set when you install WordPress.<br />
</strong></div>
<p><em><br />
</em></div>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-2-configure-wordpress/how-to-make-your-blog-visible-on-search-engines/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change the numbers of attachments per page (dashboard)</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-attachments-per-page-dashboard/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-attachments-per-page-dashboard/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 20:47:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=73</guid>
		<description><![CDATA[Edit the file called “YourWordPressFolder/wp-admin/includes/post.php”

Look for the code below (should start around line 529)
function wp_edit_attachments_query( $q = false ) {
global $wpdb;
if ( false === $q )
$q = $_GET;
$q['m']   = (int) $q['m'];
$q['cat'] = (int) $q['cat'];
$q['post_type'] = &#8216;attachment&#8217;;
$q['post_status'] = &#8216;any&#8217;;
$q['posts_per_page'] = 15;
Change $q['posts_per_page'] to whatever you wish.
The default value for $q['posts_per_page'] is 15.
]]></description>
			<content:encoded><![CDATA[<p><em>Edit the file called “YourWordPressFolder/wp-admin/includes/post.php”<br />
</em></p>
<p>Look for the code below (should start around line 529)<br />
function wp_edit_attachments_query( $q = false ) {<br />
global $wpdb;<br />
if ( false === $q )<br />
$q = $_GET;<br />
$q['m']   = (int) $q['m'];<br />
$q['cat'] = (int) $q['cat'];<br />
$q['post_type'] = &#8216;attachment&#8217;;<br />
$q['post_status'] = &#8216;any&#8217;;<br />
$q['posts_per_page'] = 15;</p>
<p>Change $q['posts_per_page'] to whatever you wish.</p>
<p><strong>The default value for $q['posts_per_page'] is 15.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-attachments-per-page-dashboard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change the numbers of posts per page (dashboard)</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-posts-per-page-dashboard/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-posts-per-page-dashboard/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 20:44:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=71</guid>
		<description><![CDATA[Edit the file called “YourWordPressFolder/wp-admin/includes/post.php”

Look for the code below (should start around line 517)    wp(&#8221;post_type=post&#38;what_to_show=posts$post_status_q&#38;posts_per_page=15
&#38;order=$order&#38;orderby=$orderby&#8221;);
Change $posts_per_page to whatever you wish.
The default value for $posts_per_page is 15.
]]></description>
			<content:encoded><![CDATA[<p><em>Edit the file called “YourWordPressFolder/wp-admin/includes/post.php”<br />
</em></p>
<p>Look for the code below (should start around line 517)    wp(&#8221;post_type=post&amp;what_to_show=posts$post_status_q&amp;posts_per_page=15<br />
&amp;order=$order&amp;orderby=$orderby&#8221;);</p>
<p>Change $posts_per_page to whatever you wish.</p>
<p><strong>The default value for $posts_per_page is 15.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-posts-per-page-dashboard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change the numbers of pages per page (dashboard)</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-pages-per-page-dashboard/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-pages-per-page-dashboard/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 19:45:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=57</guid>
		<description><![CDATA[Edit the file called “YourWordPressFolder/wp-admin/pages.php”

Look for the code below (should start around line 122)
$pagenum = absint( $_GET['pagenum'] );
if ( empty($pagenum) )
$pagenum = 1;
if( !$per_page &#124;&#124; $per_page &#60; 0 )
$per_page = 20;
Change $per_page from the last row to whatever you wish.
The default value for $per_page is 20.
]]></description>
			<content:encoded><![CDATA[<p><em>Edit the file called “YourWordPressFolder/wp-admin/pages.php”<br />
</em><br />
Look for the code below (should start around line 122)<br />
$pagenum = absint( $_GET['pagenum'] );<br />
if ( empty($pagenum) )<br />
$pagenum = 1;<br />
if( !$per_page || $per_page &lt; 0 )<br />
$per_page = 20;<br />
Change $per_page from the last row to whatever you wish.</p>
<p><strong>The default value for $per_page is 20.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-pages-per-page-dashboard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change the numbers of themes per page (dashboard)</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-themes-per-page-dashboard/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-themes-per-page-dashboard/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 19:42:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=55</guid>
		<description><![CDATA[Edit the file called “YourWordPressFolder/wp-admin/themes.php”
Look for the code below (should start around line 30)
$themes = get_themes();
$ct = current_theme_info();
ksort( $themes );
$theme_total = count( $themes );
$per_page = 15;
Change $per_page from the last row to whatever you wish.
The default value for $per_page is 15.
]]></description>
			<content:encoded><![CDATA[<p><em>Edit the file called “YourWordPressFolder/wp-admin/themes.php”</em></p>
<p>Look for the code below (should start around line 30)<br />
$themes = get_themes();<br />
$ct = current_theme_info();<br />
ksort( $themes );<br />
$theme_total = count( $themes );<br />
$per_page = 15;<br />
Change $per_page from the last row to whatever you wish.</p>
<p><strong>The default value for $per_page is 15.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-themes-per-page-dashboard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to change the numbers of link categories per page (dashboard)</title>
		<link>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-link-categories-per-page-dashboard/</link>
		<comments>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-link-categories-per-page-dashboard/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 19:39:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Level 5 : Modify the code]]></category>

		<guid isPermaLink="false">http://wp-docs.com/?p=53</guid>
		<description><![CDATA[Edit the file called “YourWordPressFolder/wp-admin/edit-link-categories.php”
Look for the code below (should start around line 76)
$pagenum = absint( $_GET['pagenum'] );
if ( empty($pagenum) )
$pagenum = 1;
if( !$catsperpage &#124;&#124; $catsperpage &#60; 0 )
$catsperpage = 20;
Change $catsperpage from the last row to whatever you wish.
The default value for $catsperpage is 20.
]]></description>
			<content:encoded><![CDATA[<p><em>Edit the file called “YourWordPressFolder/wp-admin/edit-link-categories.php”</em></p>
<p>Look for the code below (should start around line 76)<br />
$pagenum = absint( $_GET['pagenum'] );<br />
if ( empty($pagenum) )<br />
$pagenum = 1;<br />
if( !$catsperpage || $catsperpage &lt; 0 )<br />
$catsperpage = 20;<br />
Change $catsperpage from the last row to whatever you wish.</p>
<p><strong>The default value for $catsperpage is 20.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wp-docs.com/wordpress/level-5-modify-the-code/how-to-change-the-numbers-of-link-categories-per-page-dashboard/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
