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 […]

How To Disable iptables Completely

Author: , October 2nd, 2013

List current iptables entries: iptables -L /etc/init.d/firewall stop ~or~ /etc/init.d/iptables stop ~or~ fwstop.sh

How to Enable or Disable the iTunes Backup For iOS

Author: , September 18th, 2013

To enable backups: defaults delete com.apple.iTunes DeviceBackupsDisabled To disable backups: defaults write com.apple.iTunes DeviceBackupsDisabled -bool YES

How To Disable Sort in DataTables

Author: , July 10th, 2013

To turn off Sort completely, use the ‘bSort’: false option. http://datatables.net/usage/features#bSort To have sorting turned off to begin with, but the user can still click on the columns to sort, use the ‘aaSorting’: [] (i.e. empty array) option. http://datatables.net/examples/basic_init/table_sorting.html Happy Coding!