1999, huh?

So I just found out my laptop I bought refurbished in 2014 has a 1999 wifi card. WTF! It’s true. I have a laptop I bought way back when, refurbished for like $200. At the time it had windows 8 and a very good PC brand I have always favored Gateway. Yes, Gateway went out […]

Read more...
Oct
27
2019

The only 2 settings for securing WP Admin

These are the only two settings you need to secure your wp-admin from hackers trying to log into your site. First download iThemes Security Plugin, don’t worry its free! Next go to the settings page. Click on the Advanced link top right. And configure Hide Backend. Then setup what you want the “hidden” url to […]

Read more...
Aug
12
2019

Atom Custom File Type Detection

In this example I will show you how you can set OpenCart’s .tpl file extension to read as PHP when opening in Atom Editor. Open your config.cson file. Underneath core: add: customFileTypes: 'text.html.php': [ 'tpl' ] text.html.php is the “source” and the tpl is the file extension. Now when you open a .tpl file it […]

Read more...
Mar
12
2019

Gulp, SCSS and WordPress

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...
Feb
08
2019

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...
Dec
14
2018


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...
Feb
25
2018


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...
Feb
23
2017

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...
Feb
09
2017