Merhaba arkadaşlar,

bir temam da şu aşağıda ki kodu kullanıyorum

function theme_name_scripts() {
        wp_enqueue_style( 'style-name', get_template_directory_uri() . '/theme.css', array(), '1.0.0', true );
    }

    add_action( 'wp_enqueue_styles', 'theme_name_scripts' );
ancak WordPress css dosyasını footer'a dahil etmiyor neden acaba? Nerede hata yapıyorum?