badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

SSL Certificate

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12255
    patmatt69
    Participant

    Hi Guys.

    I asked this questions MONTHS ago and you still have never solved my issue.

    I have an ssl certificate and when I send users to https, the site-logo is not appearing. From my research it looks like your theme forces the logo to call the url from http. How can I fix this so that the site-logo appears regardless if it is http or https?

    #12815

    HI Sorry for the late reply. We are also searching about it. After searching a bit of it we found that some code. Please add this code inside theme folder -> functions.php anywhere you want.

    // fix ssl handling for header_image theme_mod
    function fix_theme_mod_header_image_ssl($url) {
    if ( is_ssl() )
    $url = str_replace( 'http://', 'https://', $url );
    else
    $url = str_replace( 'https://', 'http://', $url );
    return $url;
    }
    add_filter('theme_mod_header_image', 'fix_theme_mod_header_image_ssl', 10, 1);

    If you got still problem then feel free we will try our best to solve your issue.
    Thank you!

    #13006

    Just try this plugin also
    http://wordpress.org/plugins/wordpress-https/
    WordPress HTTPS (SSL)

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.