- This topic has 12 replies, 4 voices, and was last updated 10 years, 1 month ago by Theme Horse Support Team.
-
AuthorPosts
-
August 24, 2014 at 6:59 pm #13228woodlandspParticipant
Hi,
My website woodlandsprings.co.uk has an SSL Cert and static IP. I used whynopadlock.com/check.php to check my page and found many absolute urls to http: address. These have all been fixed and WordPress has been set up for https:. I stll however hace 3 errors as below
Insecure URL: http://fonts.googleapis.com/css?family=PT+Sans%7CPhilosopher&ver=3.9.2
Found in: https://woodlandsprings.co.uk/Insecure URL: http://fonts.gstatic.com/s/ptsans/v7/FUDHvzEKSJww3kCxuiAo2A.ttf
Found in: http://fonts.googleapis.com/css?family=PT+Sans%7CPhilosopher&ver=3.9.2Insecure URL: http://fonts.gstatic.com/s/philosopher/v6/OttjxgcoEsufOGSINYBGLZ0EAVxt0G0biEntp43Qt6E.ttf
Found in: http://fonts.googleapis.com/css?family=PT+Sans%7CPhilosopher&ver=3.9.2Anyone have any ides how I can correct these?
Thanks
ChrisAugust 25, 2014 at 6:58 am #13248Theme Horse Support TeamKeymasterHi woodlandsp,
This url is enqueue from the theme folder -> library -> functions -> functions.php
you can simply modify the http:// to https:// on line no 68
wp_register_style( 'attitude_google_font', 'http://fonts.googleapis.com/css?family='.$attitude_google_font_load );
but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.
http://codex.wordpress.org/Child_Themes
Thank you!
August 26, 2014 at 7:45 am #13283woodlandspParticipantHi,
Thanks for the response. Could you not just modify the theme to make the call as below in line with standard SSL friendly techniques?
wp_register_style( ‘attitude_google_font’, ‘//fonts.googleapis.com/css?family=’.$attitude_google_font_load );I would prefer not to go down the child theme route if possible and not the direct editing route for the reasons you say. I want to be using your wonderful theme as you intended without having to go to extra work every time there is an update to the theme.
Keep up the good work
ChrisAugust 27, 2014 at 6:41 am #13319Theme Horse Support TeamKeymasterHI woodlandsp,
If you don’t create child theme then all your customisation code will be lost while updating to our new version. We are sorry for that about it update. We will let you know if we get any update on about this issue.Thank you!
September 25, 2014 at 8:06 am #16618FRIENDSHIP SYSTEMSParticipantHi,
I think, this is a bug!
If your site is reachable by port 80 and 443, you should fix your code to load external content in the same scheme way(http/https).
Firefox 23 block this for security reasons. Check google for “Blocked loading mixed active content”.
Please fix the source code in the package!
you need only to fix the scheme:
wp_register_style( 'interface_google_font', 'http://fonts.googleapis.com/css?family='.$interface_google_font_load .':400,700italic,700,400italic');
towp_register_style( 'interface_google_font', '//fonts.googleapis.com/css?family='.$interface_google_font_load .':400,700italic,700,400italic');
Regards
Konrad LorentzSeptember 26, 2014 at 6:04 am #16654Theme Horse Support TeamKeymasterHi FRIENDSHIP SYSTEMS,
Thanks for sharing a bit of information with us. We will think about it.
Thank you!September 26, 2014 at 8:33 am #16663woodlandspParticipantHi Friendship Systems,
I hope Theme Horse update the theme as I love using it and it would be nice for it to be SSL Compatible without using child themes.
Thanks for your comment.
ChrisSeptember 26, 2014 at 6:52 pm #16686DavidParticipantI’m having the same issue, Internet Explorer is throwing up a security dialogue every time a page on the site page is accessed. Firefox and Chrome are both giving warnings that unsecure content is being blocked.
September 29, 2014 at 7:16 am #16762Theme Horse Support TeamKeymasterHi all,
Thanks for you suggestion. We will think about it in our upcoming version.Thank you!
September 30, 2014 at 5:43 am #16826DavidParticipantWith some digging, I found the php files that the offending urls (Google Fonts and one other…different php file for each) were hiding in. I followed the instructions on creating a child theme, but couldn’t grasp how to unhook and re-hook the part that printed the urls into the final html. So I edited the parent theme files by changing the prefix to https:// and now I no longer get the annoying warnings in IE.
September 30, 2014 at 7:46 am #16831woodlandspParticipantHi David,
What were the 3 files?
Many thanks
ChrisOctober 1, 2014 at 10:21 am #16894Theme Horse Support TeamKeymasterHi David,
Here is the sample how to unhook the functions.
Eg:-
unhook functions // Unhook default Thematic functions function unhook_thematic_functions() { // Don't forget the position number if the original function has one remove_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 ); } add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header add_action( 'attitude_404_content', 'attitude_child_display_404_page_content', 10 ); /** * function to show the footer info, copyright information */ function attitude_child_display_404_page_content() { ?> <div id="content"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1> </header> <div class="entry-content clearfix" > <p>Thank you</p> </div><!-- .entry-content --> </div><!-- #content --> <?php }
This is for page 4o4.php
Thank you!
October 1, 2014 at 10:26 am #16895Theme Horse Support TeamKeymasterHi woodlandsp,
You want the location of this file then here it isGo to theme folder -> library -> functions -> functions.php under this functions
function attitude_scripts_styles_method() {
But if you make any changes then first make child theme and unhook functions as and then only edit the code. I have just pasted a sample to unhook the functions.
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.