I’m a frontend guy so customizing a wordpress template usually goes as far as some css and html markup. In this case though, I want the homepage to load a different style sheet than the others. PHP to the rescue right? ERR WRONG.
Could somebody show me how much I fail at php and why? =D
[CODE]<?php if (is_home() ) { ?>
<?php echo ‘<link rel=”stylesheet” href=”‘ ?> <?php bloginfo(‘stylesheet_directory’); ?> <?php echo ‘/style-Black-home.css” type=”text/css” media=”screen” />’; ?>
<?php } else { <?php echo ‘<link rel=”stylesheet” href=”‘ ?> <?php bloginfo(‘stylesheet_directory’); ?> <?php echo ‘/style-Black.css” type=”text/css” media=”screen” />’; ?>
} ?>
[CODE]Parse error: syntax error, unexpected ‘<‘ on line [3]