Categories
Bootstrap CSS MMD2 PHP Uncategorized WordPress

WordPress theme with Bootstrap

An excellent tutorial by Zac Gordon: “How to Build a Responsive WordPress Theme with Bootstrap”.  You’ll learn to hack a WP theme from scratch with Bootstrap and jQuery enabled.

Categories
Uncategorized

Reset $_POST (in WP ??)

function testSubmit() { var x = document.forms[“myForm”][“input1”]; var y = document.forms[“myForm”][“input2″]; if(x.value ==”” || y.value==””) { alert(‘Not allowed!!’); return false; } return true; } function submitForm() { if(testSubmit()) { document.forms[“myForm”].submit(); //first submit document.forms[“myForm”].reset(); //and then reset the form values } }

Categories
Uncategorized

Gallery Demo