WordPress.org

Ready to get started?Download WordPress

Forums

Changing the website theme doesn't stick (11 posts)

  1. CapnKirk
    Member
    Posted 7 years ago #

    I've been running WordPress for over a year, and have installed various themes and everything has worked fine.

    I installed the latest version of black-letterhead (1.2) and a new problem appeared: in the Admin Presentation panel, I select black-letterhead, and it changes to it just fine.

    Sometime later, or the next day, I find the site using the default theme. I change it, rinse, lather, repeat. :-)

    I've checked file permissions and so forth. Nothing seems to be out of order. I've cleared caches after changes, etc.

    Ideas? Where is the information stored about which theme the site should use? I looked at the mySQL tables; doesn't seem to be there, and grepping through all the source code doesn't show any changes either.

    TIA!

    Kirk

  2. yosemite
    Member
    Posted 7 years ago #

    Curious: Does your theme have a themetoolkit.php file?

  3. CapnKirk
    Member
    Posted 7 years ago #

    Hi!

    No, there is no themetoolkit.php anywhere in any of the themes.

    Also, FYI, the WordPress version is 2.0.4, and I have Spam Karma 2 installed, although I can't think of how that might affect things.

    Kirk

  4. yosemite
    Member
    Posted 7 years ago #

    Can you post a link?

  5. CapnKirk
    Member
    Posted 7 years ago #

    To the blog? Sure.

    http://whi.wts.edu/blogs/kirk

  6. yosemite
    Member
    Posted 7 years ago #

    Almost hate to say it, but it looks ok... I can't see anything suspicious. Everything validates, stylesheet is called with <link> and not @import, the header-comment in style.css is intact...

    If/when it occurs again (if you haven't already) check file time/dates? Reaching for straws ;')

  7. CapnKirk
    Member
    Posted 7 years ago #

    Ok. Will do and will report here one way or the other.

    Question: when one changes the theme, where is that info stored? If in a file, what is the file name? If in mySQL, in which table and field?

    Kirk

  8. yosemite
    Member
    Posted 7 years ago #

    In MyQL. wp_options: template and stylesheet, I believe.

  9. mihaigrigori
    Member
    Posted 7 years ago #

    How do the date/time of any files in the template foder affect the 'template' and 'stylesheet' settings in the option table?

  10. CapnKirk
    Member
    Posted 7 years ago #

    Interesting. I host three blog sites. None of their *_options table has either template or stylesheet.

    I would have assumed they are added automatically. Do I need to add them manually? Or what should I do to investigate further?

  11. andreacimatti
    Member
    Posted 6 years ago #

    I have identical problems with two blogs... only way to workaround this 'bug' is to set the theme you like and rename as default

Topic Closed

This topic has been closed to new replies.

About this Topic