Forums

WordPress HTTPS (SSL)
Is there a way to check if the page is set to be secure with code? (2 posts)

  1. jgclifton
    Member
    Posted 3 months ago #

    Slightly confusing title, but does this have a variable which can be checked to see if the page is meant to be being served as secure?

    My use for this is to basically say if page isn't secure, serve webfont from http (faster), if it is a secure page then serve it from htts.

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Pothi Kalimuthu
    Member
    Posted 3 months ago #

    How do you load webfont? Depending on the code that loads the webfont, you may want to use is_ssl (ref: http://codex.wordpress.org/Function_Reference/is_ssl) to see, if you can load non-ssl version of the CSS that loads the webfonts.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.