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
Work Related

Tomorrow the WordPress Community Summit!

Last year I was fortunate to be invited to the 2014 WordPress Community Summit and this year in Philadelphia I’m going again. Tomorrow morning Lily and I will wake up around 4 AM. She’ll drive me to the train station where I’ll take a 5 AM train to Penn Station. From there it’s an Amtrak ride […]

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 Humor

Call now! You can be “licensed” too! While supplies last!

I like the WP Tavern and the people who run it. Recently they did something very cool and implemented a comment policy. I had gotten into a small debate there and do not want to use those comments as my own personal soapbox. No one should abuse the comments on someone else’s site to take […]

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 […]

Categories
Anime Cool Gunpla Photo

The new Press This in WordPress 4.2 beta 2 is slick

Try this: update to WordPress 4.2 beta 2 and drag the “Press This” to your bookmark bar. Visit a URL that you like and poof. I just did that on a Flickr photo and I was able to select the image from the options and below is the result. Explore Alvin Bernardo’s photos on Flickr! Source: […]

Categories
Geek

Fixing my SSL based shortlinks

If you look at the HTML source for this NGINX post I wrote you’ll find this code. Which was inserted when I published the post via Jetpack. Shortlinks are cool. But if you use curl -LI on that wp.me URL you see that it goes http -> http -> https which irks me. I like […]