Mostly Harmless

Mostly about my amusement

Tag

WordPress

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

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… Continue Reading →

© 2019 Mostly Harmless — Powered by WordPress

Theme by Anders NorenUp ↑