r/PHPhelp • u/SerendiPetey • Apr 25 '26
Wordpress php link help
I have (what I think is) a fairly simply request, though I cannot sort it out myself.
I'd like to add a link to an image on an older Wordpress site (2014) that goes to their Instagram page. I've tried adding a link to the image, but when I click it, it only opens the image itself.
It uses php7.3. I tried to update to 8.5, but it seems the code is incompatible (?), and the site content just disappeared, so I reverted back. I'm honestly not sure. I didn't' design this site and I'm not savvy with Wordpress or php.
I'm really at a loss and could use the help.
I'm willing to let whomever log into the interface to get it done.
Many thanks!
View all comments
Show parent comment
2
u/SamMakesCode Apr 26 '26
If your whole page goes white after updating to PHP 8, then yeah, likely there’s some code that isn’t backwards compatible. Maybe mysql_query() functions or something
In the nicest way, given what you’ve written, it’s beyond your skill set to safely fix this on a production site. Just leave the PHP version alone