Display an Array in PHP
function display_array($your_array) { foreach ($your_array as $key => $value) { if (is_array($value)) { display_array($value); } else { echo ‘<br> – Key: ‘ .$key . ‘ :: Value: ‘ . $value . “<br />\n”; } } return $out; }
function display_array($your_array) { foreach ($your_array as $key => $value) { if (is_array($value)) { display_array($value); } else { echo ‘<br> – Key: ‘ .$key . ‘ :: Value: ‘ . $value . “<br />\n”; } } return $out; }
Add a version number to a WordPress css file that will automatically update when the file is changed:
Styling Checkboxes – Why? The base checkbox styling leaves a lot to be desired. With designs becoming more and more beautiful, why shouldn’t your checkboxes reflect that? This method uses CSS and fonts to style checkboxes without having to resort to javascript or image files. Font family selection can affect the output. Styling checkboxes is …
Too often jquery plugins suffer from the Windows mentality of “do everything for everyone” which leaves them bloated and confusing. Sometimes you just wanted something nice and simple to perform a task quickly out of the box. I was looking for a lightbox like that when I came across Lightbox_me by Buck Wilson. Quick and …
From: http://www.sitepoint.com/css3-toggle-switch/ Pure CSS toggle switch example – replaces checkboxes.