How to Change WordPress Email Content Type to HTML Instead of Text

How to Change WordPress Email Content Type to HTML Instead of Text

WordPress uses wp_mail function to send all emails and the default content type for these emails is text/plain. It simply means that all emails, goes through WordPress, will be sent in text format only and WordPress will not allow any HTML to be placed in your emails. But on a project, you may require to…

Strip HTML Tags From the_terms Function Output

Strip HTML Tags From the_terms Function Output

If you need to display the terms list of the current post on your website then you must use the_terms function. WordPress function the_term displays the linked terms of a taxonomy separated by user defined characters. It’s very powerful function to get list of categories, tags or any other custom defined taxonomies in WordPress. The…

Add Featured Post Thumbnails to WordPress Admin Post Columns

Add Featured Post Thumbnails to WordPress Admin Post Columns

Have you ever wanted to see the featured post thumbnails associated with your posts, without going through each post individually? Wouldn’t it be nice if you can see all post thumbnails while viewing the list of posts in the WordPress admin? If you want this feature to add in your website then you are in…

Redirect WooCommerce User to Checkout Page After Add to Cart

Redirect WooCommerce User to Checkout Page After Add to Cart

WooCommerce is one of the best e-commerce plugin for WordPress. I have used it on couple of website that I built for my clients and setting up e-commerce platform with WooCommerce is super-duper easy. Although the plugin works flawlessly out of the box but there is always room for improvement. Right! So today I am…

Insert Google Maps Using a Shortcode Without Using a Plugin

Insert Google Maps Using a Shortcode Without Using a Plugin

Google Maps is probably one of the best services out there for people to quickly get directions online. For business point of view, there are number reasons, why you should embed a Google map into your WordPress website. Whether you want to guide your users to your physical location or maybe you are just using…

Force WordPress to Select Thumbnail Image Size by Default in WordPress Media Uploader

Force WordPress to Select Thumbnail Image Size by Default in WordPress Media Uploader

With WordPress 3.5 release, WordPress core team introduced many significant changes in the core and Media Uploader was one of the most important one. This new WordPress Media Uploader has a number of advantages over the previous version. For instance it has drag and drop support, easier management of galleries, cleaner interface and much more….