Sometimes a site just needs a quick refresh. A few new photos, some content adjustments, and an update to the “Twenty Seventeen” WordPress theme. This is the perfect theme for sites that want to present a modern look and feel while also keeping things simple.
See the new Rainbow Land Leveling LLC website for a look at what this theme can look like.
Here’s a handy tip for debugging PHP files when all you get is a blank white screen. You know something is wrong, but it isn’t telling you what. This is a common problem when editing custom template files for WordPress.
Error output can be configured by modifying the php.ini file, but this may not always be accessible. Another way to have PHP tell you where it’s having a problem is by going to the command line and running it there:
$ php -l report.php
Parse error: parse error in report.php on line 834
Errors parsing report.php
There it is: “line 834”. It’s a quick and simple solution, and should work for just about any PHP file.
If your WordPress site gets hacked, it’s usually pretty obvious. More than likely, your website shows nothing but a message from the hacker, often accompanied by some loud music.
Luckily, in most cases, the damage done to the site is merely visual, and finding and replacing a couple of key files is enough to get the site back up and running. However, you should also take steps to find out where your site was vulnerable and resolve those issues to prevent it from happening again.
WordPress has an FAQ especially for all of this. Read it first and determine whether or not this is something you can deal with yourself. If not, give me a call. I’ve dealt with a number of these and can get your site back online quickly.