Mostly Harmless

Mostly about my amusement

Tag

WordPress

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 →

Thank you #wpmom for everything

I can’t remember when I first started interacting with #wpmom Kim Parsell. I’ve been looking and the earliest I can find was an email from April 26, 2012 saying that she was following me on Twitter. Hundreds of tweets and many… Continue Reading →

I Am NGINX! (And So Can You!)

A few months ago I switched my Apache2 installation for this blog from mod_php to php5-fpm. Using Ubuntu LTS this was as simple as running apt-get remove libapache2-mod-php5 ; apt-get install php5-fpm and adding /etc/apache2/conf-available/php5-fpm.conf with just a few lines. I activated… Continue Reading →

Remove shortlink URLs from comments

Or remove them from anywhere, though I’m not sure why you’d remove shortlinks from your own author’s posts. I’ve written a small plugin that will filter your comments using preprocess_comment which is a useful filter comment data before it’s committed… Continue Reading →

No more @import for me

Well, at least not for current WordPress child themes. I like child themes and always recommend that people use them instead of modifying any WordPress theme directly. Using a child theme makes your changes belong to you and they won’t… Continue Reading →

I may have broken my Feedburner feed

After I converted my WordPress install to 100% SSL I noticed that my own feeds in Tiny Tiny RSS were not updating. Years ago I forwarded my RSS feeds to Feedburner and 301 redirects from https://blog.dembowski.net/feed/ https wasn’t working. I… Continue Reading →

Why not use SSL and be done with it?

On the Internet there has been talk about Google and SSL based web sites. Apparently you may get a small boost if you switch to https. I myself doubt that (I’m jaded that way) and the additional SSL math will slow… Continue Reading →

Excerpts and not full content, but only sometimes

WordPress filters and actions remains one of my favorite features. There is so much that you can easily manipulate without modifying a theme’s files. For example: on my front page I like the latest published post to show the whole content with… Continue Reading →

© 2015 Mostly Harmless — Powered by WordPress

Theme by Anders NorenUp ↑