Lingering resentment

Error message

  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _menu_load_objects() (line 579 of /var/www/drupal-7.x/includes/menu.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/drupal-7.x/includes/common.inc).
Published by Matthew Davidson on Sat, 19/12/2015 - 7:38pm in

Is Wordpress not quite fulfilling the requirements on the server side? Not a problem. You can do anything with Wordpress, if you know how to go about it:

<div id="shop"> 
[…]
</div>

<div id="shop-closed">
[…] </div> <script> window.onload=function(){ var date = new Date(); var t = date.getHours(); var day = date.getDay(); var m = date.getMinutes(); if (day == 1 || day == 2 || day == 3){ if (t >= 11 && t <= 21 ){ }else{ var v = document.getElementById("shop-closed"); v.className = "section group div_row red-border MT1"; var n = document.getElementById("shop"); n.className = n.className + " hide-this"; } }

[…]

I am not making this up. This is how you run a successful web development business in 2015. Jesus Effing Christ. Can you at least use jQuery if you're going to do this kind of shit?