title: Not returning proper output when cookie is set in WordPress
body: <p>I am trying to setup an age verification box for a website in WordPress. I am using jQuery Cookie to set the cookie when the button is clicked. jQuery hides the box once it is clicked and then if the cookie is already set it shouldn't display the age verification box on subsequent pages. I tested this on another site which works without issue but on the current site it only works when logged in as an admin. Normal users see the box on every page, even though I have verified in Firebug that the cookie is set. Any ideas?</p>
  
  <p>Here is how I am checking for the cookie on the page:</p>
  
  <pre><code>&lt;?php if( !isset( $_COOKIE['consenting_age'] ) ) { ?&gt;
  
      &lt;div&gt;Age Verification Box Here&lt;/div&gt;
  
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Here is a link to the site in question <a href="http://cutlersartisan.wpengine.com/distilery/" rel="nofollow">http://cutlersartisan.wpengine.com/distilery/</a></p>