How to use is_page conditional in wordpress
Many people some another content or code need to add in specific pages. Wordpress tutorial for, How to use is_page conditional in wordpress.
Many people want to send smtp email through wordpress. WordPress uses the PHPmailer in there CMS. Using PHPmailer you can send the email using STMP service.
But many wordpress developer dont know how to use the wordpress phpmailer functionality. Using PHPmailer you can send the email using STMP service.
Many people use the wordpress plugins for sending the email. But I recommend not to use any wordpress plugin code for this. Because many of wordpress plugin code are not necessary and that will not useful for your wordpress application.
Here in this article I will show you how to sent email using wordpress with SMTP settings.
Use the following code for this:
Use the above code for sending the email from wordpress. With godaddy hosting service above code is very useful for creating the contact us page.
Many wp developers asked me where to add the above code. So here is answer. You can create wordpress theme template page. Like contact us page and add the above code in that page according to your requirement.
Here are some useful links:
If you are having any issues or question about using the code then please write to me.