Domain path repeated twice in output
-
Hi Alex
Great plugin, thanks.
The uploaded image isn’t showing on the edit screen or the front end because the path to the image source is being rendered as:
https://mydomain.com/wp-content/https://mydomain.com/wp-content/...
This is fixed when I replace:
$image_link = WP_CONTENT_URL . $image;
with:
$image_link = $image;
What would be the best way to make that change in functions.php?
Best,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Domain path repeated twice in output’ is closed to new replies.