• I’ve had my WordPress site running for about a week or two now, and today I was looking for a code which would help hide images from the front page of my blog. I found this one, and pasted it under the theme functions page.

    <?php
    add_filter('the_content','wpi_image_content_filter',11);
    
    function wpi_image_content_filter($content){
    
        if (is_home() || is_front_page()){
          $content = preg_replace("/<img[^>]+\>/i", "", $content);
        }
    
        return $content;
    }
    ?>

    Since then, I haven’t been able to view my blog or even log in to my account; it just shows me a blank, white page, or says “Error 505”. I’ve tried on my phone and on multiple internet servers. Then I tried to log in on the WordPress home page, and it said my username and email didn’t exist, and it even allowed me to create a new account with my same old username and email.

    All I want to do is recover my old site and get it back to normal. Any help would be GREATLY appreciated!!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Blog Page Not working, May Have Been Deleted??’ is closed to new replies.