<?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>Techie Corner</title>
	<atom:link href="http://www.techiecorner.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.techiecorner.com</link>
	<description>The place for computer tips and tricks! microsoft windows, open source, database, programming, freeware and etc</description>
	<lastBuildDate>Fri, 21 Jul 2023 04:13:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>ASUS RT-AX56U Review &#8211; Is this still good to be used in 2023?</title>
		<link>https://www.techiecorner.com/3585/asus-rt-ax56u-review-is-this-still-good-to-be-used-in-2023/</link>
					<comments>https://www.techiecorner.com/3585/asus-rt-ax56u-review-is-this-still-good-to-be-used-in-2023/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Fri, 21 Jul 2023 04:10:42 +0000</pubDate>
				<category><![CDATA[others]]></category>
		<category><![CDATA[asus router]]></category>
		<category><![CDATA[asus router review]]></category>
		<category><![CDATA[asus router rt-ax56u]]></category>
		<category><![CDATA[asus router rt-ax56u review]]></category>
		<category><![CDATA[rt-ax56u]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3585</guid>

					<description><![CDATA[<p>I got this ASUS RT-AX56U two years ago while my old TP-Link keep rebooting randomly. I got this router at a 30% discounted price during a online marketplace sale. I&#8217;m quite happy with the price i get. Three days after that i got the parcel and start to setup the new router.  The setup process [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3585/asus-rt-ax56u-review-is-this-still-good-to-be-used-in-2023/">ASUS RT-AX56U Review – Is this still good to be used in 2023?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3587" src="https://www.techiecorner.com/wp-content/uploads/2023/07/asus-router-rt-ax-56u.jpg" alt="" width="466" height="312" srcset="https://www.techiecorner.com/wp-content/uploads/2023/07/asus-router-rt-ax-56u.jpg 466w, https://www.techiecorner.com/wp-content/uploads/2023/07/asus-router-rt-ax-56u-300x201.jpg 300w, https://www.techiecorner.com/wp-content/uploads/2023/07/asus-router-rt-ax-56u-400x268.jpg 400w" sizes="(max-width: 466px) 100vw, 466px" /></p>
<p>I got this ASUS RT-AX56U two years ago while my old TP-Link keep rebooting randomly. I got this router at a 30% discounted price during a online marketplace sale. I&#8217;m quite happy with the price i get. Three days after that i got the parcel and start to setup the new router.  The setup process for this new ASUS RT-AX56U is simple and everything was done within 15min.</p>
<p><strong>Daily Usage</strong></p>
<p>In term of usage, we work from home since covid. So here are the things that we do daily: web browsing, instant messaging, teleconferencing, mobile gaming, video streaming, VPN, SSH and FTP.  Total device ranging from 8 to 15.</p>
<p><span id="more-3585"></span></p>
<p><strong>Browsing</strong></p>
<p>i got a very smooth browsing experience. The respond time (If you notice, every time you click on a new link, there is a &#8220;Waiting for www.asus.com &#8230;.&#8221; ) is way shorter than my previous old router.</p>
<p><strong>AiProtection</strong></p>
<p>Few days later, my wife receive a share link from one of her friend. When my wife click on the link, it shows the site is being blocked due to malicious site detected. This is a great feature for non-tech savvy user.</p>
<p><strong>WiFi Coverage</strong></p>
<p>This router come with 2.4 GHz and 5 GHz. Because my head is quite sensitive towards 5 GHz raiod, i disable the 5GHz since day one. I only turn on 2.4 GHz  WiFi at home and the coverage is superb! It manage to fully covered a 1,200 sqft apartment. So far, i didn&#8217;t find any blind spot in my house although i just put my router on the floor. (I know i might get a better performance if i put my router on a higher position)</p>
<p><strong>AiMesh</strong></p>
<p>Although this router come with AiMesh, my house is not big enough to play with the AiMesh. Let me check with my neighbours if anyone want to test AiMesh together in the future.</p>
<p>&nbsp;</p>
<p>I&#8217;m very satisfied with the overall performance, and the router is still in good condition. I would say it can still last for another 5 years and it still can fulfil my networking needs.</p>
<p>&nbsp;</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3585/asus-rt-ax56u-review-is-this-still-good-to-be-used-in-2023/">ASUS RT-AX56U Review – Is this still good to be used in 2023?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3585/asus-rt-ax56u-review-is-this-still-good-to-be-used-in-2023/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ContactForm7 &#8211; How to prevent user from double click on the submit button?</title>
		<link>https://www.techiecorner.com/3570/contactform7-how-to-prevent-user-from-double-click-on-the-submit-button/</link>
					<comments>https://www.techiecorner.com/3570/contactform7-how-to-prevent-user-from-double-click-on-the-submit-button/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Sat, 02 Oct 2021 07:09:16 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3570</guid>

					<description><![CDATA[<p>If you are using ContactForm7 for your wordpress website, you might encounter a problem where user like to double click on the &#8220;Submit&#8221; button whenever they try to submit a form. If you are using the form to run a registration campaign, then this probably end up with many duplicate emails in your inbox. Fortunately, [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3570/contactform7-how-to-prevent-user-from-double-click-on-the-submit-button/">ContactForm7 – How to prevent user from double click on the submit button?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://www.techiecorner.com/wp-content/uploads/2015/07/wordpress-logo.jpg" alt="wordpress logo" width="150" height="88" class="alignnone size-full wp-image-3361" />If you are using ContactForm7 for your wordpress website, you might encounter a problem where user like to double click on the &#8220;Submit&#8221; button whenever they try to submit a form. If you are using the form to run a registration campaign, then this probably end up with many duplicate emails in your inbox. Fortunately, ContactForm7 did provide some programming hook for us to extends it&#8217;s capabilities.</p>
<h3>ContactForm7 &#8211; Follow the steps below to prevent user from double click on &#8220;Submit&#8221; button:-</h3>
<p><span id="more-3570"></span></p>
<ul>
<li>go to Appearance -&gt; Theme Editor  -&gt; click on functions.php</li>
<li>scroll down to the end of the page and add these line (before the ?&gt; tag) and click on &#8220;Update File&#8221; button.
<pre class="lang:php decode:true " >add_action( 'wp_footer', 'techiecorner_cf7_prevent_double_click' );

function techiecorner_cf7_prevent_double_click() {
?&gt;
    &lt;script&gt;

	// START -- contactform7 prevent double submit //
	jQuery( '.wpcf7-submit' ).click(function() {
		jQuery( this ).css( 'display', 'none' );
		jQuery('.loading-text').text('Processing...');
	});

	document.addEventListener( 'wpcf7submit', function() {
	    jQuery( '.wpcf7-submit' ).css( 'display', 'block' );
		jQuery('.loading-text').text('');
	}, false );

	document.addEventListener( 'wpcf7invalid', function() {
		jQuery( '.wpcf7-submit' ).css( 'display', 'block' );
		jQuery('.loading-text').text('');
	}, false );

	document.addEventListener( 'wpcf7mailsent', function() {
		alert('Thank you for your submission');
	}, false );
	// END -- contactform7 prevent double submit //

    &lt;/script&gt;

&lt;?php
} // end func</pre>
</li>
<li>Now go to ContactForm7 module &#8211; click on left navigation &#8216;Contact&#8217;.</li>
<li>Click on your form to edit. Now add this line after your [submit] button and &#8220;Save&#8221; the form
<pre class="lang:php decode:true " >            &lt;div class="loading-text"&gt;&lt;/div&gt;</pre>
</li>
<li>You may now try to submit your form at the front end. When the form is successfully submitted it will show an alert &#8220;Thank you for your submission&#8221;</li>
</ul>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3570/contactform7-how-to-prevent-user-from-double-click-on-the-submit-button/">ContactForm7 – How to prevent user from double click on the submit button?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3570/contactform7-how-to-prevent-user-from-double-click-on-the-submit-button/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to update Mail Server Settings in Outlook 2016</title>
		<link>https://www.techiecorner.com/3556/how-to-update-mail-server-settings-in-outlook-2016/</link>
					<comments>https://www.techiecorner.com/3556/how-to-update-mail-server-settings-in-outlook-2016/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Thu, 08 Apr 2021 08:56:00 +0000</pubDate>
				<category><![CDATA[CPanel Hosting Tutorial]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[cpanel email]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email settings]]></category>
		<category><![CDATA[outlook]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3556</guid>

					<description><![CDATA[<p>If you are receiving your email thru your own domain. You might experience mail server migration where you need to update some of your mail server settings from your outlook. Since i always help my client to do email migration, I think it&#8217;s good for me to document down how to update mail server settings [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3556/how-to-update-mail-server-settings-in-outlook-2016/">How to update Mail Server Settings in Outlook 2016</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p>If you are receiving your email thru your own domain. You might experience mail server migration where you need to update some of your mail server settings from your outlook. Since i always help my client to do email migration, I think it&#8217;s good for me to document down how to update mail server settings using Outlook version.</p>
<p>To update mail server settings in Outlook 2016 follow the steps below:-<br />
<span id="more-3556"></span></p>
<ul>
<li>Open your Outlook, and click on File and you will be redirect to Account Information page</li>
<li><img decoding="async" class="img img-responsive" src="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-2.jpg" alt="" width="750" height="510" /><br />
Now Click on &#8220;Account Settings&#8221; button and select &#8220;Account Settings&#8221;</li>
<li>&#8220;Account Settings&#8221; window will popup, highlight (single click on) the email address that you want to update the mail server settings and click &#8220;Change&#8221; button<br />
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-3562" src="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-4.jpg" alt="" width="615" height="491" srcset="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-4.jpg 615w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-4-300x240.jpg 300w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-4-400x319.jpg 400w" sizes="auto, (max-width: 615px) 100vw, 615px" /></li>
<li>&#8220;Change Account&#8221; window will appear, and now you may check if your incoming and outgoing mail server value are correct, if it&#8217;s not, update it according to your new settings. Once done, Click on &#8220;More Settings&#8221; button<br />
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-3563" src="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-5.jpg" alt="" width="672" height="481" srcset="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-5.jpg 672w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-5-300x215.jpg 300w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-5-400x286.jpg 400w" sizes="auto, (max-width: 672px) 100vw, 672px" /></li>
<li>&#8220;Internet Email Settings&#8221; window will appear, click on &#8220;Advanced&#8221; tab, and check your &#8220;Server Port Numbers&#8221; for POP3 and SMTP.<br />
If your server support SSL, please tick &#8220;This server require and encrypted connection (SSL/TLS) under POP3 and select &#8220;SSL/TLS&#8221; for &#8220;Use the following type of encrypted connections:&#8221;. Once done, click &#8220;OK&#8221; button.<br />
<img loading="lazy" decoding="async" class="alignnone size-full wp-image-3564" src="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-6.jpg" alt="" width="402" height="423" srcset="https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-6.jpg 402w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-6-285x300.jpg 285w, https://www.techiecorner.com/wp-content/uploads/2021/04/how-to-update-mail-settings-outlook-2016-6-400x421.jpg 400w" sizes="auto, (max-width: 402px) 100vw, 402px" /></li>
<li>Now click &#8220;Next&#8221; button and finish. If Outlook shows error, just click &#8220;Cancel&#8221; (there is a bug in Outlook 2016 where sometimes it keep showing POP3 / SMTP failed even the settings is correct)</li>
<li>Now back to your Outlook, click on &#8220;Send / Receive&#8221; button and you should be able to send and receive using the new settings now.</li>
</ul>
<p>&nbsp;</p>
<p>If you are using CPanel, then here are the default POP3 / IMAP / SMTP ports number.</p>
<p><strong>Incoming</strong></p>
<p>Domain: mail.yourdomain.com<br />
POP3 Port (SSL): 995<br />
POP3 Port (No encryption): 110  (DO NOT recommend)</p>
<p>IMAP Port (SSL): 993<br />
IMAP Port (No encryption): 143  (DO NOT recommend)</p>
<p><strong>Outgoing</strong></p>
<p>Domain: mail.yourdomain.com<br />
SMTP Port (SSL): 465<br />
SMTP Port (No encryption): 587  (DO NOT recommend)</p>
<p>* Please use SSL for all the settings as it&#8217;s far more secure compare to no encryption method.</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3556/how-to-update-mail-server-settings-in-outlook-2016/">How to update Mail Server Settings in Outlook 2016</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3556/how-to-update-mail-server-settings-in-outlook-2016/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Win10 How to logout from Network Share?</title>
		<link>https://www.techiecorner.com/3549/win10-how-to-logout-from-network-share/</link>
					<comments>https://www.techiecorner.com/3549/win10-how-to-logout-from-network-share/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Fri, 26 Mar 2021 03:52:10 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ms Windows]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3549</guid>

					<description><![CDATA[<p>If you using network folder or printer, your might encounter some scenario that you might want to logout from the current connected network and reconnect again. This might due to change of user privileges from the connected server, reconnect to the same network folder using different user or etc. I just encounter the change of [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3549/win10-how-to-logout-from-network-share/">Win10 How to logout from Network Share?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-3550 alignnone" src="https://www.techiecorner.com/wp-content/uploads/2021/03/windows-10-logo.jpg" alt="" width="150" height="150" srcset="https://www.techiecorner.com/wp-content/uploads/2021/03/windows-10-logo.jpg 150w, https://www.techiecorner.com/wp-content/uploads/2021/03/windows-10-logo-125x125.jpg 125w, https://www.techiecorner.com/wp-content/uploads/2021/03/windows-10-logo-50x50.jpg 50w" sizes="auto, (max-width: 150px) 100vw, 150px" /></p>
<p>If you using network folder or printer, your might encounter some scenario that you might want to logout from the current connected network and reconnect again. This might due to change of user privileges from the connected server, reconnect to the same network folder using different user or etc. I just encounter the change of user privileges from server and it get me more than an hour to figure our how to logout from network share. To benefit everyone, i&#8217;ve document down the solution here.</p>
<h3>For those who want to logout from network share follow the steps below:-</h3>
<p><span id="more-3549"></span></p>
<ol>
<li>Right click on Window button and select PowerShell (Admin)</li>
<li>type &#8216;net use&#8217; and enter, it will list out all the network path that you are currently connected</li>
<li>determine the path (eg: \\somenetworkpath/folder ) that you want to logout</li>
<li>now type &#8216;net use \\somenetworkpath\folder /DELETE&#8217; and enter</li>
<li>System should now log you out from the network.</li>
</ol>
<p>&nbsp;</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3549/win10-how-to-logout-from-network-share/">Win10 How to logout from Network Share?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3549/win10-how-to-logout-from-network-share/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress Custom Taxonomy Pagination show 404 page not found error</title>
		<link>https://www.techiecorner.com/3541/wordpress-custom-taxonomy-pagination-show-404-page-not-found-error/</link>
					<comments>https://www.techiecorner.com/3541/wordpress-custom-taxonomy-pagination-show-404-page-not-found-error/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Mon, 04 May 2020 09:39:20 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom taxonomy]]></category>
		<category><![CDATA[pagination 404]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3541</guid>

					<description><![CDATA[<p>Recently i&#8217;ve a custom WordPress development, it involve quite a number of custom taxonomy and custom post types. If you are familiar with custom taxonomy and post types, most probably you might write your own WPQuery to do custom search and filter and i&#8217;m also one of them. Everything is good until i test the [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3541/wordpress-custom-taxonomy-pagination-show-404-page-not-found-error/">WordPress Custom Taxonomy Pagination show 404 page not found error</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p>Recently i&#8217;ve a custom WordPress development, it involve quite a number of custom taxonomy and custom post types. If you are familiar with custom taxonomy and post types, most probably you might write your own WPQuery to do custom search and filter and i&#8217;m also one of them. Everything is good until i test the custom taxonomy pagination. First listing page for the custom taxonomy is still fine, but when i try to click on page 2, then it show 404 page not found error. Spent hours of time in google and stack overflow, finally i manage to solve the issue.</p>
<p><span id="more-3541"></span>If you are using Custom Taxonomy and writing your own query, try not to use your own variable to declare the posts_per_page. If you use your own variable and it might have conflict with WordPress default post_per_page option and show 404 page not found error. To solve this, just replace your post_per_page variable to WordPress default post_per_page option and the issue will be solved.</p>
<pre class="lang:php decode:true">$my_posts_per_page = get_option( 'posts_per_page' );</pre>
<p>Now, some of you might want to ask, how am i going to modify the default value ?</p>
<p>Just go to &#8220;Settings&#8221; =&gt; &#8220;Reading&#8221; =&gt; and edit the value for &#8220;Blog pages show at most&#8221;.</p>
<p>Happy coding!</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3541/wordpress-custom-taxonomy-pagination-show-404-page-not-found-error/">WordPress Custom Taxonomy Pagination show 404 page not found error</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3541/wordpress-custom-taxonomy-pagination-show-404-page-not-found-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Woocommerce: send email to admin when new order place (pending payment)</title>
		<link>https://www.techiecorner.com/3513/woocommerce-send-email-to-admin-when-new-order-place-pending-payment/</link>
					<comments>https://www.techiecorner.com/3513/woocommerce-send-email-to-admin-when-new-order-place-pending-payment/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Wed, 28 Feb 2018 13:08:47 +0000</pubDate>
				<category><![CDATA[Woocommerce]]></category>
		<category><![CDATA[email admin new order]]></category>
		<category><![CDATA[woocommerce email notification]]></category>
		<category><![CDATA[woocommerce woocommerce email admin new order pending]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3513</guid>

					<description><![CDATA[<p>Many people ask me about how to send email notification to admin when new order is placed. By default, woocommerce only send out email when order payment is completed. But&#8230; thanks to Woocommerce team, they provide a lot of hooks to ease developer&#8217;s work. So we utilize the hook to do what we want. Below [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3513/woocommerce-send-email-to-admin-when-new-order-place-pending-payment/">Woocommerce: send email to admin when new order place (pending payment)</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-3334" src="http://www.techiecorner.com/wp-content/uploads/2015/06/woocommerce.jpg" alt="woocommerce" width="150" height="113" align="left" />Many people ask me about how to send email notification to admin when new order is placed. By default, woocommerce only send out email when order payment is completed. But&#8230; thanks to Woocommerce team, they provide a lot of hooks to ease developer&#8217;s work. So we utilize the hook to do what we want.</p>
<h2>Below is the code sample to send email notification to admin when new order is placed:-</h2>
<p><span id="more-3513"></span></p>
<ul>
<li>Open your functions.php</li>
<li>Copy and paste the code below at the end of the functions.php
<pre class="lang:php decode:true">add_action( 'woocommerce_new_order', 'sogua_email_quote_pending', 20, 1 );
function sogua_email_quote_pending( $order_id ) {

    $order = wc_get_order( $order_id );

    // if order is "pending" then continue
    if( ! $order->has_status( 'pending' ) ) return;

	$to = 'your-email@address.com';
	$subject = 'New Quote';
	$message = 'New Quote created at ' . date('Y-m-d H:i:s');
	
	wp_mail( $to, $subject, $message );
}</pre>
</li>
<li>Save the file and you may try to create a new order and check if you receive the email notification.</li>
</ul>
<p>* woocommerce_new_order hook will not return u any items details thru $order->get_items();<br />
** You might also want to try <strong>woocommerce_checkout_order_processed</strong> hook, to get all the items</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3513/woocommerce-send-email-to-admin-when-new-order-place-pending-payment/">Woocommerce: send email to admin when new order place (pending payment)</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3513/woocommerce-send-email-to-admin-when-new-order-place-pending-payment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure email client (Thunderbird / Outlook) with CPanel email?</title>
		<link>https://www.techiecorner.com/3485/how-to-configure-email-client-thunderbird-outlook-with-cpanel-email/</link>
					<comments>https://www.techiecorner.com/3485/how-to-configure-email-client-thunderbird-outlook-with-cpanel-email/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Thu, 20 Jul 2017 05:19:12 +0000</pubDate>
				<category><![CDATA[CPanel Hosting Tutorial]]></category>
		<guid isPermaLink="false">https://www.techiecorner.com/?p=3485</guid>

					<description><![CDATA[<p>If you are using CPanel email and would like to setup your mail client (eg: Thunderbird / Outlook / IPhone / Android), you came to the right place. By default CPanel already have a standard set of email settings for all it&#8217;s email account. You just have to follow it&#8217;s settings and you should be [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3485/how-to-configure-email-client-thunderbird-outlook-with-cpanel-email/">How to configure email client (Thunderbird / Outlook) with CPanel email?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-3487 alignleft" src="https://www.techiecorner.com/wp-content/uploads/2017/07/icon-cpanel.png" alt="" width="158" height="158" srcset="https://www.techiecorner.com/wp-content/uploads/2017/07/icon-cpanel.png 158w, https://www.techiecorner.com/wp-content/uploads/2017/07/icon-cpanel-125x125.png 125w, https://www.techiecorner.com/wp-content/uploads/2017/07/icon-cpanel-50x50.png 50w" sizes="auto, (max-width: 158px) 100vw, 158px" />If you are using CPanel email and would like to setup your mail client (eg: Thunderbird / Outlook / IPhone / Android), you came to the right place. By default CPanel already have a standard set of email settings for all it&#8217;s email account. You just have to follow it&#8217;s settings and you should be able to configure your email client properly.</p>
<h3>To configure email client with CPanel email, follow the steps below:-</h3>
<p><span id="more-3485"></span></p>
<ul>
<li>Here&#8217;s the standard CPanel email settings. just replace yourdomain.com to your own domain and your email client should be able to send and receive email.<br />
<strong>Username:</strong> yourname@yourdomain.com (change to your email)<br />
<strong>Password:</strong> yourpassword (change to your password)<br />
&nbsp;<br />
<strong>Incoming Server:</strong> mail.yourdomain.com<br />
<strong>IMAP Port</strong>: 993<br />
<strong>POP Port:</strong> 995<br />
&nbsp;<br />
<strong>Outgoing Server:</strong> mail.yourdomain.com<br />
<strong>SMTP Port:</strong> 465<br />
&nbsp;<br />
<span style="color: #ff0000;"><strong>* Remember to replace yourdomain.com with your domain</strong></span></li>
<li>Using the settings above, you should be able to configure your CPanel email in all the device (eg: desktop / laptop / mobile)</li>
</ul>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3485/how-to-configure-email-client-thunderbird-outlook-with-cpanel-email/">How to configure email client (Thunderbird / Outlook) with CPanel email?</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3485/how-to-configure-email-client-thunderbird-outlook-with-cpanel-email/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Woocommerce: Behaviour of each payment method during checkout</title>
		<link>https://www.techiecorner.com/3450/woocommerce-behaviour-of-each-payment-method-during-checkout/</link>
					<comments>https://www.techiecorner.com/3450/woocommerce-behaviour-of-each-payment-method-during-checkout/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Thu, 21 Jul 2016 02:15:01 +0000</pubDate>
				<category><![CDATA[Woocommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[woocommerce different payment method behaviour]]></category>
		<guid isPermaLink="false">http://www.techiecorner.com/?p=3450</guid>

					<description><![CDATA[<p>I think many of us have doubt in what is the behaviour of each payment method during customer checkout. I&#8217;ve a table here showing the relationship between the payment method / order status / stock / email admin / email customer and action required. If you find anything not clear or not appropriate or you [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3450/woocommerce-behaviour-of-each-payment-method-during-checkout/">Woocommerce: Behaviour of each payment method during checkout</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://www.techiecorner.com/wp-content/uploads/2015/06/woocommerce.jpg" alt="woocommerce" width="150" height="113" align="left" class="size-full wp-image-3334" /> I think many of us have doubt in what is the behaviour of each payment method during customer checkout. I&#8217;ve a table here showing the relationship between the payment method / order status / stock / email admin / email customer and action required. If you find anything not clear or not appropriate or you have any suggestion in the table below feel free to let me know. I can help to update. Hope this will give everyone a clearer picture and no more guessing game :p</p>
<p><span id="more-3450"></span></p>
<table class="table table-bordered table-condensed" width="100%" border="1px" cellpadding="3">
<tbody>
<tr>
<td width="112"><strong>Payment Method</strong></td>
<td width="149"><strong>Order Status</strong></td>
<td width="64"><strong>Stock Reduced?</strong></td>
<td width="120"><strong>Email Admin</strong></td>
<td width="121"><strong>Email Customer</strong></td>
<td width="143"><strong>Action Required</strong></td>
</tr>
<tr>
<td width="112"><strong>Direct Bank Transfer</strong></td>
<td width="149">On Hold</td>
<td width="64">Y</td>
<td width="120">New Customer Order</td>
<td width="121">Thank you for your order</td>
<td width="143">Verify Payment and Update Order Status</td>
</tr>
<tr>
<td width="112"><strong>Cheque</strong></td>
<td width="149">On Hold</td>
<td width="64">Y</td>
<td width="120">New Customer Order</td>
<td width="121">Thank you for your order</td>
<td width="143">Verify Payment and Update Order Status</td>
</tr>
<tr>
<td width="112"><strong>Paypal</strong><br />
&#8211; didnâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t pay</td>
<td width="149">Pending Payment -> Cancelled</td>
<td width="64">&#8211;</td>
<td width="120">Cancelled Order (Will sent out after xmin)*</td>
<td width="121">&#8211;</td>
<td width="143"></td>
</tr>
<tr>
<td width="112"><strong>Paypal</strong><br />
&#8211; Click on cancel link</td>
<td width="149">Cancelled</td>
<td width="64">N</td>
<td width="120">Cancelled Order</td>
<td width="121">&#8211;</td>
<td width="143"></td>
</tr>
<tr>
<td width="112"><strong>Paypal</strong><br />
&#8211; payment success</td>
<td width="149">Processing</td>
<td width="64">Y</td>
<td width="120">New Customer Order</td>
<td width="121">Your Order Receipt</td>
<td width="143">Verify Payment and Ship item</td>
</tr>
<tr>
<td width="112"><strong>Billplz</strong><br />
â€“ Didnâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />t pay</td>
<td width="149">Pending Payment -&gt; Cancelled</td>
<td width="64">Y</td>
<td width="120">Cancelled Order (Will sent out after xmin)*</td>
<td width="121">&#8211;</td>
<td width="143">Manual update the stock</td>
</tr>
<tr>
<td width="112"><strong>Billplz</strong><br />
â€“ Payment Success</td>
<td width="149">Processing</td>
<td width="64">&#8211;</td>
<td width="120">New Customer Order</td>
<td width="121">Your Order Receipt</td>
<td width="143">Verify Payment and Ship item</td>
</tr>
<tr>
<td width="112"><strong>Billplz</strong><br />
&#8211; Payment failed</td>
<td width="149">Pending Payment -&gt; Cancelled</td>
<td width="64">&#8211;</td>
<td width="120">Cancelled Order (Will sent out after xmin)*</td>
<td width="121">&#8211;</td>
<td width="143">Manual update the stock</td>
</tr>
</tbody>
</table>
<p>* the x min can be set at WooCommerce > Settings > Inventory > Hold Stock (minutes)</p>
<p>Hope this helps all the woocommerce developer out there</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3450/woocommerce-behaviour-of-each-payment-method-during-checkout/">Woocommerce: Behaviour of each payment method during checkout</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3450/woocommerce-behaviour-of-each-payment-method-during-checkout/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Woocommerce: Order Status Explanation</title>
		<link>https://www.techiecorner.com/3446/woocommerce-order-status-explanation/</link>
					<comments>https://www.techiecorner.com/3446/woocommerce-order-status-explanation/#respond</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Thu, 21 Jul 2016 01:51:59 +0000</pubDate>
				<category><![CDATA[Woocommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[woocommerce order explanation]]></category>
		<category><![CDATA[woocommerce order status]]></category>
		<category><![CDATA[woocommerce order status reference]]></category>
		<guid isPermaLink="false">http://www.techiecorner.com/?p=3446</guid>

					<description><![CDATA[<p>For those who are not familiar with the Woocommerce order status, here&#8217;s there simple and quick reference that copy from the Woocommerce documentation (link). All order has a status. Each order statuses explain where is the order is at the moment, starting from pending and ending with complete. Here&#8217;s the order status that are being [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3446/woocommerce-order-status-explanation/">Woocommerce: Order Status Explanation</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://www.techiecorner.com/wp-content/uploads/2015/06/woocommerce.jpg" alt="woocommerce" width="150" height="113" align="left" class="ize-full wp-image-3334" /> For those who are not familiar with the Woocommerce order status, here&#8217;s there simple and quick reference that copy from the Woocommerce documentation (<a href="https://docs.woocommerce.com/document/managing-orders/" target="_blank">link</a>). </p>
<p>All order has a <strong>status</strong>. Each order statuses explain where is the order is at the moment, starting from <em>pending</em> and ending with <em>complete</em>. Here&#8217;s the order status that are being used in woocommerce:</p>
<p><span id="more-3446"></span></p>
<ul>
<li><strong>Pending payment</strong> â€“ Order received (unpaid)</li>
<li><strong>Failed</strong> â€“ Payment failed or was declined (unpaid). Note that this status may not show immediately and instead show as pending until verified (i.e., PayPal)</li>
<li><strong>Processing</strong> â€“ Payment received and stock has been reduced- the order is awaiting fulfillment.</li>
<li><strong>Completed</strong> â€“ Order fulfilled and complete &#8211; requires no further action</li>
<li><strong>On-Hold</strong> â€“ Awaiting payment &#8211; stock is reduced, but you need to confirm payment</li>
<li><strong>Cancelled</strong> â€“ Cancelled by an admin or the customer &#8211; no further action required</li>
<li><strong>Refunded</strong> â€“ Refunded by an admin &#8211; no further action required</li>
</ul>
<p>Hope this helps everyone understand the woocommerce order status clearly!</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3446/woocommerce-order-status-explanation/">Woocommerce: Order Status Explanation</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3446/woocommerce-order-status-explanation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Woocommerce: Coupon for new customer / first order only</title>
		<link>https://www.techiecorner.com/3421/woocommerce-coupon-for-new-customer-first-order-only/</link>
					<comments>https://www.techiecorner.com/3421/woocommerce-coupon-for-new-customer-first-order-only/#comments</comments>
		
		<dc:creator><![CDATA[chua]]></dc:creator>
		<pubDate>Thu, 05 Nov 2015 02:48:49 +0000</pubDate>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Woocommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[woocommerce coupon for first order only]]></category>
		<category><![CDATA[woocommerce coupon for new customer only]]></category>
		<guid isPermaLink="false">http://www.techiecorner.com/?p=3421</guid>

					<description><![CDATA[<p>One of my customer request to offer a coupon for all new customer / first order only. But i do not manage to find any free plugin that able to achieve this. So i decided to dig into woocommerce checkout process and write my own function to achieve this. To apply coupon for new customer [&#8230;]</p>
The post <a href="https://www.techiecorner.com/3421/woocommerce-coupon-for-new-customer-first-order-only/">Woocommerce: Coupon for new customer / first order only</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" align="left" hspace="5" src="http://www.techiecorner.com/wp-content/uploads/2015/06/woocommerce.jpg" alt="woocommerce" width="150" height="113" class="alignnone size-full wp-image-3334" />One of my customer request to offer a coupon for all new customer / first order only. But i do not manage to find any free plugin that able to achieve this. So i decided to dig into woocommerce checkout process and write my own function to achieve this. </p>
<h3>To apply coupon for new customer in Woocommerce, follow the steps below:-</h3>
<p><span id="more-3421"></span></p>
<ul>
<li>Before apply the code below, you have to create a new COUPON. I&#8217;ve created a new coupon name &#8216;firstlove&#8217;</li>
<li>Now you can copy and paste the code below into your theme functions.php
<pre class="lang:php decode:true " >
/**
 * Frontend validate new customer only coupon code
 * hook: woocommerce_after_checkout_validation
 */
add_action('woocommerce_after_checkout_validation','check_new_customer_coupon', 0);

function check_new_customer_coupon(){
	global $woocommerce;
	// you might change the firstlove to your coupon
	$new_cust_coupon_code = 'firstlove';
	
	$has_apply_coupon = false;

	foreach ( WC()-&gt;cart-&gt;get_coupons() as $code =&gt; $coupon ) {
		if($code == $new_cust_coupon_code) {
			$has_apply_coupon = true;
		}
	}

	if($has_apply_coupon) {
			
		if(is_user_logged_in()) {
			$user_id = get_current_user_id();

			// retrieve all orders
			$customer_orders = get_posts( array(
					'meta_key'    =&gt; '_customer_user',
					'meta_value'  =&gt; $user_id,
					'post_type'   =&gt; 'shop_order',
					'numberposts'=&gt; -1
			) );

			if(count($customer_orders) &gt; 0) {
				$has_ordered = false;
					
				$statuses = array('wc-failed', 'wc-cancelled', 'wc-refunded');
					
				// loop thru orders, if the order is not falled into failed, cancelled or refund then it consider valid
				foreach($customer_orders as $tmp_order) {

					$order = wc_get_order($tmp_order-&gt;ID);
					if(!in_array($order-&gt;get_status(), $statuses)) {
						$has_ordered = true;
					}
				}
					
				// if this customer already ordered, we remove the coupon
				if($has_ordered == true) {
					WC()-&gt;cart-&gt;remove_coupon( $new_cust_coupon_code );
					wc_add_notice( sprintf( "Coupon code: %s is only applicable for new customer." , $new_cust_coupon_code), 'error' );
					return false;
				}
			} else {
				// customer has no order, so valid to use this coupon
				return true;
			}

		} else {
			// new user is valid
			return true;
		}
	}

}</pre>
</li>
<li>once done, you can try to apply the coupon code for a new customer. It should work as expected.  </li>
</ul>
<p>If the code above could not satisfied your requirement, you can freely modify.</p>
<p>Happy Coding!</p>
<!-- link start -->
						<script type="text/javascript"><!--
						google_ad_client = "pub-9874157950618711";
						/* Tech HLink After Post */
						google_ad_slot = "4582592668";
						google_ad_width = 468;
						google_ad_height = 15;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						<!-- link end -->The post <a href="https://www.techiecorner.com/3421/woocommerce-coupon-for-new-customer-first-order-only/">Woocommerce: Coupon for new customer / first order only</a> first appeared on <a href="https://www.techiecorner.com">Techie Corner</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.techiecorner.com/3421/woocommerce-coupon-for-new-customer-first-order-only/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
