CSS3 & HTML5 Cheatsheets
Two excellent cheatsheets for anyone working with CSS3 and HTML5.
Two interesting WordPress infographics
Here are a couple of interesting infographics for WordPress. Interesting to get a larger view of the WP universe :)
Content negotiation for WordPress
Quick PHP script for automatically selecting the best content type based on what the browser accepts. Works as-is for WordPress, or is easily modified to work with any PHP page.
Spamless email links with PHP and jQuery
Couple of quick snippets for you today.. here’s how to display spamless email links on your web pages using either PHP or jQuery.
Cross domain posting with Ajax
Technically cross-domain posting is not allowed, but here is a workaround that may prove useful for your brainstorming sessions. Note that this technique is aimed at advanced developers.
Print this JavaScript
You know those “Print this page” links that let you print the whole page? Yeah, those. Here is how to create one of those for your web page using JavaScript and HTML.
HTML frames template
Every blue moon you need to work with frames. Here is a quick frames template to get you going.
Block XSS with .htaccess
Quick snippet today that you can add to your .htaccess file to block some common XSS (cross-site scripting) attacks.
Private notes and members-only content
Two cool tricks today, shortcodes to display private notes and members-only content.
Shortcode for encoded email address
One way to help reduce spam is to encode your email address whenever displaying publicly. Here is a function that will do just that: display an encoded version of whatever email address you specify.
Replace all instances of a string in WordPress
Here is how to replace all instances of a string in WordPress.
Exclude pages from WordPress search results
By default WordPress includes all of your blog’s pages in its internal search results.