How To Prevent WordPress from Applying wpautop to a Page or Post

Author: , November 19th, 2019

All credit to Graham Walters for this excellent plugin and post, upon which this post is based – thank you, sir! https://grahamwalters.me/lab/disable-wpautop-on-specific-postspages/ Recently, a client was having problems using a plugin called by a shortcode. As it turned out, the JavaScript embedded in the returned content was being broken by the WordPress auto-paragraph feature known […]

How To Prevent Vim From Auto-Commenting New Lines

Author: , August 4th, 2019

To prevent vim from added net comments, edit the .vimrc file in your home directory, and add:

How To Disable Adobe Daemons Using launchctl on MacOS

Author: , November 18th, 2018

I installed an old version of Adobe software on my new Mac and as usual, it installed some daemons that are undesirable. Here is how I got rid of them via the Terminal. Note: Adobe installs daemons in the user context, so do this as your regular user login, not as root. shell> launchctl list […]

How To Disable WordPress wpautop for Shortcodes

Author: , June 15th, 2018

remove_filter( ‘the_content’, ‘wpautop’ ); add_filter( ‘the_content’, ‘smart_autop’ ); function smart_autop($content) { $post = get_post(); if($post->post_type != ‘post’) return $content; // if not a post, leave $content untouched return wpautop($content); }

How To Fix WordPress Missing “Add New” Button in Plugins and Menu Choice “Dashboard > Updates”

Author: , April 17th, 2017

If you are missing either your “Dashboard > Updates” menu choice, or the “Add New” button or menu choice in the Plugins section, do this to correct it: Edit the wp-config.php file, and change two lines to be false instead of true: For example, here are the two lines fixed:

How To Disable Dock Icon Bounce For MacOSX Terminal

Author: , June 15th, 2015

How To Disable Spell Check in MacOSX 10.10 Yosemite

Author: , March 24th, 2015

System Preferences » Keyboard » Text » Uncheck “Correct Spelling Automatically”

How To Disable All Notifications in MacOSX

Author: , November 20th, 2014

Enter the following command in Terminal… To turn it OFF: launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist To turn it ON: launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist

How To Turn Off Repeat Alerts for Text Messages in IOS7

Author: , July 30th, 2014

Settings » Notification Center » Messages » Repeat Alerts » Never This will only give you the initial alert for a text.

How To Disable the Built-in iSight Camera

Author: , October 12th, 2013

I am tired of various programs taking control of my webcam, i.e. Skype, GoToMeeting and others… After searching for a while I found the following website with two awesome Applescripts, one for Snow Leopard and one for Lion. Open the script in the Applescript Editor, and do a Save As. Choose Application and save someplace […]