So I'm using the following code:
<?php
$host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if($host == 'domain.com/portfolio/travel/')
{ ?>
<style>
@import url('<?php echo get_template_directory_uri(); ?>/vertical-portfolio.css');
</style>
<?php } ?>
Based on what I found on PHP if URL equals this then perform action
Whilst it works at it's core, it's not /travel itself I want the code imported into, but in actual fact sub's of that (ie travel/bermuda, travel/canada, etc etc)
What variable would I include to go about doing this?