Support » Themes and Templates » Why not keep on importing url in child themes

  • MartienWPR

    (@martienwpr)


    Something new I saw very recently: when creating a child theme I used to do the import url statement, it worked fine and still does. Now documentation says that it is no longer good practice and that wp_enqueue_script would be a better choice. I will start playing around with it but I am just curious why it is not good practice any more. Are there any hacking risk or something? I really would like to keep on doing it the old way but of course advices are welcom

  • The topic ‘Why not keep on importing url in child themes’ is closed to new replies.