My sites home page has lost all the content after i added a line of code for Google Analytics-Global tag in the header.php file. I took the backup of the file before i did the change and have restored it as well but issue is still there.
All other pages of the site are working fine, on the home page all i am seeing is site header and footer. My site us built using wordpress and Divi theme.
Please let me know what i can do to fix this.
Thanks
Mo
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Looks like you have lost the homepage content. Edit the page and restore the last revision as explained here.
https://www.elegantthemes.com/blog/tips-tricks/how-to-use-the-wordpress-revision-history-feature
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0