title: stop wordpress search showing a custom post type
body: <p>I have one custom post type I use for some text blocks on a page built using uncode theme. I need these blocks to be public so they display on the page but I want to stop them appearing in search results.</p>
  
  <p>The search.php isn't like a normal wordpress search file, it is the uncode-theme file and doesn't have normal queries in I don't think so I'm thinking I need a function maybe?</p>
  
  <p>Can anyone please advise how to achieve this?</p>
  
  <p>The CPT is 'staticcontent'</p>
  
  <p>Thanks!</p>