I can’t get this to work at all.. when I click the little $1.95 image on the wordpress page it directs me to the normal dreamhost homepage, and there is no mentioning of 1.95 signups anywhere…
Any ideas?
update:
This seems to be an issue exclusive to Firefox. I’m using 3.6.6 but using Safari 5 and clicking the link on the web hosting page I did get the $1.95 as advertised!
The solution is:
$path = (isset($subdir) && !empty($subdir))
? $dir . ' ' . $subdir
: $dir . $subdir;
body_class($path);
Thanks to Codeburger @ StackOverflow.
I tried that however as long as I add body_class($dir) it works, but when adding another it fails.
eg. body_class($dir($subdir?' ':'')$subdir) results in:
Parse error: syntax error, unexpected T_VARIABLE
the ($subdir?' ':'') is only there to add a space between class names if $subdir is set.
Thanks for the comment!