wordpress

What content elements does a client need to provide for a web programmer to complete a website?

Website programming and design can be simple for a web developer, but even more so if the right content and guidance is provided before the project starts. The importance of good guidance from the client can not be understated.There have been many times where personally [...]

2024-10-16T08:05:45+00:00October 16th, 2024|Web Design, Web Programming|0 Comments

WordPress Only Shows Homepage – Other Pages 404 Error

Is your WordPress website only showing the homepage and all other pages redirecting to a 404 page or error page? The issue can often happen after a WordPress update, or even a plugin update such as a security or redirection plugin.  Fortunately, the fix [...]

Critical Error on WordPress/Avada for PHP 7.2

Recently a client reached out concerning a critical error in WordPress using Avada when trying to access the wp-admin area of the website. It appears that the problem is due to an issue with Revolution Slider, specifically a metabox function that's including in the admin [...]

WooCommerce No Orders Found Problem

Since WordPress 5.0.2, many WooCommerce installations have had an issue where all the shop's products have seemingly disappeared. Don't worry, they're still there, but if your WooCommerce installation is showing "No orders found" in the Orders sections of your Dashboard, here's what you'll need to [...]

2018-12-20T15:51:44+00:00December 20th, 2018|Programming Tips, WordPress Snippets|4 Comments

Add a Custom Taxonomy Filter to WordPress Custom Post Type

Recently, a client needed to be able to filter their custom post type posts list by a given taxonomy, making it easier to find what they were looking for.   Fortunately with WordPress this isn't difficult. For the example below, the client was a restaurant who [...]

2018-11-07T01:02:32+00:00October 6th, 2018|Web Programming, WordPress Snippets|0 Comments

How to Remove the Connect your store to WooCommerce.com Message

After the recent WooCommerce updates, a number of clients have contacted me to ask about the admin message that appears in the WordPress Dashboard: Connect your store to WooCommerce.com to receive extensions updates and support. This message certainly isn't anything to be concerned about, and [...]

2021-09-11T01:47:27+00:00February 10th, 2018|WordPress Snippets|4 Comments

MySQL Fix: Error #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’

From time to time when migrating a WordPress website, you may come across collation issues when migrating the database. Specifically, a common error message when importing via PHPMyAdmin is the #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’ error. When Wordpress updated to version 4.2 they introduced support [...]

2018-11-07T01:05:20+00:00August 6th, 2017|WordPress Snippets|0 Comments

Restrict Dates to Future Only in Gravity Forms Datepicker

Gravity Forms is quite possibly the best forms plugin available for WordPress, but even with the vast array of functionality it offers right out of the box it still has its limitations. One such limitation is the date picker field, offers practically no chance of [...]

2020-09-25T23:45:06+00:00July 12th, 2017|WordPress Snippets|11 Comments

Change Howdy Welcome Message on WordPress Admin Bar

It's often the small things that tend to annoy us, and in the case of one client it was the "Howdy" message on the right of the WordPress admin bar. A small thing perhaps, but how can you change it, programmatically? Fortunately help is at [...]

2018-11-07T01:06:41+00:00July 7th, 2017|WordPress Snippets|2 Comments

Restrict WordPress Registration to Certain Email Domains

Recently for a project it was necessary to restrict WordPress registration to a select few specific domains, for example: domains with an email address from a certain company, i.e. email addresses ending with @warrenchandler.com. Rather than using a plugin to do limit domain access when registering, [...]

2019-03-13T01:32:49+00:00December 12th, 2016|WordPress Snippets|19 Comments

WooCommerce Product Unavailable Out of Stock Problem

UPDATE: On later versions of WooCommerce in 2020 you may also try the following fix for the 30 limit threshold. https://www.warrenchandler.com/2020/06/27/woocommerce-variations-break-after-30-or-more-bug-fix/ Recently, a client was reporting that they were seeing an out of stock message on their product page, which wasn't correct.  All of the [...]

2020-06-27T17:42:03+00:00November 8th, 2016|Web Programming, WordPress Snippets|17 Comments

WordPress Resize at Upload Plugin mysql_real_escape_string() Error

If like me you use the WordPress plugin Resize at Upload, or Resize at Upload Plus, it's quite likely that you'll be getting a mysql error when changing the settings.  Something like: Access denied for user ''@'localhost' (using password: NO) in /home/accountname/public_html/wp-content/plugins/resize-at-upload/resize-upload.php on line 63 [...]

2018-11-07T01:08:52+00:00June 26th, 2016|PHP Snippets, WordPress Snippets|1 Comment

WordPress Login Redirect For Different User Roles

From time to time clients come to me requesting login redirects in WordPress. The following handy snippet below allows you to specify where the user lands once they've logged in, based on user roles. In the example, users with Administrator and Editor roles are redirected [...]

2018-11-07T01:10:06+00:00August 29th, 2015|WordPress Snippets|0 Comments
Go to Top