Tripple CSS
-
Dear wordpress-peeps,
For a new site I’m working on I would like to use three CSS-files (for each page a different one). Because I’m rather new to wordpress I wonder how to link them. I thought simply doing this would work:
<?php if ( is_page(‘jouwgemeente’) ) { ?>
<link rel=”stylesheet” href=”<?php bloginfo(’template_url’); ?>/style2.css” type=”text/css” media=”screen” />
<?php if else( is_page(‘jaarverslag’) ) { ?>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>/style3.css” type=”text/css” media=”screen” />
<?php } else { ?>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<?php } ?>Can anyone help me get this to work. I really need it. Thanks in advance.
–
Jelmer
- Het onderwerp ‘Tripple CSS’ is gesloten voor nieuwe reacties.