WordPress theme resets to default

I had this trouble the last few days with my Mom-Blog. You see, I was redesigning to put an entry into the Wordpress Sandbox theme competition. If you’re a nut for valid CSS like me and like total control, Sandbox is the theme for you. It’s completely blank and ALL control is styled through the CSS.

So I designed my lovely theme and kept losing it when I’d wake up in the morning. At first, I thought it was a URL error, after being fine for 2 days, it had issues again when I was tweaking.

So I googled it, and found out this is an error caused by the WP-Mobile plugin.

Which would be great, IF I was using that. Then I discovered that the more I uploaded the files through FTP RATHER than through theme editor, the more this happened. So I cleared out everything and re-uploaded my theme from scratch, then made sure to only PASTE in the style changes through the editor.

When I woke up this morning, it was still there. Let’s hope it stays!

UPDATE: It was resetting again, so I manually deleted the white spaces and that worked. Yay!

5 Comments so far

  1. hso on July 27th, 2007

    Editing via FTP can sometimes strip whitespace from your files and can totally ruin your work, unless you absolutely have no other way, edit through the WP theme editor.

  2. gb on July 28th, 2007

    Thanks, hso. Unfortunately I woke up this morning and the theme was gone AGAIN. It stayed in place longer than before, but not long enough.

  3. Tina Clarke on December 12th, 2007

    The white spaces is a trick I learnt about … they need eliminating …of course when your coding they won’t be there (unless your using the ftp route which puts them in) but where I find I had trouble was with the plugins …. I was just plodding along with wp and then sat down to really get into it and I found out that was what was causing my previous problems.. whitespace in the plugins code …. doh so simple…. I followed you here from the WD list I was looking for the mom blog you were talking about and ended up here…. great blog … great info btw. Check ALL your plugins code for whitespaces at the top and bottom of the code see if that helps… I’d ask on the forum though if this continues…
    Tina

  4. gb on December 12th, 2007

    Hiya, Tina! I was going to say the problem was fixed - on mom-blog, the issue was first this thing, THEN something I did that duplicated my site. Theme kept resetting because I had site in root AND under /blog. When I changed or edited the template, WP got confused and reset…so I deleted one and now it’s fine.

    But I see after your comment, THIS blog theme rest..augh!!! lol…better check when I have time.

    thanks for the blog compliment!

  5. […] several hours of frustration, I came across an article on coderemedy.com which provided an explanation, and pointed me at Scott Burkett’s blog for a […]

Leave a reply