Here’s how to whitelist any WooCommerce API request when using the Force Login plugin While the WP Force Login plugin is great for restricting access to a website that you want to keep private, it can also block requests to the WooCommerce API. We found this out the hard way after hours of digging we […]
Read moreDrupal URL Replacement Queries for MySQL
Replace Drupal development URLs with live URLs For those of you who found our last post helpful; WordPress URL Replacement Queries for MySQL, we also often get the question about how to update URLs in Drupal after migrating from development to a live server. We feel it’s time to share a secret that will make […]
Read moreWordPress URL Replacement Queries for MySQL
Replace WordPress development URLs with live URLs We often get the question about how to update URLs in WordPress after migrating from development to a live server. We feel it’s time to share a secret that will make your life a lot easier than updating each and every page, post and/or custom post in your site. […]
Read moreHow to fix WP e-Commerce https issues
WP e-Commerce is an easy way to provide functionality to start selling products, downloads or services online. Like most software, WP e-Commerce has some bugs that need to be overcome. One of these bugs effects the security in default installs with an SSL certificate installed. The issue stems from non-https assets that are used by […]
Read moreHow to access query string arguments with AS3
Found a great blog post with an ActionScript 2 class that parses the current URL and creates accessible properties out of query string arguments: https://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/ I needed something to parse any URL, so I made a few adjustments and converted the class to be able to access query string arguments with AS3. Here’s the updated […]
Read moreRemove pop-up that appears when hovering over images in IE6
Here’s an oldie, but a goodie. Remove the pop-up that appears when hovering over images in IE6: <meta http-equiv=”imagetoolbar” content=”no” />
Read moreRemove empty array values in PHP
Here’s a super easy way to remove empty values from an array in PHP: $a = array_diff($a, array(“”)); In a recent project we were reading a text file and creating an array based on each new line, so we used the same method to remove any new lines that were empty. $a = array_diff($a, array(“\n”));
Read moreWordPress RSS feeds
There are numerous built-in RSS feeds available through WordPress that can be added to your theme for visitors to subscribe to, all of which can be found here: https://codex.wordpress.org/WordPress_Feeds To get your feed to display as a subscription option in modern browsers, one of the following lines of code can be added to the head […]
Read more