This topic is now archived and is closed to further replies.

  • 0

linkedin share button and https


Posted · Report post


My website is in ssl and I use the provided code on the forum to force pagelines in ssl:

//force pagelines ssl
add_action( 'pl_force_ssl', '__return_true' );
add_filter( 'pless_vars', 'make_ssl_vars' );
function make_ssl_vars( $vars ) {
$vars['plSectionsRoot'] = str_replace( 'http://', 'https://', $vars['plSectionsRoot'] );
$vars['plRoot'] = str_replace( 'http://', 'https://', $vars['plRoot'] );
return $vars;



I the Chrome console I get this message: [blocked] The page at ran insecure content from I am not sure how the pl_force_ssl action works, should it filter this http link to https?

In the Sharebar section I can see the link to the Linkedin JS file is http, maybe this could be changed to a protocal relative link (


I already changed it in the core files, so you will not see the error anymore. 


Share this post

Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi there,


That SSL filter will convert all the links inside the pagelines generated css to https. If it's worked on the twitter button it should have worked on the linkedin button as well. I will pass the link you've provided on the relevant people to review, thank you.


If you've edited in the core files remember when you update the framework the changes will be written over.

Share this post

Link to post
Share on other sites