WP Rig V2.3.1 release

Changes

Thanks to the WordPress Coding Standards folks updating WPCS to V3, we have upgraded that dependency in WP Rig so now PHPCS gives you more updated coding standards straight from the WordPress team.

We noticed some significant room for improvement in the default mobile menu experience, so we decided to upgrade that. The default mobile menu now properly supports accordion style expand/collapse functionality for sub menus.

Furthermore, we have taken some significant time and consideration into make WP Rig as easy as possible to convert to a Universal theme (unlocking block-based features like full site editing). The revamped mobile menu now also works with the Gutenberg Navigation block. So menus built with the navigation block offer a very similar experience to the standard main navigation, but be sure to double check all settings at the block level for expected layout and functionality. Depending on how you layout your header, you will need to tweak the CSS for the navigation to ensure a good UX.

We have had a video on our YouTube channel showing you how to convert WP Rig to a universal theme, however, we wanted to take it one step further. We have now included a node script that can be run via the command line to execute all of the steps outlined in the video with one command:

        npm run editor-support

Please note that once you have run this script, you will need to create/edit your index page template in the Site Editor to see your website. Currently, the script inserts a completely blank index file, so be aware of that. The index page template overrides the default index.php. All other page templates should work accordingly. We recommend building your header and footer as template parts (synced block patterns), then just using the Content block in between.

Changelog – 2.3.1

  • Updated WPCS to V3. Props @robruiz
  • Improvements to mobile navigation, primarily collapsible sub-menus, including consideration for Gutenberg navigation block. Props @robruiz
  • Improvements to header layout. Props @robruiz
  • Added FSE Conversion NPM script. Props @robruiz
  • Updated all dependencies. Props @robruiz
  • Added onload attribute to preload styles. Props @robruiz
  • Updated navigation CSS to prevent blocking of content when mobile menu is toggled off and to have smooth transition from toggle-on toggled-off states. Props @Spleeding1

Monthly Contributor meetings are no longer being help, however, our Slack workspace is still up and running and you are welcome to jump in there and ping anyone.

WP Rig V2.2.1 release

Changes

We have update a couple of the NPM dependencies for WP Rig as well as made some effort into slightly improving accessibility. Also put in a fix that caused php to throw an error that it was looking for a custom.js file that wasn’t there, if you have been working from the 2.2.0 release I suggest you either update or remove the code from Inc/Scripts/Component.php

        'wp-rig-custom' => array(
            'file'    => 'custom.min.js',
            'loading' => 'defer',
            'global'  => false,
        ),

Changelog – 2.2.1

  • Extended config file to add the ability to modify author name, author url, theme description and version for production. Props @dthenley
  • Bumps ajv from 6.10.2 to 6.12.3.
  • Bumps handlebars from 4.7.6 to 4.7.7.
  • Change Sidebar screen reader text. see #761
  • Update blocks css to use grid css
  • Added ‘deps’ to css files array Props @Spleeding1
  • Removed call for custom.min.js from the Scripts/Component.php file. Was throwing an error before.

We are looking to hold meetings every month on the first Sunday of the month. Our current time is at 11 am central, but dates and time can change if more people want to attend but it doesn’t fit with their schedule. On that note we are looking for more maintainers so if you are looking to help us grow this project please reach out to us on Github or join our slack. We are planning on putting out the agenda before the next meeting so that those that would like to participate can.