Posts about “PHP”

WordPress Wednesday: Display Post Type in Admin Posts List

In which I explain how to display a new column in the Wordpress Admin Posts list

WordPress Wednesday: Closing Slash Hack

WordPress Wednesday: Closing Slash Hack

How to get rid of annoying closing slashes that prevent HTML from validating.

Share on Threads

Share on Threads

Here is the code to add a share to threads link on your Wordpress site.

WordPress Wednesday: Thumbnail ALT Tags

WordPress Wednesday: Thumbnail ALT Tags

How to grab an image ALT tag from the WordPress Media system

WordPress Wednesday: Grab First Image from Post

WordPress Wednesday: Grab First Image from Post

In which I explain how to parse the first image from a post

WordPress Wednesday: Huge Archives

WordPress Wednesday: Huge Archives

In which I explain how to beautifully display enormous WordPress archives in a compact format

WordPress Wednesday: Safe Function Calls

WordPress Wednesday: Safe Function Calls

If you’re editing a WordPress theme template file by adding a call to a plugin’s function, you need to be careful. In six months or a year you’re going to deactivate or delete that plugin, and you’re going to get a big ugly fatal PHP error on your blog. You can avoid it, though, by

WordPress Wednesday: Thesis Theme Tag Text

WordPress Wednesday: Thesis Theme Tag Text

Today I’m going to explain how to make your WordPress blog display a special note based on a tag associated with a post. This tip is uniquely written for users of Chris Pearson’s awesome Thesis Theme, but if you are crafty enough with WordPress, you’ll be able to use it regardless of the theme you’re

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.