Gravity Forms by default will write an inline JavaScript call to jQuery on every form you add to a page. This will throw an error if you’re loading jQuery in the footer of your site (which you should be doing). This is the error: Uncaught ReferenceError: jQuery is not defined There’s an extremely hidden bit [...]
If you’ve found that particular transients simply will not display in your theme yet they aren’t throwing an error? Check your database for duplicate entries. It is possible when moving a site between servers for a transients to become duplicated within the wp_sitemeta table and this causes the get_site_transient() function to silently fail. Simply go [...]
This little script will keep whatever custom field values you have used when you restore a post to a previous version. Currently, WordPress by default will clear those custom fields whenever you try to restore a post to a previous version which can lead to some headaches. Add this bit to your functions.php file to [...]
Recently I wanted to update a particular WordPress installation to use something other than the theme’s style.css file as it’s default CSS document. Here is the code to enable that:
Insert this into your wp-config.php file to force a new URL on a WordPress blog: Very useful for the initial move before being able to hop in to the database and correctly update everything.
After attempting to use the CSS3 Pie method for achieving some CSS3 support in IE browsers I’ve unfortunately come to the conclusion that it is still far too buggy for any kind of use other than for testing or demonstrations. It has a pretty significant issue with the way that IE8 and lower hand page [...]
I noticed a subtle but nice feature on the Google News main page recently. The left-hand navigation that has the various section headings remains fixed to the top left area as you scroll down but it does not overlap the top banner area. Also, if your browser window is too small to fit the entire [...]