style.css not loading in wordpress theme
<p>Here is my code that is not working in wordpress theme. using this code trying to getting style.css file from wp root folder. what's problem in this code is any thing not correct like function name      </p>

<pre><code>&lt;?php
function add_style() { wp_enqueue_style('style', get_stylesheet_uri()); }
add_action('wp_enqueue_scripts','add_style');
?&gt;
</code></pre>

<p>But this code in wp function file is working correctly</p>

<pre><code>register_nav_menus(array(
    'primary' =&gt; __('Primary Menu')
    )) ;
</code></pre>

<p>So can any one help me ?</p>