Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

enqueue css wordpress

add_action( 'init', 'enqueue_css' );
function enqueue_css(){

  wp_enqueue_style( 'myStylesheet', plugins_url( 'my-css.css', __FILE__ ) );

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enqueue #css #wordpress
ADD COMMENT
Topic
Name
7+4 =