1) Load the “latest” CND jquery. 2) Add a local fall-back version.
Monthly Archives: August 2012
Thanks to Tom Henningam for documenting these options. I’ve only tried the first one and it worked fine. Should work from a bash shell.
Thanks to Jon Bishop for this one:
One way to test is to use cURL to get a HTTP response. It’s quick because you don’t need to return the body of the file – just the head – using CURLOPT_NOBODY. The second way is to try PHP fopen on the remote file. For this to be a valid test you need to… Read more »
On a webserver you might want the path of the current directory (the directory the script is running from) but as a relative path not absolute. Relative, eg: Absolute, eg: Try this: NB: __DIR__ is PHP 5.3 or greater. For PHP < 5.3 use dirname(__FILE__);
Here are the SQL queries to update a WordPress database from one domain to another: # define var for old site SET @old_path = ‘http://oldsite.com’; # set var for new site SET @new_path = ‘http://newsite.com’; UPDATE wp_options SET option_value = replace( option_value, @old_path, @new_path ) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts… Read more »
Here’s where to look: http://ottopress.com/2009/wordpress-settings-api-tutorial/
Problem: The dropdown ULs are positioned behind the content instead of on top of it, which is also causing it to ‘disappear’ when you try to move the mouse onto it. Answer: See http://jonathanstegall.com/2009/01/15/ie-z-index-bug-with-css-dropdown-menu/