• Blog
  • Photos
  • Videos
  • WordPress
  • Bio

Two new plugins published for WordPress

WordPress
Published 21st August 2015

I have worked on projects based around open source technology for years. Beginning in the early 2000s with image editing software and subsequently with website content management systems like WordPress (since 2003) and TYPO3 (since 2011).

The biggest benefit of open source technology is that anyone can take a piece of software and improve upon it, then feed the improvements back to the original author (or authors). This means that for larger projects, dozens of people are all working on software which they appreciate and want to support, to make it better. WordPress has been developed in this way for over twelve years and TYPO3 has been an open-source solution since 2001.

I’ve been lax with feeding things back in to the open source community for WordPress and TYPO3 until this year. Although I’ve coded plenty of system extensions and plugins, most of them have been directly for clients or for my own use.

I became an occasional contributor to the TYPO3 documentation service since early this year, but I wanted to take my experience as a programmer a step further too.

WordPress development work – on my own website and on client projects – has changed tack this year. I now focus on making individual features more portable and implemented as plugins, instead of being deeply embedded in Theme functionality.

This offers a lot of gains, such as using the same plugins in multiple projects, working in a more modular fashion, and from now on, allowing me to publish individual functionality as public plugins.

I finally got around to reading the submission details for the official WordPress Plugin directory this week and submitted a couple of simple plugins. They have now been approved and are available for free to anyone using WordPress.

Extend Post Data

A simple plugin which hooks into database queries on the $post database table. It makes an additional database request via the get_post_meta function and adds a sub-object $post->metadata to the $post object containing all linked post meta data. This makes output much easier and avoids the requirement for multiple get_post_meta calls in your template files.

wordpress.org/plugins/mhm-extend-postdata

Inline version numbering for WordPress

This plugin removes the query parameter-based version numbering from linked CSS and JavaScript files in the WordPress HTML output and replaces it with inline version numbering: myscript.100.js instead of myscript.js?v=100. The advantage of this method is that it improves browser caching, as some browsers handle file requests containing query parameters less efficiently than others. (This plugin automatically modifies the Apache .htaccess file so that the file name alias with an inline version number is recognized.)

wordpress.org/plugins/mhm-inlineversioning

Published

21st August 2015

Topics

community, extension, get_post_meta, inline versioning for wordpress, Modular development and design, open source, plugin, The internet, TYPO3, versioning, WordPress, WordPress plugin

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest blog posts

  • Random things in June

    Published on 1st August 2022
    My main photographic focus in June was our trip to Brittany in north-western France.
    Read more
  • Lunchtime dip

    Published on 15th July 2022
    When it used to get hot back in the days when I used to work in Brienz, a lunchtime dip in the freezing waters of Lake Brienz was the thing. When I worked in Bern, I used to go to the river with colleagues and float along for 20 minutes or so to cool down. […]
    Read more
  • Funnels for non-existent rainwater

    Published on 7th July 2022
    I love that the pumpkin leaves are shaped like little funnels, to catch and redirect the rainwater. Now all we need is some rainwater.
    Read more
  • Passers-by

    Published on 20th June 2022
    Sitting on the steps outside one of the shops in Bern’s Marktgasse a couple of weeks ago, watching the world go by.
    Read more
  • Random things in May

    Published on 31st May 2022
    May is a funny month for me. The countryside is green and lush, with lots of flowers in the meadows and a pleasant mix of cooling rain and warming sunshine, but I often feel a little frustration because the higher mountains are often still covered with slushy snow. This year, I’ve been spending a lot […]
    Read more
  • Random things in April

    Published on 16th May 2022
    It’s been a while since I thought of sharing anything on my website. Things have been very busy, both with work, trips here and there and with getting our balcony ready for summer. Instead of waffling on, I thought I’d try a new approach for a change: a brief visual review of what I got […]
    Read more
  • Random things in March

    Published on 31st March 2022
    As the previous post for April went down well, I thought I’d work backwards and start adding a few new little galleries of photos to show what I’ve been up to each month. Here’s March 2022 in pictures.
    Read more
  • Too early for tulips

    Published on 28th March 2022
    We travelled to western Switzerland last weekend, primarily to visit the small British supermarket in Gland and the tulip festival in Morges. Although the festival has been advertised and the tents and visitor facilities were already set up, the tulips were lamentably still a way from flowering, so I made do with photographing the daffodils […]
    Read more
All blog posts

Website proudly powered by WordPress, running the Theme Picard,
which is based on original work by myself and my friends at our WordPress agency Say Hello.

This website is © 2004 – 2022 Mark Howells-Mead

Webcams ~ Colophon ~ Privacy policy, statistics and cookies ~ Contact ~ Hosting

  • Mark Howells-Mead’s profile at wordpress.org
  • Mark Howells-Mead’s Twitter account
  • Mark Howells-Mead’s Instagram account
  • Mark Howells-Mead’s YouTube video channel

Αυτά μου φαίνονται κινέζικα

  • Blog
  • About Mark Howells-Mead
    • C.V. (Lebenslauf)
    • The A to Z of Mark
  • Photography
    • Latest photos
    • Albums
    • Aisles
    • Choo Choo
    • Drone photography
    • In Public
    • Mirror Project
    • One Frame Movie
    • Panoramic photography
    • Portraiture
    • The Red Makes It
  • WordPress
  • Webcams