• I’m learning wordpress theme development, I was defining the wordpress functions.php file to call the stylesheet with this code :

    <?php
    
    function resources(){
     wp_enqueue_syle('style', get_stylesheet_uri());
    
    }
    add_action('wp_enqueue_scripts', 'resources');
    
    ?>

    but it gives an error: Fatal error: Call to undefined function wp_enqueue_syle() in C:\wamp64\www\wordpress\wp-content\themes\BlogMania\functions.php on line 6

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Call to undefined function wp_enqueue_syle()’ is closed to new replies.