title: Display a message on weekends only (PHP) (Wordpress)
body: <p>I can't seem to find the answer to this.</p>
  <p>Basically I want to echo a message on a Saturday and Sunday only.</p>
  <p>But have no idea how to identify Saturday and Sunday with php.</p>
  <p><strong>EDIT:</strong> Found the simple answer using javascript:</p>
  <pre><code>&lt;script&gt;
  var date = new Date();
  switch(date.getDay()){
      case 0: document.write(&quot;sunday!&quot;); break;
      case 6: document.write(&quot;saturday!&quot;); break;
      default: document.write(&quot;any other week day&quot;);
  }
  &lt;/script&gt;
  </code></pre>
  <p>Works brilliantly.</p>