Child theme issue

Mystery Themes Support Themes Free Themes Fotogenic Child theme issue

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #16782

    Hi, first things first, thanks alot for this free theme ! 🙂
    I’m a bit struggling to make a child theme to work with this theme.
    I don’t know why but it won’t properly load the website structure when i activate the child theme.
    I tried to use a plugin to make the child theme or do it myself and with the same result.
    This is the first time i have this issue with a them.

    Thanks for your help.


    Mystery Themes

    Hello there

    Maybe you have not loded the style.css for child theme. Please do check it once. If not then Send us the login detail via contact page or privately here our developer will check it and give you feedback.

    Thanks 🙂


    Hi, thanks for your fast answer !
    I finally managed to make it works !
    I’m sorry, thanks 🙂


    Hi, i noticed an issue whith my child theme.
    It loads the css and js from another theme (fotogenic-Perso) and i can’t find why and where this is from.
    Here is the code i use inside my child theme function.php file to enqueue styles. That might be the problem ^^

    add_action( 'wp_enqueue_scripts', 'child_enqueue_styles',99);
    function child_enqueue_styles() {
        $parent_style = 'parent-style';
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) );
    if ( get_stylesheet() !== get_template() ) {
        add_filter( 'pre_update_option_theme_mods_' . get_stylesheet(), function ( $value, $old_value ) {
             update_option( 'theme_mods_' . get_template(), $value );
             return $old_value; // prevent update to child theme mods
        }, 10, 2 );
        add_filter( 'pre_option_theme_mods_' . get_stylesheet(), function ( $default ) {
            return get_option( 'theme_mods_' . get_template(), $default );
        } );

    Inside my wp-content/themes/ folder i have these folders :
    fotogenic-Perso (the one with the problem)

    This fotogenic-Perso was just a test at the beginning before i use my child theme, but if i remove it my website is broken.
    Inside the source code of one page i can see that this path “fotogenic-Perso” is called 13 times to loads js, css and other files on my website.
    How can i just redirect to the propper parent folder, “fotogenic” ?
    I want to erase this “fotogenic-Perso”.

    Mystery Themes

    Hello there,

    The code which you have used in fotogenic-Perso was correct. About your issue, we need some screenshots or a live website URL to find your actual problem.


Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.