Skip to content

When First Publish in WordPress Always Fails

08-Apr-10

Using Twitter Tools plugin? Disable it and install WP to Twitter plugin instead.

Remove Dashboard [OS X]

23-Mar-10

Remove that resource hog dashboard via Terminal:

Disable it:

defaults write com.apple.dashboard mcx-disabled -boolean YES

Relaunch Dock to see the change:

killall Dock

Want the dashboard back? Enable it:

defaults write com.apple.dashboard mcx-disabled -boolean NO

WordPress Cookie Domain

01-Mar-10

Set WordPress cookie domain in wp-config.php.

define('COOKIE_DOMAIN', 'www.yoursite.com');

Google Browser Size Overlay div png

01-Mar-10

Google Browser Size is a valuable tool but sometimes you'd only need the overlay image (say, when your site is not publicly available). Overlay PNG is available at http://browsersize.googlelabs.com/static/2009-11-18-day_google_com_100.png.

Disable Quotation Mark Modifications from WordPress

10-Feb-10

Remove automatic modification of quotation marks (e.g. " to opening and closing quotation marks) by entering the following 4 lines to the functions.php file of your theme.

remove_filter('the_content', 'wptexturize');
remove_filter('the_title', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
remove_filter('comment_text', 'wptexturize');

As the code says, it removes the wptexturize filter, which does other things as well, e.g. changes double dashes (--) to — characters, so unfortunately you'll lose those features too.