Inline background path issue when used with ACF
-
Let me start by thanking you for the great plugin and continued efforts to solve issues!
My problem is as follows: I am using ACF to add a background image to some elements via inline background-image definitions (so in essence image paths added via PHP). The Simply Static plugin is set to use a relative url /websitename/. Mind you this approach works when I generate a src path used in an IMG tag but when I print it to the inline background-image style it lacks the /websitename/ at the beginning of the url and starts with /wp-content/uploads/. The source images are present in the /uploads folder (the dynamic website works), the crawler does not fetch them at all and they are not present in the static files. Hope you can make some sense of this.
The topic ‘Inline background path issue when used with ACF’ is closed to new replies.