• I’m trying to make a child theme for MH Magazine Lite.

    This is my functions.php file:

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    
    function theme_enqueue_styles() {
        wp_enqueue_style( 'mh-magazine-lite', get_template_directory_uri() . '/style.css' );
    
    }
    >

    This is my style.css:

    /*
    Theme Name: MH Magazine Lite Child
    Description: Child theme for the MH Magazine Lite
    Author: nerfgun
    Template: mh-magazine-lite
    */

    Anyone knows how to fix this error?

  • The topic ‘Getting a 500 Internal Server Error after activating a child theme’ is closed to new replies.