Posts: 7
Threads: 2
Joined: Oct 2014
So replace return $url; with that? I did that but it doesn't seem to have fixed it.
Posts: 2,889
Threads: 59
Joined: Jun 2010
Don't replace
return $url; with anything. Just add that line below the opening function line so you have this:
PHP Code:
<?php
function cmtx_commentics_url() { //gets the URL to Commentics
return 'https://freereads.net/commentics/upload/';
Have
you completed
the interview?
Posts: 2,889
Threads: 59
Joined: Jun 2010
It does seem to have worked to an extent. The privacy policy link is using https.
Have
you completed
the interview?
Posts: 2,889
Threads: 59
Joined: Jun 2010
You'll need to change the cmtx_current_page() function as well (directly below it). I don't know exactly why but the code which checks if your URL is using https doesn't seem to work on your site.
In the cmtx_current_page() function replace this line:
PHP Code:
<?php
'http' . ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ? 's' : '') . '://'
With this:
For the Google API links which are in /upload/includes/template/head.php, you could use a relative protocol so for example instead of:
PHP Code:
<?php
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>