Mobile App

Hello World

BB8

Follow up to What’s new in WordPress 5.9

This is a follow up post to What’s new in WordPress 5.9. It mostly addresses some of the unanswered questions raised during the demo. Where necessary we’ll be raising issues and/or provide feedback to Marketing, Core Editor and other contributor teams, as relevant.

WordPress 5.9 and demo slides and video

WordPress Portsmouth Online Meetup – Part one – the slides
WordPress Portsmouth Online Meetup – Part two – WordPress 5.9 demo

For the timeline view the video in YouTube. Also consider enabling Subtitles / closed captions.

Follow up items

Here are some of the questions from the demo. Some of which have been answered.

Q: Is a child theme provided?

No. Not for Twenty Twenty-Two.

FSE theme generators

Generate FSE child theme

I ( Herb ) didn’t mention this experimental code since I hadn’t written it! I started writing the plugin the day after the meetup.

Block theme generator

Carolina Nymark’s fullsiteediting.com website is packed with useful information about Full Site Editing.

Automattic’s Create Blockbase Theme plugin

Available from Github.

https://github.com/Automattic/create-blockbase-theme

11:35 Q. Hamburger icon. Why only the bun?

The hamburger icon for the navigation menu only has two horizontal lines. It’s deliberate but we don’t know why. Maybe it’s a gluten free bun.

Q. Is some of the style being cached?

Mike Murphy was following the demo in real time, viewing cwiccer.com as I was making the updates. He commented that whereas I was seeing the correct output his view was incorrect. He questioned whether or not he needed to clear a cache. The answer is that WordPress is caching the stylesheet in transients. They clear after a minute. This explains what he saw.

21:35 Q. What’s the purpose of these width adjusting bars?

31:26 Q. Are these patterns part of the page or template?

They become part of the template.

42:27 Q. Can we use these blocks in a classic theme?

Other follow ups

Steve Wood reported a White Screen of Death (WSOD) attempting to use the Site Editor with a test site on Heart Internet. We analysed the issue in
https://github.com/bobbingwide/bobbingwide/issues/49

See also https://core.trac.wordpress.org/ticket/54553

theme.json

This is the current theme.json file for the wp-pompey theme.

{
  "version": 1,
  "settings": {
    "color": {
      "custom": true,
      "palette": [
          {
            "name": "Black",
            "slug": "black",
            "color": "#000000"
          },
          {
            "name": "White",
            "slug": "white",
            "color": "#ffffff"
          },
        {
          "name": "Vivid red",
          "slug": "vivid-red",
          "color": "#cf2e2e"
        },
        {
          "name": "Pale cyan blue",
          "slug": "pale-cyan-blue",
          "color": "#8ed1fc"
        },
        {
          "name": "Vivid cyan blue",
          "slug": "vivid-cyan-blue",
          "color": "#0693e3"
        },
        {
          "name": "Foreground",
          "slug": "foreground",
          "color": "#333333"
        },
        {
          "name": "Lighter grey",
          "slug": "lighter-grey",
          "color": "#767676"
        },
        {
          "name": "Light grey background",
          "slug": "light-grey-background",
          "color": "#eeeeee"
        }
        ]
      },
    "layout": {
      "contentSize": "700px",
      "wideSize": "1000px"
    },
    "blocks": {
      "core/paragraph": {
        "color": {
          "custom": true
        }
      }
    }
  }
}

Continue reading “theme.json”

WordPress 5.8 – Duotone filter

Original
Duotone filter

Forest.

Even a child knows how valuable the forest is. The fresh, breathtaking smell of trees. Echoing birds flying above that dense magnitude. A stable climate, a sustainable diverse life and a source of culture. Yet, forests and other ecosystems hang in the balance, threatened to become croplands, pasture, and plantations.

WordPress 5.8 – New blocks and patterns

Question: Can we reproduce the Past events widget, which used the bw_related shortcode with the Query Loop block?

We need to show:

  • 3 posts per page
  • of the custom post type meetup
  • ordered by descending _date
  • where the date is in the past.

Answer: TL;DR NO.

  • Yes, we can list posts from Meetup.
  • Yes, we can show 3 posts per page
  • But we can’t show the Query Pagination block
  • Sorting does not appear to work on this CPT
  • We can’t run the query against post meta data

Why are List blocks over on the left?

Earlier today Andrew Leonard and I were playing with the columns CSS property. When we were applying it to a list block we noticed that the block was to the left hand side of the editor. We were using the Twenty Sixteen theme. We tracked it down to some CSS that set the left and right margins to small values. Normally they’re auto.

Continue reading “Why are List blocks over on the left?”

Call for Speakers

The WordPress Portsmouth Meetup group are looking for speakers for January 2020 onwards. If you have a WordPress related talk that you feel would be of interest to our members please contact one of the organisers by whichever means you choose: Slack, Twitter, Meetup, Email.

Our meetings in the past 12 months have been as follows

Notes:

  • Even though we are mainly about WordPress we do also cover some other web topics. e.g. copy writing, branding, GDPR, security.
  • We’re also happy to include remote speakers.
  • We enjoy a variety of formats: straight forward presentations, multi media, workshops and clinics.
  • We sometimes have a suite of lightning talks: 5-10 minutes.
  • Mostly we have one speaker; talk and Q&A taking 40 mins to one hour.

Location and meetup dates

Thanks to Scott McKeown of RedIT, for his continued sponsorship of the venue. We now have confirmed bookings at The Technopole for the following dates.

Date Topic
15th January 2020
19th February 2020

The Full Bradbury Suite can hold up to 28 attendees in conference layout, 40 in theatre. It has

  • Overhead projectors with HDMI and VGA connections
  • Free WiFi – fast reliable broadband.
  • Free on-site car parking.
  • Wheelchair accessible.
  • Easy access from the M275