New update problems

  • bsacue

    #48315

    Ok after finally fixing all my problems a new update comes out and now my site is worse than ever HERE please help preatty much everything is wrong now

    thanks kevin

    Admin

    Syahir Hakim

    #48318

    Version 2.0.3 introduces a routine that fixes the issue with incorrect child theme stylesheet order. You might need to undo a temporary fix with regard to that.

    Can you post the content of your child theme’s functions.php file? I’ll be able to advise what needs changing.

    bsacue

    #48321

    ?php

    // put your code here

    ?>

    The above is whats inside my child functions.php file?

    bsacue

    #48322

    Strange tho when i switch to the theme not the child theme it all looks ok except header image disapears ?

    Admin

    Syahir Hakim

    #48329

    Try replacing the whole content of your child theme’s functions.php file with this code:

    <?php
    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    function my_theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }

    Strange tho when i switch to the theme not the child theme it all looks ok except header image disapears ?

    This is expected since header image setting is tied to the active theme. When you switch themes, the header image settings is switched as well. This is WordPress behaviour to preserve customisations made to specific themes.

    bsacue

    #48336

    Sorry been out, i have added the new functions.php with the above code but no change at my end?

    bsacue

    #48337

    Hold fire a minute it now is showing ok which is strange cos i also checked on another pc and my phone it didnt make any changes but now all of a sudden its working, is this normal?

    thanks

    bsacue

    #48339

    My problems looked to be fixed Syahir so thank you very much once again for your amazing support!

    kev

    Admin

    Syahir Hakim

    #48348

    Yes, it should be fixed now. Latest update (version 2.0.4) should also handle child themes more robustly now so even if you didn’t make the change above, it should already work.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.