Ive been using gulp and live reload for many years now. It’s super efficient. Gulp, SCSS aka (sass) and WordPress can be a bit tricky though. Mostly because the typical SCSS structure is to put the final files in directories that aren’t necessarily WordPress friendly or WordPress structured. Also if you are trying to compress […]
Read more...How to Widen Gutenberg Editor
The default width of Gutenberg is quite narrow. Not sure the logic behind this. Here is a quick way to make it a standard monitor width. In your function.php drop this code: //Gutenberg add_theme_support('editor-styles'); function custom_gutenberg_styles() { wp_enqueue_style('custom-gutenberg', get_theme_file_uri( '/css/gutenberg.css' ), false, '1.0', 'all'); } add_action('enqueue_block_editor_assets', 'custom_gutenberg_styles'); Then create a folder called css in your […]
Read more...Change State Name to Postal Abbreviation in WooCommerce
Changing the states names to abbreviations in Woocommerce is pretty easy. There are a couple references online that tell you how to do this but they don’t actually supply the whole list of states in their sample. This is for US states based on WooCoomerce 3.3.4, but should work for older versions. You can file […]
Read more...WP-CLI inside Docker container
So running wp-cli inside docker gives you a warning that you are running as root. For me I am running docker locally as a development server and running as root isn’t a concern as I am on a private secure network and it’s purely local development. So the default setup for Docker is to run […]
Read more...CR2 File format fix – Adobe Bridge & Photoshop CS4 on Mac
Two whole days to work out a fix for Adobe Bridge not previewing my camera raw extension on my Canon 7D. I just recently switched form PC to Mac and had to buy a whole new version of Photoshop. CS4 is old but still works great! I don’t really believe in the cloud model of […]
Read more...Remove meta-generator tags from WordPress using PHP
WordPress is one of the most popular CMS on the web today. But there are a few really bad practices that both WordPress core and plugin developers have, which is putting the version number of their software in the html code. With the ever growing vulnerability database that is WordPress, please stop helping people with […]
Read more...Register.com is over priced and bad customer service
I typically buy my domains through GoDaddy but use a variety of different hosts. I have one domain that I was testing out the website and so I didn’t really want to spend the $12-$14 that a domain typically costs. Register.com was running a “special” I could get the domain for $2. What a deal, […]
Read more...Google Auto Suggest
For the love of God Google, stop finishing my sentences! Is anyone else annoyed that when you type something on Chrome into Google’s search bar it will put extra words at the end? Google is so arrogant these days, thinking it know’s whats best for the internet and it’s users. Take the whole mobilegeddon thing […]
Read more...How I survived Mobilegeddon
It’s been 1 year 2 months and 2 days since Google announced it was going to rank websites that were responsive better than websites that weren’t responsive in their mobile search index. Tons of people were freaking out about this and coined the term Mobilegeddon. There was so much hype and I even got scare […]
Read more...WooCommerce Bulk Edit Sold Individually
MySQL way to bulk edit Sold Individually. So I had imported about 200 products into WooCommerce and accidentally set all of them to the sold individually setting. Now instead of re-uploading them via the spreadsheet I decided I would just use MySQL to edit the settings that way. It took more like 20-30 minutes to […]
Read more...