/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php bloginfo('stylesheet_url'); ?> // replaces the style.css in <link href="style.css" rel="stylesheet" type="text/css" /> // which results in <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" /> // and which wordpress then processes to generate something like <link href="http://www.wpbedouine.com/training-wheels/wp-content/themes/training-wheels-0.1/style.css" rel="stylesheet" type="text/css"/>
Comments
