WordPress 3.4 introduced the Theme Customizer API. An excellent way to include customization options into a theme build. These features are not well documented on the WordPress.org Codex site, but there are several pages online that dig a bit deeper into the options and inner working of the Theme Customizer API. External References: https://codex.wordpress.org/Theme_Customization_API http://wp.tutsplus.com/tutorials/theme-development/digging-into-the-theme-customizer-components/… Continue reading Wordpess 3.4+, Using Theme Customizer
Category: Web
Tips, tricks and explanations for web tools, standards and emerging technologies.
Access additional hidden options in WordPress
By visiting http://yourblog.com/wp-admin/options.php (Where yourblog.com is your blog’s url), you can access additional settings and options for fine-tuning your blog. It’s literally called the ‘All Settings’ page, which is a great place to change default settings you normally would have to hack around or download a plugin for.
Optimize PNG 24 With Transparency In OSX
An amazing tool for optimizing PNG-24 images with transparency in OSX: http://pngmini.com/ This optimizing program can drastically reduce a PNG-24’s size.
Chrome Browser Keywboard Shortcuts
Complete list of keyboard shortcuts for Google Chrome on Mac: Google Chrome Keyboard Shortcuts
Verify Your RichSnippets / Schema.org / OpenGraph / Microformats
Another useful tool from Google: http://www.google.com/webmasters/tools/richsnippets A very useful tool for when you’re trying to verify your: Rich Snippets (Google’s name for all types of descriptive meta info.) Schema.org (Google’s backing this one) OpenGraph (Facebook implemented this one) Microformats (The old, but still supported, version)
Online CSS Gradient Generator
Great online tool to generate CSS gradients: http://www.colorzilla.com/gradient-editor/
WordPress Find All Global Details
The following piece of code will help list all objects, arrays and vars in the $GLOBALS variable scope. < ?php foreach($GLOBALS as $glob_key => $glob_val){ echo $glob_key.” – “; echo (is_array($glob_val)||is_object($glob_val))?print_r($glob_val,1):$glob_val; echo “\r\n”; } ?> This can be very useful as there is usually a lot of information stored in $GLOBALS by both WordPress and… Continue reading WordPress Find All Global Details
In WordPress, Replace Text In All Fields
Replacing, Updating, Changing text in WordPress fields is as easy as using the MySQL replace command. Here’s an example for updating the post_title field: update wp_posts set post_title = REPLACE(post_title, ‘Old’, ‘New’) WHERE post_title LIKE ‘%Old%’; This will update all the columns that have the word ‘Old’ in their post_title field with the word ‘New’.… Continue reading In WordPress, Replace Text In All Fields
WordPress Reserved Terms
A great list to know: WordPress, Reserved Terms A lot of issues can arrise if reserved terms are used in customization of WordPress Taxonomy and Post Types. Just best to avoid these terms in whole.
Detailed Email Subject Validator
Here’s a FREE Email Subject Line Tester. Returns a very detailed report on your subject line and how to improve it’s structure.