Do you want to have a search option in your navigation menu, but like the style of just having the search icon there instead of the full box? This is how it will look: Then when you click on it, the full search box will show up. Add this code to your functions.php file. Then…
Read More
Error Establishing Database Connection After PHP Update
Recently I had a customer with a PHP Update Required error message on the backend. Maybe you’ve seen it. It looks like this: Most control panels of hosting providers have a PHP Version section where you can easily update the version yourself, so I went in and updated the version for my client, but then…
Read More
New WordPress Core Release Will Require Upgrading PHP
From the WordPress.org community team: The next WordPress release (v4.9.6) is going to include a clear prompt to all users about upgrading the version of PHP on which their website runs. You can find out some of the technical information about this update in the core ticket: https://core.trac.wordpress.org/ticket/41191 . It will point users to the an information…
Read More
Solution: Error message – Argument #2 is not an array
Recently had a problem with a client getting an error message: Warning: array_merge(): Argument #2 is not an array in /home/anotherfolder/public_html/example.org/wp-includes/load.php on line 63 It appeared suddenly and changing the wp-config.php file from define(‘WP_DEBUG’, false); to ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’, E_ALL ); define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false); had no affect. Then I found this article by Mark Root-Wiley…
Read More
Google Maps Widget Not Working
Enfold theme went through another update that stopped the Google Maps widget from working – again! I know this happens with other themes and plugins too. If you’re getting the message that “Oops! Something went wrong.” instead of your map, you probably need to apply for your Google API key. The Enfold theme makes it…
Read More
Add Top Bar Widget to Genesis
Those bars running across the top of sites are great for getting attention, but most of the Genesis themes don’t have an option to add them. Here’s how to get one that looks like this: Add this to your functions.php file: (Remember to always, always back up your php files before making changes to them.)…
Read More
WooCommerce 3.0 Lightbox Not Working? Try This Fix
Great article by Colm Troy that helped me figure this out. He does a great job of explaining everything in detail, but the gist is that Woo removed the PrettyPhoto lightbox option in 3.0 and added some new options. But they don’t seem to take affect automatically. You’ll need to add a little code to…
Read More