Day 13 – What is your favorite website built in WordPress right now

Prompt 13/20

Right now. whitehouse.gov

Built at speed, I think it was put together in 6 weeks (!!), when the new Biden administration came in. For me it was one of the first examples I had seen that demonstrated the potential power of the Gutenberg editor and block based development.

I’ve always been an admirer of the agency involved 10up. They presented their approach in a WordCamp in 2021. They presented it very well and it was an excellent overview of how they created the site, with bonus example code (abstracted as the whitehouse.gov code is not open source for obvious reasons).

Day 12 – ACF

Prompt 12/20

Blog: What is your favorite plugin in the WordPress Plugins Directory? Tell us about it on your WordPress website and link to it in the comments.

A.C.F

O.M.G.

We used to do all kinds of weird hacks with WordPress before ACF (Advanced Custom Fields) was released in 2012, using category archives as content hubs, tag clouds as navigation, hard-coded stuff everywhere…

Sure, there were meta box options out there and some custom database solutions, but nothing on the level of what Elliot Condon achieved with Advanced Custom Fields.

WordPress + ACF transformed what were essentially simple blogs into proper CMSs. It was released around the same time I started freelancing, which allowed me, as a fledgling business, to offer so much more as a WordPress developer.

For many years, I had been building what were essentially blogs with a few content pages for clients, but ACF opened up so many possibilities. Before that, you really needed to use something like Rails or Drupal to create ‘proper’ websites. Then came ACF.

In conjunction with custom post types and custom taxonomies, it supercharged WordPress and was incredibly easy to use. The documentation was amazing, and the support was incredible. The original pro licenses for repeater, flexible content, gallery, and options, priced at $25 (AUD), made even more things possible. It not only benefited me, but also empowered my clients to have more control over their own content without having to ask someone else to modify hard-coded values.

Since 2012, it has been the first plugin I install on every site, and I still do so to this day.

Day 11 – 2003

Prompt 11/20

WordPress was launched 20 years ago on May 27, 2003. Share a memory, a picture, or tell us a story about where were you in 2003. (If you weren’t born yet, tell us that too.) Post your response on a WordPress website and link it in the comments.

I was a ‘Web Development Executive’ at a London Publishing company in 2003, I maintained the corporate website at the time, mostly a mixture of ASP.net and HTML. Most likely using some gigantic CRT monitor and a Windows XP machine. I think I was using Dreamweaver maybe at this point, or maybe Frontpage 98?

I must have know a little about PHP as I apparently bought this in late 2001.

Day 10 – WordPress Roadmap

Prompt 10/20

Blog: Check out the WordPress Roadmap. What upcoming WordPress projects are you most excited to see happen? Post your response on a WordPress website and link it in the comments.

For me, that would be Interactivity API. Now, I am not the biggest fan of React. I don’t really get it (or have really found many solid use cases where it would be necessary). I feel it’s bloated and delivers a degraded experience for end users, especially those on low powered devices. It also adds a ton of overhead for stuff we get for free like the back button.

I realise the slight irony here as I am using the WordPress editor to write this, powered by React. There I will give it its dues. It makes sense in a context like this, we want state, we want reactivity. For rendering some text on a page…..less so.

That’s a helluva long way of stating I for one am looking forward to the Interactivity API. I don’t fully understand it, but something tells me this is likely to be huge. The ability to add interactivity via an API and not some huge framework coming down the pipe seems like a sensible and powerful addition to the WordPress toolkit. In particular these goals of the project please and excite me:

The main goal of the Interactivity API is to provide a standard and simple way to handle the frontend interactivity of Gutenberg blocks.

Block-first and PHP-first

Declarative and reactive: The API must use declarative code, listen to changes in the data, and update only the parts of the DOM that depend on that data.

Performant: The runtime must be fast and lightweight to ensure the best user experience.

PHP wooooo!

Additionally the code example is something that makes sense to this ageing front-end developers brain.


// view.js file
import { store } from "@wordpress/interactivity";
 
store({
  actions: {
    toggle: ({ context }) => {
      context.isOpen = !context.isOpen;
    },
  },
});

<!-- Render.php file -->
 
<div data-wp-context="{ 'isOpen': true }">
  <button
    data-wp-on.click="actions.toggle"
    data-wp-bind.aria-expanded="context.open"
    aria-controls="p-1"
  >
    Toggle
  </button>
 
  <p id="p-1" data-wp-show="context.isOpen">
    This element is now visible!
  </p>
</div>

I personally use ACF for developing blocks, and although I don’t know what they think about this. I don’t see why it would not be possible to increate this into ACF PRO blocks

Check out the demo, it might be simple but through in something like the Page Transition API and I feel we can get an app like experience with these two APIs.

Day 9 – favorite memory

Prompt 9/20

Tell us about your favorite memory that includes WordPress or the WordPress community. Post your response on a WordPress website and link it in the comments.

There are many, but one stands out more than others.

When I used to work at an agency, we once had a meeting at a large financial institution and a request was made from one high-flying trader:

‘Our blog (WordPress) …. can we turn it into a book’

Well as it happened my colleague had previously worked on something that would take a HTML file and output a PDF. I had contributed some of the code, mostly around theming and CSS (we used a library called PrinceXML that allowed you to use HTML & CSS to generate the PDF).

So we were able to say with pretty high confidence, yes, yes we can make a book out of your blog.

And so it happened; we set up a special WordPress template to output the entire blog in one page, saved it as .html and then put it through Bookler to generate a PDF. With that we could take it to something like Lulu and get back a paperback book delivered. I had to figure out how to get an ISBN, but managed that somehow.

It’s even, and I have no idea how, present on Amazon.

Photo of the inside of a book generated from a blog
2023 2022 2021 2020 2019 2017 2016 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004