• Resolved vthierry

    (@vthierry)


    Dear https://ebyb.eu,

    We really enjoy using this theme, and have derived a child theme. It appears that a patch is needed in order children themes to be operational, let me share it with you. In a nutshell get_theme_file_uri() and get_theme_file_path() must have the file path as parameter in order child theme heritage to work properly

    Would it be possible to update your theme in order to help other person ?

    Thanks for your nice work.
    Best regards

    femina>diff functions.php functions-cai.php
    301c301
    < wp_enqueue_style( ‘genericons’, get_theme_file_uri() . ‘/genericons/genericons.css’, array(), ‘3.4.1’ );

    > wp_enqueue_style( ‘genericons’, get_theme_file_uri(‘/genericons/genericons.css’), array(), ‘3.4.1’ );
    307c307
    < wp_enqueue_script( ‘femina-script’, get_theme_file_uri() . ‘/js/functions.js’, array( ‘jquery’ ), ‘20150315’, true );

    > wp_enqueue_script( ‘femina-script’, get_theme_file_uri(‘/js/functions.js’), array( ‘jquery’ ), ‘20150315’, true );
    351c351
    < require get_theme_file_path() . ‘/inc/template-tags.php’;

    > require get_theme_file_path(‘/inc/template-tags.php’);
    355,356c355,357
    < require get_theme_file_path() . ‘/inc/customizer.php’;
    < require get_theme_file_path() . ‘/inc/custom-header.php’;

    > require get_theme_file_path(‘/inc/customizer.php’);
    > require get_theme_file_path(‘/inc/custom-header.php’);

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A patch in order to derive child themes’ is closed to new replies.