Where did the files go?
-
I woke up today and saw that it was loading a blank page. when I checked the files I see there were no files in the themes and plugins folder don’t know why.
restored a previous backup and everything went great until I made a PHP file “leavereview.php” and included it in functions.php
no big code just made a little shortcode in leavereview.php
and when I uploaded both files on FTP and refresh the site it again shows a blank page and when I again checked the files all the files deleted again. nothing was in the themes and plugins folder strange rightI lost the leavereview.php file else I will mention the code here but I can give the idea I just made a function write some HTML stored it in a variable and return the variable and made the shortcode of the function
then included the file in functions.php
and in functions.php I made a function and in function I included the file leavereview.php and then use
add_action(‘wp_footer’, functionname)this code when I uploaded via FTP and refresh the site shows blank page and all files deleted can anyone help why this happened?
- The topic ‘Where did the files go?’ is closed to new replies.