• We used Generate Child Theme to create a child instance of Twenty Twentyfour. The installation went fine.
    But the WP Editor is now dead. Going to Appearance –> Editor results in a blank screen that seems to hang.
    When reactivating the parent, everything is fine. When activating the child, the Edit screen is dead.
    The PHP code that was automatically created reads:

    <?php
    /*

    • This is the child theme for Twenty Twenty-Four theme, generated with Generate Child Theme plugin by catchthemes.
      *
    • (Please see https://developer.www.ads-software.com/themes/advanced-topics/child-themes/#how-to-create-a-child-theme)
      */
      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’ );
      wp_enqueue_style( ‘child-style’,
      get_stylesheet_directory_uri() . ‘/style.css’,
      array(‘parent-style’)
      );
      }


    Please advise.

  • You must be logged in to reply to this topic.