Using Debug Log in WordPress Development

In some cases you might want to write information to the WordPress debug log, even if it’s not technically an error. PHP has a function called error_log, that will print information to the error log for you. By default it does not print and format properly. For this...

Converting MySQL Tables From MyISAM to InnoDB

Before InnoDB, indexes would get corrupted, updates meant full table locks—not just row locks, and there was no support for transactions. Since the advent of InnoDB we've come a long way. Sites that don't use InnoDB are missing out on performance and stability gains....

Install OSX Parallels Tools on Ubuntu server guest

Have tested these instructions successfully under Ubuntu 16.04LTS and 14.04LTS. Create Ubuntu server instance under Parallels (obviously). Start VM, goto Actions - Install Parallels Tools... to mount the ISO image. Note: if this fails, or updating tools for an...

Post Edit Show Most Used Tags Tab

When editing a post, did you ever want to view the most used Tags tab and not the Tags listing tab. Well here's the trick. Add this to your themes function.php file.     add_action( 'admin_footer-post-new.php', 'rone_mostused_tags_default_script' ); add_action(...

Digital Noise: Revisited

Over a year ago I got on my soapbox about the digital noise I had created for myself. As I approach mid 2017 I have significantly have reduced the amount of the digital noise in my life. Work related digital noise will always be there and worth the time spent. It's...

Keep a Change Log

A change log is the quickest, most convenient way for users and contributors to identify significant changes in a project as it moves from one version to the next. The log exists to keep users informed. Unfortunately, many open source project leaders have little...

Whats My IP From Command Line

Lots of times you need to determine your public IP address, if you are using Linux operating system to power your PC, you may use some good console commands to guess your public IP address. Most of these methods will return you the local IP and not the public IP of...

Rotate logfiles for MAMP Pro

Rotating  logfiles for MAMP Pro is pretty simple. Under the "Extended" tab for the Hosts setup add this to “Additional parameters for <VirtualHost>”. CustomLog "|/Applications/MAMP/bin/apache2/bin/rotatelogs...

Check User Account Status

You need to use the chage command. It can display password expiry information as well as changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her...

Create WordPress User

Add new Admin user to WordPress. USE AT YOUR OWN RISK! 1. Put this file in your WordPress root directory and run it from your browser. 2. Delete it when your done. DO NOT forget this step. Thanks to: https://gist.github.com/jawinn/8012327#file-createwordpressuser-php...

Disclaimer

Every effort has been made in the preparation of articles on this website to ensure the accuracy of the information presented. However, if website visitors take action as a result of reading the information on this website, that action is at their own risk, and I do not take any responsibility for any losses, damages or injuries that may result from that action.

Backups are your buddy!

Who Am I

I'm a WordPress Engineer who lives in Northern Nevada. And a novice Photographer. A Coffee Addict.