I’m working on building a new site on a server that hasn’t had the DNS nameservers pointed to yet. I’m testing/using the admin panel through the IP address.
I’m trying to add an image to the sidebar. I added a text widget to it and tried:
– Putting the path dynamically with PHP. This didn’t work because this won’t process PHP
– putting the relative path: wp-content/themes/physmed/images/image.jpg, but this only works on the homepage. On other pages and posts the link breaks because it is on a different subfolder.
– Putting an absolute path. But when my client changes the nameservers, I’ll have to go back and change the paths again. Something I don’t want to have to explain to the client.