C
C
Castilo2018-06-12 16:09:59
Web development
Castilo, 2018-06-12 16:09:59

How and where to replace a link to an image on a WordPress site through code?

Good afternoon! There is one image that I could not find in the media files, there is a link assigned to the picture, and the picture on the site is determined, and everything is fine, well, you need to change it, but I can’t find it anyway. Is it possible to replace the link through the site code as it is done in html? How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2018-06-12
@pilolin

I didn't quite understand the question. Those. Is there an image and the path is written explicitly in the code? If so, what prevents you from running through the files for a specific line in some code editor? (VS Code for example)

P
Pavel Didenko, 2018-06-12
@Dasslier

If this picture is not in the media files, then this picture was uploaded via FTP.
You need to download a file hosting service, such as FileZilla, get FTP access to the site and go to the desired image along the URL path. The path in the URL to the image is just going through the folders inside the site files.
And you can replace it by renaming the file you need to the one that is already on the site

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question