How to fix the error “file_get_contents was found in the file functions.php”?
To Add External Atylesheet: Generally speaking, you should use the wp_enqueue_style() function to add external stylesheet to your theme. function wpse259600_add_style() { wp_enqueue_style( ‘theme_critical’, get_template_directory_uri() . ‘/css/critical.css’, array(), ‘1.0.0’ ); } add_action( ‘wp_enqueue_scripts’, ‘wpse259600_add_style’ ); To Add Internal Stylesheet: However, if (for whatever reason) you have to add internal stylesheet (i.e. printing the entire CSS … Read more