For a client’s site we wanted to add some ACF fields to the Edit Term page for global attributes. If the attribute list were fixed, this would be a simple task of targeting the specific taxonomies in the field group’s location parameter. What complicated this particular instance is that we wanted ALL attribute edit pages to have […]
Often times, a design will call for separate areas within a page to have their own unique styles applied to them. Whether it’s a different background color, font size, or available space, editing those areas can be frustrating when the backend editor does not have those same styles. By default, ACF does not have the […]
Recently I was tasked with adding some custom tabs to a WooCommerce store using the Storefront theme. There was a commercial solution available but I felt this was something that could fairly easily be done via Advanced Custom Fields and the built-in Storefront filters. 30 minutes later and a solution was in place. Here’s a […]
If you’ve run across this error when trying to restore a site via the iThemes ImportBuddy tool: ERROR #83893a: unable to decode JSON restore data “. Restore halted. Here are a couple steps you can follow to diagnose the issue: Verify the source of the issue – Look in your browser’s debug console and check […]
In previous versions of Bootstrap it was a one-step process to localize it to a container element. This would allow you to use Bootstrap within the WordPress admin and not affect the rest of the built-in WordPress styles. After version 3 of Bootstrap this method no longer works as Bootstrap started using more descendant selectors […]
This walker class will generate a clean unordered list. It removes the numerous classes added to each list item by the default WordPress but will keep any custom classes that have been added directly via the menus admin.
This is a step by step tutorial on how I was able to get WP-CLI up and running on Mavericks with AMPPS. The biggest issue that you will typically face when installing WP-CLI along side a web host software stack (MAMP, XAMPP, AMPPS) on a Mac is that WP-CLI will want to use the PHP […]
Recently, I needed to check for the existence of several related shortcodes within WordPress. Rather than writing a large if-or statement I came up with this small function that takes in an array of strings and a boolean to determine whether I needed to check for the existence of all the supplied shortcodes or just […]
A common setting that is frequently overlooked when deploying a web site is the primary admin e-mail address. This setting is located on the Settings -> General area of the WordPress admin. This setting is not tied to any specific user account so you can use any e-mail address you’d like.
I wrote this small batch file to simplify the initial WordPress core files download. Basically this batch file does the following: Uses wget to download the latest version of WordPress. (http://wordpress.org/latest.tar.gz) Unzips the .tar.gz and .tar to a /wordpress subdirectory using 7zip Uses ROBOCOPY to move those resulting files up to the current directory and […]