<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mukesh Chapagain&#039;s Blog &#187; Wordpress</title>
	<atom:link href="http://blog.chapagain.com.np/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chapagain.com.np</link>
	<description>PHP Magento jQuery SQL Wordpress Joomla Programming &#38; Tutorial</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPress Fix: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)</title>
		<link>http://blog.chapagain.com.np/wordpress-fix-open_basedir-restriction-in-effect-filetmp-is-not-within-the-allowed-paths/</link>
		<comments>http://blog.chapagain.com.np/wordpress-fix-open_basedir-restriction-in-effect-filetmp-is-not-within-the-allowed-paths/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 11:19:14 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[file upload]]></category>
		<category><![CDATA[warning message]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=1549</guid>
		<description><![CDATA[Scenario: I am getting this warning message in my wordpress blog:- open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) Solution: You should check the Uploading Files path settings in your wordpress admin. - Go to Settings -> Media - Under &#8216;Uploading Files&#8216;, see the path for &#8216;Store uploads in this folder&#8216; - [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/' rel='bookmark' title='Permanent Link: WordPress MU: Admin login problem'>WordPress MU: Admin login problem</a></li>
<li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/' rel='bookmark' title='Permanent Link: How to find php version and php.ini file location path?'>How to find php version and php.ini file location path?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong></p>
<p>I am getting this warning message in my wordpress blog:-</p>
<blockquote><p>open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)</p></blockquote>
<p><strong>Solution:</strong></p>
<p><span id="more-1549"></span></p>
<p>You should check the Uploading Files path settings in your wordpress admin.</p>
<p>- Go to <strong>Settings -> Media</strong><br />
- Under &#8216;<strong>Uploading Files</strong>&#8216;, see the path for &#8216;<strong>Store uploads in this folder</strong>&#8216;<br />
- The default value is &#8216;<strong>wp-content/uploads</strong>&#8216;</p>
<p>If you have custom folder then you can specify it here. Otherwise, keeping the default would fix the warning message.</p>
<p>Hope it helps. Thanks.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=1549&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/' rel='bookmark' title='Permanent Link: WordPress MU: Admin login problem'>WordPress MU: Admin login problem</a></li>
<li><a href='http://blog.chapagain.com.np/file-upload-in-php-simplified/' rel='bookmark' title='Permanent Link: File Upload in PHP :: Simplified'>File Upload in PHP :: Simplified</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-find-php-version-and-php-ini-file-location-path/' rel='bookmark' title='Permanent Link: How to find php version and php.ini file location path?'>How to find php version and php.ini file location path?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-fix-open_basedir-restriction-in-effect-filetmp-is-not-within-the-allowed-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &amp; no success/error message displayed</title>
		<link>http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/</link>
		<comments>http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 11:05:38 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[contact form]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=1546</guid>
		<description><![CDATA[Scenario / Problem I am using Contact Form 7 plugin on my WordPress blog. The form is displayed properly. But, when I submit the form, the spinning arrow is displayed forever and no success or error message is displayed. However, the form is working. It is submitted and I get the message in my inbox. [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/disqus-solution-to-error-closing-tag-mismatch-in-rss-feed/' rel='bookmark' title='Permanent Link: Disqus: Solution to Error &#8216;Closing Tag Mismatch&#8217; in RSS Feed'>Disqus: Solution to Error &#8216;Closing Tag Mismatch&#8217; in RSS Feed</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/aspnet-error-a-potentially-dangerous-requestform-value-was-detected-from-the-client/' rel='bookmark' title='Permanent Link: ASP.NET Error: A potentially dangerous Request.Form value was detected from the client'>ASP.NET Error: A potentially dangerous Request.Form value was detected from the client</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario / Problem</strong></p>
<p>I am using <a href="http://wordpress.org/extend/plugins/contact-form-7" rel="nofollow" target="_blank">Contact Form 7</a> plugin on my <a href="http://wordpress.org" rel="nofollow" target="_blank">WordPress</a> blog.</p>
<p>The form is displayed properly. But, when I submit the form, the spinning arrow is displayed forever and no success or error message is displayed. However, the form is working. It is submitted and I get the message in my inbox.</p>
<p><span id="more-1546"></span></p>
<p>The main problem is: </p>
<p>- success or error message is not displayed<br />
- spinning arrows displays forever<br />
- this shows, as if the form is not working</p>
<p><strong>Quick Fix / Solution</strong></p>
<p>I googled and found the following suggestions/solutions:-</p>
<p>1. The <a href="http://contactform7.com/faq/#The_spinning_arrow_icon_shows_up_once_I_submit_a_form"target="_blank" rel="nofollow" >official website of contact form 7</a> says that this may occur due to a conflict between plugins/theme. It suggests to deactivate all other plugins and switch to the default theme.</p>
<p>Their solution might be a good and reliable one but it takes lot of time to figure out which plugin or theme did create such problem. I did not follow their suggestion.</p>
<p>2. The other solution I found was changing a configuration setting in the contact form plugin&#8217;s file.</p>
<blockquote><p>Open file:<br />
/wp-content/plugins/contact-form-7/wp-contact-form-7.php</p>
<p>Change this:<br />
define( &#8216;WPCF7_LOAD_JS&#8217;, true);</p>
<p>To this:<br />
define( &#8216;WPCF7_LOAD_JS&#8217;, false );</p></blockquote>
<p>This one is a quick fix. But, when you apply this fix, your form will not be submitted through Ajax. Instead, your contact form page will be reloaded when you submit the form. I did try this solution and it worked for me. However, I did not use this because I want my contact form to be submitted through Ajax.</p>
<p>3. This final solution was what I wanted. This simple trick will let your contact form work as before.</p>
<p>Add file upload field in your contact form. You can go to the contact form plugin settings in admin and add a file upload field in your contact form. If you don&#8217;t want to display the file upload field in your form then you can simply make it hidden. Like this:-</p>
<pre class="brush: php; title: ; notranslate">&lt;span style=&quot;display:none;&quot;&gt;[file file-upload]&lt;/span&gt;</pre>
<p>Here, <strong>file-upload</strong> is the name of the file upload field.</p>
<p>Hope this helps. Thanks.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=1546&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/disqus-solution-to-error-closing-tag-mismatch-in-rss-feed/' rel='bookmark' title='Permanent Link: Disqus: Solution to Error &#8216;Closing Tag Mismatch&#8217; in RSS Feed'>Disqus: Solution to Error &#8216;Closing Tag Mismatch&#8217; in RSS Feed</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/aspnet-error-a-potentially-dangerous-requestform-value-was-detected-from-the-client/' rel='bookmark' title='Permanent Link: ASP.NET Error: A potentially dangerous Request.Form value was detected from the client'>ASP.NET Error: A potentially dangerous Request.Form value was detected from the client</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Archive link not working</title>
		<link>http://blog.chapagain.com.np/wordpress-archive-link-not-working/</link>
		<comments>http://blog.chapagain.com.np/wordpress-archive-link-not-working/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 00:03:54 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[robots meta]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=1253</guid>
		<description><![CDATA[Scenario:- My archive link is not working in my WordPress blog. Precisely saying, the date-based archive is not working. I am redirected to 404 page when I try to access Yearly Archive or Monthly Archive. Cause &#038; Solution:- The main cause for this problem (in my case) was &#8220;Robots Meta Plugin&#8220;. This plugin makes it [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/magento-show-hide-website-to-search-engines-by-adjusting-robots-meta-tag/' rel='bookmark' title='Permanent Link: Magento: Show/Hide website to search engines by adjusting robots meta tag'>Magento: Show/Hide website to search engines by adjusting robots meta tag</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:-</strong></p>
<p>My archive link is not working in my WordPress blog. Precisely saying, the date-based archive is not working. I am redirected to 404 page when I try to access Yearly Archive or Monthly Archive.</p>
<p><strong>Cause &#038; Solution:-</strong></p>
<p><span id="more-1253"></span></p>
<p>The main cause for this problem (in my case) was &#8220;<strong>Robots Meta Plugin</strong>&#8220;. </p>
<blockquote><p>This plugin makes it easy to add the appropriate meta robots tags to pages, disable unused archives, nofollow unnecessary links as well.
</p></blockquote>
<p>More about this plugin:- <a href="http://wordpress.org/extend/plugins/robots-meta/" targe="_blank" rel="nofollow">http://wordpress.org/extend/plugins/robots-meta/</a></p>
<p>I had installed &#8220;<strong>Robots Meta</strong>&#8221; Plugin in my WordPress blog and I had checked &#8220;<strong>Disable the date-based archives</strong>&#8221; from its configuration settings. I unchecked &#8220;Disable the date-based archives&#8221; and my problem is solved. Now, the date-based archive links are working fine.</p>
<p>- Login to WordPress admin<br />
- Search for &#8220;Robots Meta&#8221;. Probably, it is under Plugins or Settings Menu.<br />
- Click the &#8220;Robots Meta&#8221; link<br />
- You will not be at &#8220;Robots Meta Configuration&#8221; page<br />
- Under &#8220;Archive settings&#8221;, uncheck &#8220;Disable the date-based archives&#8221; checkbox<br />
- Save Settings</p>
<p>You are done. Now, your site&#8217;s archive links should start working.</p>
<p>Hope this helps. Thanks.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=1253&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/magento-show-hide-website-to-search-engines-by-adjusting-robots-meta-tag/' rel='bookmark' title='Permanent Link: Magento: Show/Hide website to search engines by adjusting robots meta tag'>Magento: Show/Hide website to search engines by adjusting robots meta tag</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-archive-link-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress MU: Admin login problem</title>
		<link>http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/</link>
		<comments>http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 20:31:31 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[wordpress-mu]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=750</guid>
		<description><![CDATA[Scenario: - I have installed WordPress MU in localhost (local computer). - I am using Windows XP Operating System. - I am using WAMP Server. Problem: When installing WordPress MU, I was getting the following error:- Warning! Installing to http://localhost/ is not supported. Please use http://localhost.localdomain/ instead. I was able to get rid of this [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-admin-login-problem/' rel='bookmark' title='Permanent Link: Magento Admin login problem'>Magento Admin login problem</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
<li><a href='http://blog.chapagain.com.np/magento-solution-to-error-404-not-found-in-admin-login-page/' rel='bookmark' title='Permanent Link: Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page'>Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong></p>
<p>- I have installed WordPress MU in localhost (local computer).<br />
- I am using Windows XP Operating System.<br />
- I am using WAMP Server.</p>
<p><strong>Problem:</strong></p>
<p><span id="more-750"></span></p>
<p>When installing WordPress MU, I was getting the following error:-</p>
<blockquote><p>Warning! Installing to http://localhost/ is not supported. Please use http://localhost.localdomain/ instead.
</p></blockquote>
<p>I was able to get rid of this warning message by commenting the following line (<em>present at around Line 8 to 10</em>) in <strong>index-install.php</strong> file present inside the wordpress-mu folder:-</p>
<pre class="brush: php; title: ; notranslate">
if( $_SERVER[ 'HTTP_HOST' ] == 'localhost' ) {
	die( &quot;&lt;h2&gt;Warning!&lt;/h2&gt;&lt;p&gt;Installing to http://localhost/ is not supported. Please use &lt;a href='http://localhost.localdomain/'&gt;http://localhost.localdomain/&lt;/a&gt; instead.&lt;/p&gt;&quot; );
}
</pre>
<p>By doing this, I was able to install wordpress MU completely in localhost.</p>
<blockquote><p>But, now I get a strange error. When I try to login to admin panel, I always get redirected back to the login page. I cannot access the dashboard.</p></blockquote>
<p><strong>Solution:</strong></p>
<p>- Go to <strong>C:\WINDOWS\system32\drivers\etc</strong><br />
- Open the file named <strong>hosts </strong>in notepad<br />
- At the end of the file, write the following:-<br />
  <strong>127.0.0.1    localhost.localdomain</strong></p>
<p>- Reinstall WordPress MU using localhost.localdomain instead of localhost.</p>
<p>Suppose you have wordpress MU files in a directory named <strong>wordpress-mu</strong>. Then, you should type the following URL in the browser:-</p>
<p><strong>http://localhost.localdomain/wordpress-mu/</strong></p>
<p>Hope this helps and thanks for reading.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=750&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-admin-login-problem/' rel='bookmark' title='Permanent Link: Magento Admin login problem'>Magento Admin login problem</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
<li><a href='http://blog.chapagain.com.np/magento-solution-to-error-404-not-found-in-admin-login-page/' rel='bookmark' title='Permanent Link: Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page'>Magento: Solution to &#8220;Error: 404 Not Found&#8221; in Admin Login Page</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Optimizing 404 Page Not Found page</title>
		<link>http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/</link>
		<comments>http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:00:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=411</guid>
		<description><![CDATA[Generally the wordpress 404 page contains one or two sentence saying that the page is not found. But you can make it more user friendly. Instead of just writing plain text about page not found, we can display archive list and a search form. In this way, the visitor can search or browse your website [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to show child page (sub page) list in parent page in wordpress?'>How to show child page (sub page) list in parent page in wordpress?</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Generally the wordpress 404 page contains one or two sentence saying that the page is not found. But you can make it more user friendly. Instead of just writing plain text about page not found, we can display archive list and a search form. In this way, the visitor can search or browse your website instantly. This is a nice way to keep your visitors within your site.</p>
<p>I got this idea from wp-comfy theme.</p>
<p><span id="more-411"></span></p>
<p>Copy the following code into 404.php of your theme. With this change, you will be able to see search form and archive list in 404 page of your site.</p>
<p style="text-align: justify;">
<pre class="brush: php; title: ; notranslate">
&lt;?php get_header(); ?&gt;

	&lt;div id=&quot;content&quot;&gt;

	&lt;div class=&quot;post&quot;&gt;

	&lt;h2 class=&quot;title&quot;&gt;Cannot find the page you're trying to reach..&lt;/h2&gt;

		&lt;div class=&quot;entry clearfloat&quot;&gt;
			&lt;p&gt;Use the search form below to find your article or post or browse our latest articles to read something more interesting.&lt;/p&gt;
			&lt;p&gt;
			&lt;form class=&quot;find&quot; method=&quot;get&quot; action=&quot;&lt;?php bloginfo('url'); ?&gt;/&quot;&gt;

					&lt;input size=&quot;40&quot; type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; class=&quot;findfield&quot; /&gt;
					&lt;input type=&quot;submit&quot; value=&quot;Search&quot; class=&quot;findsubmit&quot; /&gt;

			&lt;/form&gt;
			&lt;/p&gt;

			&lt;h3&gt;Yearly Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=yearly&amp;amp;show_post_count=1'); ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Monthly Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=monthly&amp;amp;show_post_count=1'); ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Category Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_list_cats('sort_column=name&amp;amp;optioncount=1') ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Posts Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=postbypost') ?&gt;&lt;/ul&gt;

		&lt;/div&gt;

	&lt;/div&gt;

	&lt;/div&gt;

&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;</pre>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=411&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to show child page (sub page) list in parent page in wordpress?'>How to show child page (sub page) list in parent page in wordpress?</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress: Create custom archive page</title>
		<link>http://blog.chapagain.com.np/wordpress-create-custom-archive-page/</link>
		<comments>http://blog.chapagain.com.np/wordpress-create-custom-archive-page/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:29:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[page]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=405</guid>
		<description><![CDATA[Here is the procedure to create a custom archive page for your wordpress blog. 1) Create a file archives.php 2) Write the following code in it. 3) Upload it (archives.php) in your current wordpress theme directory. 4) From WordPress admin panel, create a page name Archives. 5) For this page, set Template to Archives. i.e. [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to show child page (sub page) list in parent page in wordpress?'>How to show child page (sub page) list in parent page in wordpress?</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/' rel='bookmark' title='Permanent Link: WordPress MU: Admin login problem'>WordPress MU: Admin login problem</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is the procedure to create a custom archive page for your wordpress blog.</p>
<p>1) Create a file <strong>archives.php</strong></p>
<p>2) Write the following code in it.</p>
<p><span id="more-405"></span></p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/*
Template Name: Archives
*/
?&gt;

&lt;?php get_header(); ?&gt;

	&lt;div id=&quot;content&quot;&gt;

	&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;

	&lt;div class=&quot;post&quot; id=&quot;post_&lt;?php the_ID(); ?&gt;&quot;&gt;

	&lt;h2 class=&quot;title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;

		&lt;div class=&quot;entry clearfloat&quot;&gt;
			&lt;h3&gt;Yearly Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=yearly&amp;amp;show_post_count=1'); ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Monthly Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=monthly&amp;amp;show_post_count=1'); ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Category Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_list_cats('sort_column=name&amp;amp;optioncount=1') ?&gt;&lt;/ul&gt;
			&lt;h3&gt;Posts Archive&lt;/h3&gt;
			&lt;ul&gt;&lt;?php wp_get_archives('type=postbypost') ?&gt;&lt;/ul&gt;
		&lt;/div&gt;

	&lt;?php edit_post_link('Edit this entry.', '&lt;p&gt;', '&lt;/p&gt;'); ?&gt;

	&lt;/div&gt;

	&lt;?php endwhile; endif; ?&gt;

	&lt;/div&gt;

&lt;?php get_sidebar(); ?&gt;
</pre>
<p>3) Upload it (archives.php) in your current wordpress theme directory.</p>
<p>4) From WordPress admin panel, create a page name <strong>Archives</strong>.</p>
<p>5) For this page, set Template to Archives. i.e. <strong>Attributes >> Templates = Archives </strong>(In WP 2.8, you should find &#8216;Attributes&#8217; under &#8216;Update Page&#8217; button).</p>
<p>6) Publish the page and you are done.</p>
<p>Enjoy!</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=405&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to show child page (sub page) list in parent page in wordpress?'>How to show child page (sub page) list in parent page in wordpress?</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-mu-admin-login-problem/' rel='bookmark' title='Permanent Link: WordPress MU: Admin login problem'>WordPress MU: Admin login problem</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-create-custom-archive-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter, Facebook, WordPress getting together</title>
		<link>http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/</link>
		<comments>http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 08:06:33 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=159</guid>
		<description><![CDATA[Twitter, Facebook and wordpress are all popular and fascinating. You publish an article in your wordpress blog. And you may want to publicize your article in twitter and facebook through status update separately. It would be very easy and time saving if I could publicize my blog article in twitter and facebook as soon as [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/introduction-of-facebook-connect/' rel='bookmark' title='Permanent Link: Introduction to facebook connect'>Introduction to facebook connect</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Twitter, Facebook and wordpress are all popular and fascinating. You publish an article in your wordpress blog. And you may want to publicize your article in twitter and facebook through status update separately. It would be very easy and time saving if I could publicize my blog article in twitter and facebook as soon as the article is published.</p>
<p>But this is possible and I have implemented it as well. You just need a wordpress plugin and facebook application.</p>
<p><span id="more-159"></span></p>
<p>WordPress plugin required: <a href="http://wordpress.org/extend/plugins/twittrup/"title="Twitterup"  target="_blank" rel="nofollow">Twitterup</a></p>
<blockquote><p><strong></strong>This plugin updates your twitter status with the latest post that you&#8217;ve made. It also has the option of including a link back to your post so people can easily click on it to view the post. The link provided in the tweet can be shorted via a service of your choice: tinyurl.com, is.gd, bit.ly or snurl.com</p></blockquote>
<p>Facebook Application required: <a href="http://www.facebook.com/apps/application.php?id=2231777543"title="Facebook application Twitter"  rel="nofollow"  target="_blank">Twitter</a></p>
<blockquote><p>Updates your Facebook status with Twitter status and updates your Twitter status through the application.</p></blockquote>
<p>The scenario:</p>
<p>1) You publish an article in your wordpress blog.</p>
<p>2) Your article is published as Twitter status through Twitterup wordpress plugin.</p>
<p>3) Your Facebook status is updated through the Twitter Facebook Application.</p>
<p>Finally, you combine Twitter, Facebook and WordPress blog at a time.</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=159&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/introduction-of-facebook-connect/' rel='bookmark' title='Permanent Link: Introduction to facebook connect'>Introduction to facebook connect</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Quick Adsense 1.0</title>
		<link>http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/</link>
		<comments>http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 19:51:33 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=144</guid>
		<description><![CDATA[I was thinking of a wordpress plugin for google adsense that would make me easy to add adsense on my sidebars and on my post. I did search for a flexible one but could not find any satisfactory result. So, thought of making one by myself. I just created a simple wp plugin named &#8216;Quick [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/blogspot-how-to-add-google-adsense-to-your-blogger-website/' rel='bookmark' title='Permanent Link: Blogspot: How to add google adsense to your blogger website?'>Blogspot: How to add google adsense to your blogger website?</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-setup-google-adsense-in-your-website/' rel='bookmark' title='Permanent Link: How to setup Google AdSense for your website'>How to setup Google AdSense for your website</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was thinking of a wordpress plugin for google adsense that would make me easy to add adsense on my sidebars and on my post. I did search for a flexible one but could not find any satisfactory result. So, thought of making one by myself.</p>
<p>I just created a simple wp plugin named &#8216;Quick Adsense&#8217;. This plugin is in production phase. It is not full fledged yet.</p>
<p><span id="more-144"></span></p>
<p>This plugin creates a sidebar widget. After you activate this plugin, you can go to the Widgets section under Appearance. You will see a widget named &#8216;Quick Adsense&#8217;. Now, you can add this widget to your sidebar. You can edit the widget to add your adsense code. You may give title to the widget. You also have the option to hide or show the widget title.</p>
<p><a href="http://chapagain.googlecode.com/files/quick-adsense.zip" rel="nofollow" title="Quick Adsense 1.0" >Download Quick Adsense 1.0</a></p>
<p>The next modification/enhancement to this plugin will be:</p>
<p>- Adding multiple widgets</p>
<p>- Making settings page for the plugin where you can add adsense code for your post and pages.</p>
<p>More suggestions are welcomed !</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=144&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/blogspot-how-to-add-google-adsense-to-your-blogger-website/' rel='bookmark' title='Permanent Link: Blogspot: How to add google adsense to your blogger website?'>Blogspot: How to add google adsense to your blogger website?</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-contact-form-7-quick-fix-spinning-arrow/' rel='bookmark' title='Permanent Link: WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed'>WordPress Contact Form 7: Quick Fix to spinning arrow displays forever &#038; no success/error message displayed</a></li>
<li><a href='http://blog.chapagain.com.np/twitter-facebook-wordpress-getting-together/' rel='bookmark' title='Permanent Link: Twitter, Facebook, WordPress getting together'>Twitter, Facebook, WordPress getting together</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-setup-google-adsense-in-your-website/' rel='bookmark' title='Permanent Link: How to setup Google AdSense for your website'>How to setup Google AdSense for your website</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Left or Right Align your image, adsense code or other advertisement in wordpress</title>
		<link>http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/</link>
		<comments>http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 11:00:34 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=79</guid>
		<description><![CDATA[Suppose you want to show your google adsense in the top-left side of your post. If you simply put your adsense code in the single post page (single.php) of wordpress then the text of your post will appear below the adsense. To solve this problem, I used stylesheet property called &#8216;margin&#8217;. The example below is [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/how-to-setup-google-adsense-in-your-website/' rel='bookmark' title='Permanent Link: How to setup Google AdSense for your website'>How to setup Google AdSense for your website</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/solution-google-adsense-not-showing-on-my-website-blog/' rel='bookmark' title='Permanent Link: Solution: Google Adsense not showing on my website blog'>Solution: Google Adsense not showing on my website blog</a></li>
<li><a href='http://blog.chapagain.com.np/blogspot-how-to-add-google-adsense-to-your-blogger-website/' rel='bookmark' title='Permanent Link: Blogspot: How to add google adsense to your blogger website?'>Blogspot: How to add google adsense to your blogger website?</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-get-html-source-code-of-a-website/' rel='bookmark' title='Permanent Link: How to get(view) html source code of a website'>How to get(view) html source code of a website</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Suppose you want to show your google adsense in the top-left side of your post. If you simply put your adsense code in the single post page (single.php) of wordpress then the text of your post will appear below the adsense.</p>
<p>To solve this problem, I used stylesheet property called &#8216;margin&#8217;. The example below is from single.php file of my wordpress theme. The adsense code is kept in between the paragraph tag.<br />
It is kept after </p>
<pre class="brush: php; title: ; notranslate">&lt;em&gt;&lt;div class=&quot;entry-content&quot;&gt;&lt;/em&gt;</pre>
<p>and before </p>
<pre class="brush: php; title: ; notranslate">&lt;em&gt;&lt;?php the_content(); ?&gt;&lt;/em&gt;</pre>
<p><span id="more-79"></span></p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;entry-content&quot;&gt;

&lt;p class=&quot;alignleft&quot; style=&quot;text-align: left; margin: 8px; float: left;&quot;&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-8802303964745491&quot;;
/* 336x280, created 5/16/08 */
google_ad_slot = &quot;7152897181&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;/p&gt;

&lt;?php the_content(''.__('Read More &lt;span class=&quot;meta-nav&quot;&gt;&amp;raquo;&lt;/span&gt;', 'sandbox').''); ?&gt;
</pre>
<p>Similarly, I created an about me page. I wanted to show my pic in the top-left position and to show the text by the side of the pic. For this I added style to my uploaded image while editing the page. I went to the HTML (not View) section in the edit/add page.</p>
<p>The style I added goes like this:</p>
<pre class="brush: xml; title: ; notranslate">style=&quot;margin: 8px; float: left;&quot;</pre>
<p>More HTML source from my about page:</p>
<pre class="brush: xml; title: ; notranslate">

&lt;p style=&quot;text-align: left;&quot;&gt;
&lt;img class=&quot;alignleft&quot; alt=&quot;Mukesh Image&quot; src=&quot;http://blog.chapagain.com.np/wp-content/uploads/close-up-small.jpg&quot; style=&quot;margin: 8px; float: left;&quot;/&gt;
&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Hi, I am Mukesh Chapagain. My rest of the introduction goes here...
&lt;/p&gt;
</pre>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=79&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/how-to-setup-google-adsense-in-your-website/' rel='bookmark' title='Permanent Link: How to setup Google AdSense for your website'>How to setup Google AdSense for your website</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
<li><a href='http://blog.chapagain.com.np/solution-google-adsense-not-showing-on-my-website-blog/' rel='bookmark' title='Permanent Link: Solution: Google Adsense not showing on my website blog'>Solution: Google Adsense not showing on my website blog</a></li>
<li><a href='http://blog.chapagain.com.np/blogspot-how-to-add-google-adsense-to-your-blogger-website/' rel='bookmark' title='Permanent Link: Blogspot: How to add google adsense to your blogger website?'>Blogspot: How to add google adsense to your blogger website?</a></li>
<li><a href='http://blog.chapagain.com.np/how-to-get-html-source-code-of-a-website/' rel='bookmark' title='Permanent Link: How to get(view) html source code of a website'>How to get(view) html source code of a website</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to show child page (sub page) list in parent page in wordpress?</title>
		<link>http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/</link>
		<comments>http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 09:53:24 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=78</guid>
		<description><![CDATA[Suppose, you have many sub pages (child pages) of a single parent page. You want to show the list of all the child pages in the parent page. You can show the list of pages and sub pages in the sidebar of your wordpress theme with the addition of in-built sidebar widget called &#8216;Pages&#8217;. This [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Suppose, you have many sub pages (child pages) of a single parent page. You want to show the list of all the child pages in the parent page.</p>
<p>You can show the list of pages and sub pages in the sidebar of your wordpress theme with the addition of in-built sidebar widget called &#8216;Pages&#8217;. This will show all your pages and sub pages nested inside parent pages.</p>
<p><span id="more-78"></span></p>
<p>I will be showing, how you can show the list of the sub pages in the parent page body (not in the sidebar but in the main body of the page).</p>
<p>Suppose, you have created a page called &#8216;Sports&#8217;. Under &#8216;Sports&#8217;, you have two sub pages called &#8216;Cricket&#8217; and &#8216;Football&#8217;.</p>
<p>The process of creating a sub page/child page is as under:</p>
<p>1) First you create a page called Sports. You choose page parent as &#8216;Main Page&#8217;.</p>
<p>2) Then you create another page called &#8216;Cricket&#8217;. You choose page parent as &#8216;Sports&#8217;. Now, page cricket becomes the sub page of the page Sports.</p>
<p>Below is the code to show the list of sub pages in the parent page body. You have to put this code inside the the_post() section of the page.php template of your WordPress theme after the_content().</p>
<p><strong>For WordPress 2.0.1 or older:</strong></p>
<pre class="brush: php; title: ; notranslate">

&lt;ul&gt;
&lt;?php
global $id;
wp_list_pages(&quot;title_li=&amp;child_of=$id&amp;show_date=modified
&amp;date_format=$date_format&quot;); ?&gt;
&lt;/ul&gt;
</pre>
<p><strong>For WordPress 2.0.1 or newer:</strong></p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
$children = wp_list_pages('title_li=&amp;child_of='.$post-&gt;ID.'&amp;echo=0');
if ($children) { ?&gt;
&lt;ul&gt;
&lt;?php echo $children; ?&gt;
&lt;/ul&gt;
&lt;?php } ?&gt;
</pre>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=78&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/wordpress-optimizing-404-page-not-found-page/' rel='bookmark' title='Permanent Link: WordPress: Optimizing 404 Page Not Found page'>WordPress: Optimizing 404 Page Not Found page</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-create-custom-archive-page/' rel='bookmark' title='Permanent Link: WordPress: Create custom archive page'>WordPress: Create custom archive page</a></li>
<li><a href='http://blog.chapagain.com.np/left-or-right-align-your-image-adsense-code-or-other-advertisement-in-wordpress/' rel='bookmark' title='Permanent Link: Left or Right Align your image, adsense code or other advertisement in wordpress'>Left or Right Align your image, adsense code or other advertisement in wordpress</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-archive-link-not-working/' rel='bookmark' title='Permanent Link: WordPress: Archive link not working'>WordPress: Archive link not working</a></li>
<li><a href='http://blog.chapagain.com.np/wordpress-plugin-quick-adsense-10/' rel='bookmark' title='Permanent Link: WordPress Plugin: Quick Adsense 1.0'>WordPress Plugin: Quick Adsense 1.0</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/how-to-show-child-page-sub-page-list-in-parent-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
