#Useful Regular Expressions
These are the most useful Regular Expressions that I find myself using on a regular basis
Test to see if a string is a valid website address or not.
<?php | |
// in functions.php | |
add_theme_support( 'post-thumbnails'); | |
/* | |
Wordpress crop an image = 5 size. Sizes are given below | |
thumbnail // Thumbnail (default 150px x 150px max) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |