• earth2ocean

    (@earth2ocean)


    Hi guys,

    I have had an issue that when I go to Appearance>Customise, I am unable to get a live preview. I had tried all the known problem solves but still no luck. I have now isolated it to my child theme. If I activate problem occurs, deactivate problem gone. I have my style.css and functions.php file in the folder. Just wondering should I bring another file in to solve it, or does it need some more code? TIA

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you added any code to your functions.php file recently? Could you share the contents of that file?

    Thread Starter earth2ocean

    (@earth2ocean)

    Hi Jacob,

    Thanks for your reply, no I haven’t added any code, just the standard stuff below for creating a child theme.

    <?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’ );
    }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Child theme causing too many redirects’ is closed to new replies.