I recently had a customer that wanted a custom message across the top of the single product page but for only one product category. I put this text at the top of the category page, but she also wanted it displayed after they clicked on the individual products. To accomplish this, I added the code…
Read More
WooCommerce: Change ‘Out of Stock’ Text
I had a customer with a WooCommerce store who had products that were “coming soon”, but the only option for out of stock was an ugly “Out of Stock” marker above the product image. I was surprised there were no plugins that seemed to work for this change. The one I found had a…
Read More
Add Search Icon to Genesis Menu
Often times you might want to add the search functionality to your page without taking up too much space. A search icon in the menu is a nice way to do that. This is what mine looked like: Here’s how I did it: 1) Add this code to your functions.php file. (Please note- this only…
Read More
Add Search Icon to Navigation Menu for Genesis Theme
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