plugin enqueue style on all pages


I need to enqueue a style sheet in my plugin to work on the front end of WordPress. Here is what I have. Will someone please tell me what I am doing wrong?

function add_my_stylesheet1()  {
    wp_enqueue_style( 'myStyles', plugins_url( 'css/styles.css', __FILE__ ) );


add_action('admin_print_styles', 'add_my_stylesheet1');
, , cboy 4 years 2017-08-28T19:53:47-05:00 0 Answers 82 views 0

Leave an answer