Jump to content


Photo
- - - - -

How do I get Sharebar social media icons to be HTTPS secure?

Sharebar Social Media icons HTTPS Non-secure icons

  • Please log in to reply
3 replies to this topic

#1 reidwalley

reidwalley

    Member

  • Members
  • 26 posts
  • LocationSaramento, CA
  • Framework Version:2.3.3
  • Country: Country Flag

Posted 16 March 2014 - 11:49 PM

Hi,

 

Our whole site is HTTPS secure. The Sharebar displays as non-secure under HTTPS.

 

Is there a way to make the Sharebar social media icons secure? Maybe something I can put in functions.php? Or something I can add to a Child Theme Sharebar section?

 

Thanks.

 

 

WordPress: 3.8.1

PageLines Framework: 2.4.4

URL:

Please Login or Register to see this Hidden Content



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 15831 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 17 March 2014 - 10:54 AM

Hi,

 

How have you setup your SSL ?



#3 reidwalley

reidwalley

    Member

  • Members
  • 26 posts
  • LocationSaramento, CA
  • Framework Version:2.3.3
  • Country: Country Flag

Posted 17 March 2014 - 09:55 PM

Hi Danny,

 

1. SSL is set up through RapidSSL on our host's server.

2. WordPress admin General Settings is set to HTTPS for the site's WordPress Address and Site Address.

3. So the whole site is HTTPS.

 

4. To functions.php, I added the below code, which comes from: "PageLines SSL: Force LESS CSS and Other Assets to Load via HTTPS"

(From

Please Login or Register to see this Hidden Content

; and the original article is from: 

Please Login or Register to see this Hidden Content

)

Please Login or Register to see this Hidden Content

Thanks.



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 18 March 2014 - 12:18 AM

Hi there, we checked this with our Developer who said that the url's for the buttons in that section is hardcoded, at the time of writing the section there were not https versions. This will be correct in version 2.0 which is coming soon, in the meantime they've advised copying the sharebar section into your child theme and editing the urls directly inside the section code.







Also tagged with one or more of these keywords: Sharebar, Social Media icons, HTTPS, Non-secure icons