Support » Plugin: Read More Copy Link » Add https or http to URL

  • I searched like crazy for a plugin that adds Read more… and URL to the copied text, but none had a custom limit for the copied content.
    This one does that, but it does not add a https to the current URL, and with www URL, the link is not loaded on some browsers and some mobiles on facebook.
    Therefore I modified this line from the php file:

    $currentURL = $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];

    https://’. must be included before $_SERVER

    $currentURL = 'https://'.$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];

    • This topic was modified 2 years, 3 months ago by Germont.
    • This topic was modified 2 years, 3 months ago by Germont.
    • This topic was modified 2 years, 3 months ago by Germont.
  • The topic ‘Add https or http to URL’ is closed to new replies.