In this tutorial I will explain how you can easily force HTTPS on your WordPress site. I will show you the trick to enabling https on the entire domain, on a sub-domain and on a single page. You don’t even need to use any plugin for this.
This tutorial will be very helpful if you have purchased an SSL certifiate for your WordPress site but you don’t know how to force your webpages to use HTTPS URL.
WordPress 3.7 has introduced a new feature where the core wordpress will be automatically upgraded to the minor releases. For example, any site running 3.7 will get automatically upgraded to 3.7.1 when it is released (you won’t have to click the upgrade now link to initiate the upgrade process).
When you click on a digital file link/URL, the browser will show/play the file if it can understand format of the file in question.
In most cases this browser behavior is fine. However, it can be a little problematic if you are trying to let your users download the digital file. The visitor will just see the file in the browser instead of the download dialogue box popping up. This is more problematic for PDF files (if you are selling an ebook and your customers can’t download the PDF file).
Fortunately, you can apply some techniques to force a file download so your visitors will see the download box when they click on a downloadable file/link.
In this tutorial I will show you how easily you can add a datepicker in all the date fields of your WordPress plugin admin interface.
The upcoming WordPress 3.6 release will add native support for Audio and Video files in the core. This means that you will be able to embed an audio or video player on a WordPress page using a simple shortcode (you won’t need to use any plugin for it).
Previously if you wanted to play an MP3 audio file from your Media Library, you had to install a plugin. This should be good news for bands, podcasters, vloggers etc. the ability to easily expresses themselves without using an external service.
What is wpautop
WordPress uses wpautop function to filter the content and the excerpt. This is used by WordPress to change double line-breaks in the text into HTML paragraphs (<p>… </p>).
How to Disable wpautop
If you are having an issue with the wpautop function then you can turn it off in your site with a very simple hack. Continue reading
In this article I will show you the anatomy of a WordPress theme. This can be used as a quick reference for when you are editing your WordPress theme or developing a new one. This is mainly a rough guide that is meant to serve as a cheat sheet.
WordPress’s WPDB Class has a function called “prepare()” which developers should use before running database query. This prepare() function sanitizes input data to prevent SQL injection.
The keyword here is “input data” so if you are passing a query to the preparea() function that doesn’t have any input data then that is kind of wrong. You can just directly execute the query in that case. Continue reading
WordPress 3.5 is introducing the “WP_Image_Editor” class which developers will be able to use to manipulate images. The image editor will add support for Imagick by default which should help with better quality images. Continue reading
WordPress has added a color picker in the core code from WordPress v3.5. Theme and plugin developers can now take advantage of this and add a color picker easily in their plugin or theme interface.
The WordPress color picker uses CSS3 Gradients for everything, so it looks really nice on most displays and it is very user friendly.
In this article I will show you how to add WordPress color picker easily inside the WordPress user interface. Continue reading