Title: Wrong function used to enqueue style
Last modified: August 30, 2016

---

# Wrong function used to enqueue style

 *  [Nikola Papratovic](https://wordpress.org/support/users/nikoslatoe/)
 * (@nikoslatoe)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wrong-function-used-to-enqueue-style/)
 * In your functions.php file you used function `blogotron_scripts_styles()` to 
   import style.css file. You used function `get_template_directory_uri`, but you
   should have used `get_stylesheet_directory_uri`.
 * In the event that a child theme is being used, the parent theme directory URI
   will be returned. get_template_directory_uri() should be used for resources that
   are not intended to be included in/over-ridden by a child theme. Use get_stylesheet_directory_uri()
   to include resources that are intended to be included in/over-ridden by the child
   theme.

Viewing 1 replies (of 1 total)

 *  [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wrong-function-used-to-enqueue-style/#post-6240869)
 * Hi,
 * We have received your query and it is now being processed. We will get back to
   you on this forum as soon as we can.
 * Regards,
    BestWebSoft Support Team

Viewing 1 replies (of 1 total)

The topic ‘Wrong function used to enqueue style’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blogotron/2.0/screenshot.png)
 * Blogotron
 * [Support Threads](https://wordpress.org/support/theme/blogotron/)
 * [Active Topics](https://wordpress.org/support/theme/blogotron/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blogotron/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blogotron/reviews/)

## Tags

 * [get_template_directory_uri](https://wordpress.org/support/topic-tag/get_template_directory_uri/)

 * 1 reply
 * 2 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/wrong-function-used-to-enqueue-style/#post-6240869)
 * Status: not resolved