• Resolved victoria_mr

    (@victoria_mr)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter victoria_mr

    (@victoria_mr)

    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: https://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.

    @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.

    Thread Starter victoria_mr

    (@victoria_mr)

    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: https://localhost/wordpress/wp-admin/themes.php
    Template: blue-zinfandel_kid
    Version: 1.0
    .
    This work is released under the GNU General Public License 2:
    https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    .
    */

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

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

    It should point to the directory of the parent theme.

    Thread Starter victoria_mr

    (@victoria_mr)

    Oh yes!

    It works fine now..

    Thank you very much for your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Update of template and 2.8 wordpress messed up my blog site’ is closed to new replies.