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|13 Comments

How to prevent or reduce nausea and motion sickness with PlayStation VR

People who know me are aware of the fact that I like a gadget or two (perhaps the understatement of the year). Arguably the hottest gadget around at the moment for consumers/gamers is the PlayStation VR, but it does come with its downsides.  And these [...]

2018-11-07T01:08:03+00:00November 12th, 2016|General|1 Comment

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