![]() |
WP help...
So I have numerous blogs. None have done this before but this one.
It used to be every half month... randomly... My blog would theme itself back to the default theme. Since it wasnt doing it very often I would just revert it to the theme I had chosen. It has kept doing this for a good half year or more. Now its doing it more often. This morning I found it in default theme. So i switched it back to my custom theme and looked at some code. Within an hour or two it was gone back to default. What can be doing this.. its boggling the shit out of me and no other blog of mine does this. Is it a code issue? A security issue? Also... I have tried multiple custom themes to see if it was the theme itself and no luck there. Just keeps doing it. Any help appreciated... |
what plugins do you have installed? also you using any mobile theme switcher? might be causing this.
also check your functions.php file, see if its doing anything weird. would need more info to debug this situation. never ran into this myself. |
Apparently, you are not alone. http://www.google.com/search?sourcei...+the+de fault
This seems to be a good solution though: Make your custom theme folder the default. |
what version you running? seems to be an issue with old vers
|
happened to me before. can't remember what i did to fix it. maybe new install/template.
|
most usually it's the theme is lacking a style.css file (or is corrupted or it doesn't have the right permissions). Check that out to make sure that is not the case. Mobile plugins could be causing this as well, like Fris said.
Anyway, the simple, easy solution is what baddog said: name your theme as default. Problem with this is every single time you upgrade WP, you'll replace that default theme, so you better have a backup copy for the theme So this is what I would do: open your wp-includes/theme.php file. Look for this: Code:
function validate_current_theme() {Now a warning: there's a reason why that function is there. Use this workaround only if you can't figure what's going on with your theme. And again, every time you upgrade this file will be replaced, so keep a copy or edit the new upgraded theme.php file |
delete default theme folder :)
|
or define your template and css in wp-config.php
define('TEMPLATEPATH', '/path/to/theme/directory'); define('STYLESHEETPATH', '/path/to/directory/containing/stylesheet'); |
I have updated it numerous times. normally whenever I see the notification when I log in. I do need to updated this but its from the last update. Ill see if this new update fixes it but I dont have high hopes with that.
I have tried deleting all the other themes and then it just makes the page come up blank white. Ill try the renaming of theme folders. If none of that works Ill try the mor ein depth stuff you guys are posting. Thank you for the time and ideas :thumbsup |
also, no im not using any theme modifying plugins or anything really that fancy. A couple widgets but I do believe it was having this issue before implemented those in back a couple months ago.
Ill trouble shoot these things. |
| All times are GMT -7. The time now is 12:05 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123