custom css for php file wordpress code example Example: how to add css file in wordpress wp_enqueue_style( 'style', get_stylesheet_uri() );