• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Chad Ritchie

Graphic Designer, Front-End Web Developer

  • Blog
    • WordPress
  • Projects
    • Graphic Design
    • Web Projects
  • Photos
  • Services
  • Contact

Archives for May 2012

Enable Text Selection in Quick Look

May 21, 2012 By Chad Ritchie

Today I posted on Twitter how to enable text selection in Quick Look. Afterwards, I received a couple messages asking “what is Quick Look?”
So, I decided to make a how-to video demonstrating how simple this modification is using Terminal.

Here is the Terminal command.
defaults write com.apple.finder QLEnableTextSelection -bool TRUE

Filed Under: Podcast

How to disable WordPress plugin updates

May 4, 2012 By Chad Ritchie

This snippet of code prevents WordPress from checking for plugin updates. For security reasons, it is important to keep third-party WordPress plugins up-to-date. However, there are times when you might create a site for a client and don’t want them to update their plugins. Perhaps you have changed a plugins code or concerned a plugin update could cause problems or break the site.

Simply paste the following code into your sites functions.php file. The functions.php file is located in your sites theme folder.

remove_action( 'load-update-core.php', 'wp_update_plugins' );
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );
?>

Filed Under: Blog, WordPress Tagged With: code

Footer

Chad Ritchie Web & Graphic Design