Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1107865

    Hi there…

    It appears, that even in 4.5.7, there is a problem with the Instagram widget…
    It puts out the correct link, but without the ‘https’
    So instead of ‘https://instagram.com/…’, you get just ‘instagram.com/…’
    Added it manually in class-framework-widgets.php, on line 2931:
    echo '<a href="https:' . esc_url( $item['link'] )

    Could you fix this for the next release?
    Best…

    PS: It’s the same with the ‘Follow’ button…

    • This topic was modified 1 year, 4 months ago by  sw3d.
    #1107889

    Hey,

    Thanks for contacting us!

    We have forwarded your request to our devs :)

    If you would like to update follow button, please find following line

    <a class="av-instagram-follow avia-button" href="//instagram.com/<?php echo esc_attr( trim( $username ) ); ?>" rel="me" target="<?php echo esc_attr( $target ); ?>"><?php echo $link; ?></a><?php

    and change it to following

    <a class="av-instagram-follow avia-button" href="https://instagram.com/<?php echo esc_attr( trim( $username ) ); ?>" rel="me" target="<?php echo esc_attr( $target ); ?>"><?php echo $link; ?></a><?php

    Best regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.