Wrong url if wordpress domain changed!
-
Hi jethin,
I had an error regarding changed wordpress domain: The slideshow was still using the “old” domain.
I checked your code and found that it might be better to use something like this ($src = wp_get_attachment_image_src($image_id,”full”)[0];/*$attachment[‘guid’];*/) instead of the guid – because the guid is unique and created once…and the guid doesn’t change if the domain is changed.
I hope this may help.Regards
Ralph
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Wrong url if wordpress domain changed!’ is closed to new replies.