I am VERY new to WordPress, so this might be a pretty basic question.
I have been playing with theme development for a few weeks and have decided to start from scratch, not even using a reset theme, just to figure out how things go together.
I have heard that the best practice is to use the wp_enqueue_style to call your css. I can, and have copied and pasted the href=”<?php bloginfo( ‘stylesheet_url’ ); ?> from the twentyeleven theme, and it works, but I would like to do it the right way.
I might be thick, but I am not sure how to use it. If someone could explain like I’m five, I would appreciate it. My specific question is do you use the wp_register_style in the themes function.php? Or is it already in wp .phps somewhere? Do I add style.css to the parameters, nothing, or the absolute file path?
Any help would be appreciated, and you cannot get too basic with me.
- The topic ‘Using wp_enqueue_style’ is closed to new replies.