How to use https for every content on your site?
It can be a headache for you when you are going to purchase a SSL and trying to implement on your existing website. Initially you will implement everything by .htaccess and some other CONSTANT definitions. But you could feel unlucky when you will be getting security warning popups in your browser(s).
Suggested Solution:
If you are unable to have few contents with https then do a simple trick. Use file_get_contents() and store http content in a variable. Now you can easily echo/print that variable on required place. It is suggested especially for external images and other media content. Widgets are mostly available with https so consider this solution not generically.
Last updated: March 19, 2014