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__ ) );

}
 
PREVIOUS NEXT
Tagged: #enqueue #css #wordpress
ADD COMMENT
Topic
Name
1+9 =