Difference between how to set path to the theme folder
‘template_url‘ / ‘template_directory‘ – URL of the active theme’s directory. Within child themes, both get_bloginfo(‘template_url’) and get_template() will return the parent theme directory. Consider echoing get_template_directory_uri() instead (for the parent template directory) or get_stylesheet_directory_uri() (for the child template directory). Source: https://developer.wordpress.org/reference/functions/bloginfo/ the function get_template_directory_uri() is the better one, if you want to support creating child … Read more