Need slider background image to be relative path
-
Hi!
Right now I’m developing a site locally using xampp and virtualhosts. I just exposed a port so I could test it on my mobile phone using my_notebook_ip_address:exposed_port.
Also in the wp-config file the siteurl is defined like this:
define('WP_HOME','https://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL','https://' . $_SERVER['HTTP_HOST']);
Everything is working how it’s supposed, but I noticed the background pictures of the slides are not loading.
Turn’s out the image src-s are defined with absolute paths.
I was developing this site with a dummy name locally, but when it goes live it will have another address, and may have multiple instances.
My question is it possible in Smart Slider 3 to define the background image src-s as relative paths like:
/wp-content/uploads/2018/01/whatever.jpg
?
- The topic ‘Need slider background image to be relative path’ is closed to new replies.