• Resolved 222

    (@222-1)


    Hi,

    I was following some instructions on found on the forum archive to stop the thumb image from showing up on the single post, and it said to comment out the entry-post line in the filer.php. I did that in the Appearance Editor, hit Update, and my whole site disappeared. I can’t even open my editor anymore. I just get a blank white page.

    Unfortunately, I was cocky and very stupidly didn’t save the original filter.php before I made the change. IDIOT! A lesson I have now learned.

    I downloaded the Arras theme again to resave the original filter.php through my FTP, but I don’t see one in the Arras theme files.

    Can anyone send me a filter.php so I can upload it to my FTP and get my site back up and running?

    I’m in your debt if you can help.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you were able to edit this file via Admin/Appearance/Editor, it must have been a part of your theme. Are you using an earlier or customised version of Arras?

    Thread Starter 222

    (@222-1)

    No. I just downloaded the theme on Monday and have been making changes to the CSS file all week, but that’s all I’ve done. I thought it was weird too. But when I opened the zip for the Arras theme download just now, I don’t see a filter.php file in there. Unless it’s saved in a different folder than the other php files.

    Do you know anything about the filter.php file? Is it generated when the theme is installed?

    Thread Starter 222

    (@222-1)

    AHHHH Got the site back. The filters.php was in the Library folder. I found it in the new download, resaved it over the changed one through FTP and the site is back and my admin is working again. Definitely won’t do that again!

    Thanks for your help anyway, Esmi. It was good to know someone was out there. ??

    Unfortunately I’ve never used Arras so I don’t know if it generates a file on activation. I’ve not seen that before but I suppose it’s possible.

    Can you FTP into your site (or use whatever file manager your host provides) and rename the current arras theme folder to something like arras-old. That should reactivate the default theme and get you back into your site. Next unpack the new copy of the theme on your machine and open up style.css in a plain text editor like NotePad. Where it says
    Theme Name: Arras

    change it to :
    Theme Name: Arras2

    Save the file then upload the whole arras theme folder to wp-content/themes. This should give you a second copy of Arras which you can then activate in the hope that this file will be regenerated. Meanwhile, you can use the old copy of Arras as storage for all of your previous CSS changes which you can then bring across bit by bit.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lost my filter.php’ is closed to new replies.