@olistic
Check :
– Customizer –> Additional CSS
– Customizer –> Additional Code
– Customizer –> Header
– /wp-content/yogatime-V2.8/functions.php
– /wp-content/yogatime-V2.8/header.php
– /wp-content/yogatime-V2.8/page.php
– export and download your database, and search in the .sql file for the yoga-kundalini.it string :
https://help.dreamhost.com/hc/en-us/articles/214395738-phpMyAdmin-How-to-backup-or-export-a-database-or-table
First of all, thank you for your reply.
I’ve found no track of that source code until I’ve exported the database.
I’ve found 4 entries
https://www.oldsite.com/wp-content/uploads/2018/06/background.png
and
I’ve found 14 strings
background.png
(but the site now has no picture as a background!)
and
I’ve found 11.605 (!!!) strings
http://www.oldsite.com/…/
What should I do?
Should I just delete the 4 strings matching the code I’ve found in my pages?
Should I delete the 14 strings as the site has no picture as a background?
Should I fix the 11.605 strings still using oldsite.com instead newsite.com?
Or should I delete & delete & fix the “wrong” strings?
I’m a bit worried by the idea to put my hands in that file…
@olistic
If you are uncomfortable modifying the database directly, then I suggest you use a tool like this :
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Be sure to delete it after you are done.
You can use this as well, although it is not as comprehensive it may suit your needs :
https://en-ca.wordpress.org/plugins/better-search-replace/
I’ve two other question (forgive me!), the last ones.
As it looks to me, the search/replace operation can be easily done with these two tools, but what about the deletion of the 14 background.png strings and the deletion of the 4 https://www.oldsite.com/wp-content/uploads/2018/06/background.png strings?
Could they be performed by these two tools? As far as I see (and maybe I’m wrong) they just work on search/replace…
@olistic
I’m not sure I understand, but you want to replace the background?
If so, it’s very hard to tell from looking at the front end how you would replace this png.
A work around is:
– get your new images, and name it background.png
– use FTP or File Manager to upload your new image into this folder :
/wp-content/uploads/2018/06/background.png
If you simply want to delete the reference to the background.png file altogether, then use one of the search and replace tool – search for your string, and replace with nothing (empty) :
‘body.custom-background { background-image: url(“https://www.yogajap.com/wp-content/uploads/2018/06/mandala-background.png”); background-position: left top; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }’
But I see you already uploaded an image! Lol. 🙂
https://www.yogajap.com/wp-content/uploads/2018/06/mandala-background.png
Yes, I did “your” workaround as I was afraid to risk trouble deleting some strings of the database (I created a pic 11×11 with transparent background – few bytes – and I replaced the old one).
Now it works fine and the loading of the pages are not slowed down.
Thank you again!!!