I have been utilizing the Wordpress theme offered by , and it works flawlessly when I upload it to my online servers. However, when I try to use it locally with a Wordpress Bitnami Stack, the theme is unable to locate the CSS. In the header.php file, I have:
<!-- css + javascript -->
<?php wp_head(); ?>
Yet, upon inspecting the source code of the development site at localhost (after activating the theme), I notice that the href
for the CSS files is empty:
<!-- css + javascript -->
<link rel='stylesheet' id='normalize-css' href='' media='all' />
<link rel='stylesheet' id='html5blank-css' href='' media='all' />
Interestingly, it doesn't seem to have trouble locating the images and icons:
<!-- icons -->
<link href="http://localhost:8080/wordpress/wp-content/themes/html5blank-master/img/icons/favicon.ico" rel="shortcut icon">
<link href="http://localhost:8080/wordpress/wp-content/themes/html5blank-master/img/icons/touch.png" rel="apple-touch-icon-precomposed">
I am running on Ubuntu 12.10. Could this be an issue specific to Bitnami, or is there a way for me to rectify this so I can work on the website locally? Notably, the default theme "twentytwelve" functions correctly in my setup.
UPDATE: After comparing and experimenting with both versions 1.2.9 and 1.4.0 (latest version) of the html5blank theme within my Bitnami Wordpress stack, I noticed that the functions.php
files of both versions are identical regarding the wp_register_style()
function. Surprisingly, version 1.2.9 successfully populates the CSS links while version 1.4.0 leaves them blank. It's worth mentioning that 1.4.0 operates without any issues in the Bitnami installation on Windows 7.