• clairecerise

    (@clairecerise)


    Hello

    i’m using hathor 3.4
    i want to update my theme
    but before i am trying to creat a CHILD THEME
    this one doens’t work

    i also try with the plugin Orbisius Child Theme Creator
    but same problem : does not work

    in this 2 situations, my website stay block on a white page and downloading

    my functions.php file :

    <?php
    /**
    ** activation theme
    **/
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
    add_filter('comments_open', 'wpc_comments_closed', 10, 2);
    function wpc_comments_closed( $open, $post_id ) {
    $post = get_post( $post_id );
    $open = false;
    return $open;
    }
    ?>

    my css file :

    /*
    Theme Name: Theme lebuisson
    Description: Theme lebuisson
    Author: Claire - lebuisson
    Author URI: https://www.laceriseweb.com
    Template: hathor
    Version: 0.1.0
    */
    @import url("../hathor/style.css");

    what can i do ?

    thanks

    claire cerise

  • The topic ‘Child theme doesn't work’ is closed to new replies.