• 03-08-2015, 10:52:58
    #1
    F. STACK WEB + MOBILE DEV
    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?
  • 05-08-2015, 20:04:44
    #2
    Child tema kullanıyorsanız olmayabilir. Şunu deneyin
    [PHPR]wp_enqueue_style( 'my-style', get_stylesheet_directory_uri() . '/css/theme.css', false, '1.0', 'all' );[/PHPR]