Categories
Cool PSA Software

2FA should be built into WordPress core

Does email work with your WordPress installation? When someone leaves a comment on your blog or your WordPress installation automatically updates to a minor version number such as 4.4 to 4.4.1 do you get that email? You did get those emails? Great! Now go, install and activate the Two Factor Authentication plugin maintained by George Stephanis. I’ll […]

Categories
Cool Geek Software

Let’s Encrypt is all kinds of awesome

I had some time and did a git pull on the Let’s Encrypt github page. This is a project that makes it easy to install and maintain free X.509 certificates for web servers. The certificates are in PEM format and can be easily used for any server app but usually it’s just for HTTPS on […]

Categories
Geek Software

My oEmbed discovery links work (It was me)

I thought I broke my oEmbed discovery links but I had a more fundamental problem. I had broken fancy permalinks on my nginx configuration for a while and didn’t realize it. I revisited the Nginx Codex page and did a stare and compare of my configuration and the examples there. I am sure I read that page in the […]

Categories
Geek Software

oEmbed not working (I’m convinced it’s me)

One of the new WordPress 4.4 features is the ability for your installation to become an oEmbed provider. In plain English you can paste your post URL and get a result as if you were embedding a YouTube URL. I could not get it to work for me. No way, no how. The json and […]

Categories
Cool Geek Software

Server admins love WP-CLI

I’m more of a Network Monkey, but whenever I can provision something just using an ssh session I smile. Many hosts use WP-CLI already and I’ve installed it on my VPS too. This morning I wrote up a small script to go to my test vhost directory and did the following. Install a blank WordPress site Update […]

Categories
Geek Software

Fixing broken post_author IDs

In the long history of my of my blog (over 900 posts), I’ve done many things that were… ill-advised. I’m still recovering from messing up my media library somehow. All the images load but a couple of galleries disappeared. While playing with the Wapuuvatar plugin I noticed that my recent 60 or so posts were showing […]

Categories
Cool Geek Software

Internet Explorer. Oh, the pain. Make it stop.

I like CSS. It’s clean, (mostly) standards based and while not all browsers will agree on goofy features, some basics should just work. CSS3 Flexbox support should be on that list for current versions of browsers. Guess which browser doesn’t support “flex-direction: column”? Internet Explorer will not be updated by Microsoft for anything except security patches. The […]

Categories
Geek Software

Center cropping featured images in CSS

I’m lazy and I like to try and figure out how to get the results I want without a lot of work. In the recent past I’ve uploaded featured images that were 1200 pixels wide and varying heights. I’m playing with a child theme of  Twenty Sixteen and wanted to center crop the existing featured […]

Categories
Geek Software

Disabling select features in WordPress

One of the new features arriving in WordPress 4.4 will be the ability to embed posts from a self-hosted WordPress blog  into oEmbed consumers such as another WordPress blog. Like this. Neat huh? I like it, though I haven’t been able to do the same with my own posts yet. This feature will be on […]

Categories
Geek Software

I should write this down

I did write this down, but I buried it in another blog post. Sometimes you don’t want to display the featured image but you don’t want to remove the option from your theme. This snippet in a plugin or child theme’s functions.php file will accomplish that. It doesn’t disable support for post thumbnails but replaces the code with […]