Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to change css during holidays with php or Javascript in wordpress

/*Please give a thumbs up if this was helpfull*/

$date = date("m-d");
if ($date == "12-25") {
  /* Include christmas.css here */
} else {
  /* Include style.css here */
}
 
PREVIOUS NEXT
Tagged: #change #css #holidays #php #Javascript #wordpress
ADD COMMENT
Topic
Name
2+8 =