wp_enqueue_style

  • Member
    coolclick
    April 5, 2017 at 7:28 pm #138

    Hi,
    Sorry for basic question. I am trying to add my own ‘css/custom.css’ to the child theme from the functions.php file.

    When I add:

    
    wp_enqueue_style( 'travelwp_child', get_template_directory_uri() . '/css/custom.css' );
    

    It points to the parent not child theme folder.

    Sorry, this forum is for verified users only. Please Login

Comments are closed.