title: If [page] within this directory, then.. (IF/THEN as per URL)
body: <p>So I'm using the following code:</p>
  
  <pre><code>&lt;?php
  $host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
  if($host == 'domain.com/portfolio/travel/') 
  { ?&gt;
  &lt;style&gt;
  @import url('&lt;?php echo get_template_directory_uri(); ?&gt;/vertical-portfolio.css');
  &lt;/style&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Based on what I found on <a href="https://stackoverflow.com/questions/9523140/php-if-url-equals-this-then-perform-action">PHP if URL equals this then perform action</a></p>
  
  <p>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)</p>
  
  <p>What variable would I include to go about doing this?</p>