WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Update of template and 2.8 wordpress messed up my blog site (7 posts)

  1. Victoria_mr
    Member
    Posted 5 years ago #

    Hello everybody,
    i just updated my blog site to version 2.8 (i used 2.7.1)
    As well, i updated the template dfBlog that i was using and which i had changed a lot according to my own taste.

    And then.. the destruction came! The changes in my template are gone!
    It became like the original one..

    And i'm wondering.. every time that an update comes, i'll have to modify again and again my template?
    Is there any solution?

    Any help would be useful!
    Thanks in advance.

  2. MichaelH
    Member
    Posted 5 years ago #

    And i'm wondering.. every time that an update comes, i'll have to modify again and again my template?
    Is there any solution?

    The answer is yes. And for that reason, it's always good to have a backup of your files (see WordPress Backups) before upgrading.

    Some new themes that use the Theme_Frameworks technology allow child themes so that if you modify the 'child theme', and the 'parent theme' gets updated, your changes don't get lost in the upgrade.

  3. Victoria_mr
    Member
    Posted 5 years ago #

    Hello again..
    I made a backup of my older files before the upgrade, fortunatelly!

    I had no idea about this Theme_Frameworks technology that uses child themes. Thanks for this information.
    I read about this and i see that i can make my own child theme by myself and use it without worrying about losing my changes when the parent theme is updated, since the changes are in the child theme.
    check this url: http://op111.net/53

    If this works, then i have the solution to my problem!

    I did all steps indicated in this page but when i reached on step7 that i had to activate my child theme i faced this problem:
    In the administrator panel, the theme i created does not appear since there is a warning saying that for each theme there must be at least a stylesheet and a prototype file (translation from greek - i hope you know what i mean - i thought it meant the index.php file ???)
    Everythink is ok with ste style.css file but what about the other one?

    Note (that may be important):
    I work topically in my pc so the child theme is just a folder (named "kid") in the URI /wp-contents/themes/ and which contains the style.css file.

    Can you please tell me what i'm doing wrong?
    Is there something else that i have to do so that the theme can be recognised in the administrator panel?

    Thanks in advance for your help.

  4. demetris
    Member
    Posted 5 years ago #

    @Victoria:

    The original message for the Greek message you see is:

    “The following themes are installed but incomplete. Themes must have a stylesheet and a template.”

    So, maybe there is a problem in your Template line in the child stylesheet. Can you double-check that?

    Working with a local installation should not make any difference. I have tested dozens of parent/child themes, and most were on a local installation.

  5. Victoria_mr
    Member
    Posted 5 years ago #

    Yes, that's right! Thanks for this notice.

    So, there is no other file needed in my child folder "kid"

    Well, I check the Template line again and again but still "the theme is incomplete".
    I'm sending you the first lines of the style.css file so that you can see what i mean and tell me what i'm doing wrong.

    Thank you very much for your assistance..
    I appreciate it.
    _______________________________________________________________________

    /*
    Theme Name: Kid
    Theme URI: ../blue-zinfandel
    Description: Child Theme for blue-zinfandel
    Author: Victoria
    Author URI: http://localhost/wordpress/wp-admin/themes.php
    Template: blue-zinfandel_kid
    Version: 1.0
    .
    This work is released under the GNU General Public License 2:
    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    .
    */

    @import url("../blue-zinfandel/style.css");

  6. demetris
    Member
    Posted 5 years ago #

    Your Template line points to the directory of the child theme itself.

    It should point to the directory of the parent theme.

  7. Victoria_mr
    Member
    Posted 5 years ago #

    Oh yes!

    It works fine now..

    Thank you very much for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic