David Peach David Peach

Web developer writing about the IndieWeb.

David Peach

WordPress “Must Use” Plugins Directory

The Issue I wanted to build a site with some custom post types, taxonomies and the like. But what if somebody who has used my theme decided to try another theme later on? What guarantee do they have that those custom post types will be recognized by a future theme? None — that’s what. WordPress

The Issue

I wanted to build a site with some custom post types, taxonomies and the like. But what if somebody who has used my theme decided to try another theme later on? What guarantee do they have that those custom post types will be recognized by a future theme?

None — that’s what.

WordPress obviously has its plugin directory, which is designed for adding in pieces of functionality that should span across themes. But what if these are essential to the working of the site due to custom post types, taxonomies or shortcodes?

Either it can be a plugin — which could be accidentally deactivated, or added to the theme’s functions.php — which would need copying over to any future theme.

A Hidden Gem of a Solution

Well it turns out that there is a third option — a way for WordPress to auto load essential plugins irregardless of the theme being used. Simply by creating a directory in the ‘wp-content’ folder called ‘mu-plugins’ — which stands for “must use plugins” — and adding plugins as you would into the regular plugins folder, they will be auto loaded with any theme and just work.

These ‘must use’ plugins will then be viewable in the plugin admin page, in a new option called ‘must use’ — grouped with the other plugin page navigation items, ‘All’, ‘Active’ and ‘Inactive’.

‘Must use’ plugins can’t be deactivated in the admin — creating a nice separation of essential plugins for a particular user.

Thanks to Justin Tadlock for this piece of info.

Adventures In Babysitting Poster

It’s been so long since I’ve seen this, but I highly recommend it. A fun 80s adventure film about a girl — Elisabeth Shue — who while babysitting three kids receives a call from her friend to rescue her from a down town bus stop.

From there there’s a flat tire, a mix up with gangsters and the avoiding of their parents.

Chrysta Bell At Oslo Hackney

On Friday 11th April my Girlfriend and I drove down to London for the weekend. It was a great weekend, with the nucleus of this trip was to see Chrysta Bell on her tour. Who is Chrysta Bell? Chrysta Bell is an artist in the truest sense of the word. Her voice is one of

On Friday 11th April my Girlfriend and I drove down to London for the weekend. It was a great weekend, with the nucleus of this trip was to see Chrysta Bell on her tour.

Who is Chrysta Bell?

Chrysta Bell is an artist in the truest sense of the word. Her voice is one of those that can both charm and haunt you. She commands the performance with such force that it is difficult to explain in mere words. You really need to experience it first hand.

She was touring on the back of an album produced and co-written by David Lynch. David Lynch is definitely present in both the album and on the night itself, but this isn’t just a case of “David Lynch produced it, therefore it’s awesome”. The album is awesome, believe me, but it is due to the equal talents of both David and Chrysta combined. Each on their own are unique and hugely talented, but together they produce something even more special.

I first heard Chrysta Bell in a song from David Lynch’s film Inland Empire. The song Polish Poem was used in the film to such a haunting effect. As soon as I found out about the Album they did together This Train, which Polish Poemfeatures on, I was immediately hooked on the music they were making together.

The Gig Itself

The gig itself was out of this world. Anyone who has seen Twin Peaks would be hard-pressed not to imagine themselves stood in the Road House, watching Chrysta in front of that red curtain. At least that’s how it was for me.

Her vocals were both soothing and haunting, with the melodies weaving throughout the crowd. Her band were great also. Chrysta, of course, was centre stage, but the band weren’t just a faceless few who played the music. The four of them as a whole played the songs with a firm understanding of each other’s rhythms and timing.

The performances that stood out for me were Swing with Me and a new song they played, the name of which I can’t remember. The only song that wasn’t performed that I would have loved to have heard live was Polish Poem. I can only imagine what that would have felt like. The venue did have a 10pm curfew, so maybe Polish Poem would have been performed without the time restriction.

After The Show

When the show was finished I was both happy and sad. Sad because a great show had come to an end, but happy because my Girlfriend and I got to meet Chrysta face to face. I had previously spoken to Chrysta over twitter and I arranged to buy her earlier album, Bitter Pills and Delicacies, directly from her. after the show.

From my own conversations with Chrysta, it is obvious that she cares deeply for her fans. I wasn’t surprised to see her mingling with the fans both before and after the show.

Thanks, Chrysta.