[Resolved] get_template_directory_uri() issues with sub-directory theme
Hi there !
Within the theme “Roots”,
… all good.
wp_enqueue_style('roots_bootstrap', get_template_directory_uri() . '/css/bootstrap.css', false, null);
<link rel=”stylesheet” href=”/blog/travels/blog/travels/wp-content/themes/roots/css/bootstrap.css”>
Curious isn’t it ?!
Same for the stylesheets called from the plugins, but only with this theme ! The same plugin’s stylesheets called from another theme (TwentyEleven) works fine !
Could it be an URL rewriting somewhere ? My .htaccess seems find with the other themes.
I would appreciate your help on that one folks.
- The topic ‘[Resolved] get_template_directory_uri() issues with sub-directory theme’ is closed to new replies.