title: Display PHP object depending on day of the week
body: <p>So I have the hours of a business set up in 7 different objects each for a day of the week. I wanted to be able to display in the header the hours of this business for the day that it currently is. Set it up like this but it won't spit anything out</p>
  
  <pre><code>&lt;?php
      $d=date("D");
      if ($d=="Mon")
      echo &lt;?php echo of_get_option('monday', 'no entry'); ?&gt;;
      elseif ($d=="Tue")
      echo &lt;?php echo of_get_option('tuesday', 'no entry'); ?&gt;;
      elseif ($d=="Wed")
      echo &lt;?php echo of_get_option('wednesday', 'no entry'); ?&gt;;
      elseif ($d=="Thu")
      echo &lt;?php echo of_get_option('thursday', 'no entry'); ?&gt;;
      elseif ($d=="Fri")
      echo &lt;?php echo of_get_option('friday', 'no entry'); ?&gt;;
      elseif ($d=="Sat")
      echo &lt;?php echo of_get_option('saturday', 'no entry'); ?&gt;;
      elseif ($d=="Sun")
      echo &lt;?php echo of_get_option('sunday', 'no entry'); ?&gt;;
      else
      echo "Have a nice day!";
  ?&gt;
  </code></pre>