Send HTML Emails Using wp_mail and SMTP in WordPress

WordPress has its own email function for sending emails, i.e. wp_mail(). With wp_mail, you can send email as easily as in general PHP function: mail(). The following is the syntax for sending an email with WordPress: wp_mail ( $to, $subject, $message, $headers, $attachments ); Where: $to (required) is the intended recipients. You can also specify […]

Enable Permalinks for WordPress Install using web.config on IIS Server

.htaccess won’t work on IIS Server so permalinks don’t work properly. For that, we need following steps to make it work. Step 1: Create a web.config file on the root folder of WordPress installation if it does not exist. Step 2: Use Paste following code <configuration> <system.webServer> <rewrite> <rules> <rule name=”wordpress” patternSyntax=”Wildcard”> <match url=”*” /> […]

Default Style Sheet for HTML Elements

Below is complete CSS of each element which can help you to understand the default behavior of elements when there are no CSS Rules applied on them. html, address, blockquote, body, dd, div, dl, dt, fieldset, form, frame, frameset, h1, h2, h3, h4, h5, h6, noframes, ol, p, ul, center, dir, hr, menu, pre { […]