title: How to make $_GET function work with Rewritten url?
body: <p>i tried using </p>
  
  <pre><code>$_GET['glossary']
  </code></pre>
  
  <p>function in wordpress functions.php to hide certain path of specific post for following domain</p>
  
  <p><a href="https://sampledomain.com?glossary=extrathing" rel="nofollow">https://sampledomain.com?glossary=extrathing</a></p>
  
  <p>Here is the full code of this</p>
  
  <pre><code>if ($_GET['glossary']){
           printf('&lt;style&gt;.author-box{display:none;}&lt;/style&gt;');
  }
  </code></pre>
  
  <p>It worked perfect and hide the author-box for specific post.</p>
  
  <p>however when i did activated permalink in wordpress that changed url to</p>
  
  <p><a href="https://sampledomain.com/glossary/extrathing/" rel="nofollow">https://sampledomain.com/glossary/extrathing/</a></p>
  
  <p>the above function of $_GET no more working, any suggestion on it please ?</p>