ben-g
9/13/2017 - 7:02 PM

Loading alternate stylesheet

Using php (via the parallax gravity plugin) to load a different stylesheet. Keying off of WordPress post ids.

<?php if ( is_single (array( 1065, 1211 )) ) { ?>
      <link rel="stylesheet" href="/wp-content/plugins/parallax_gravity/css/sk_gravity2.css" type='text/css' media='all' />
    <?php } ?>