A sweet project is coming

A new year is just hours away and I have already been planning for a new project that I will be starting soon. Now that WordPress 5.0 is out and Gutenberg is starting to take off I wanted to build a new set of blocks or should I say suite of blocks.

The project is called Block Suite and on the Block Suite site I have shared information on how the project is going to proceed and how you can participate in this project. I am hoping it will go well as I know a lot of people are looking for something new or simply don’t know yet how to build blocks of their own for Gutenberg.

This will be my first project that will be designed and developed with the help of the WordPress community. There are many blocks available but so far the majority of them provide the same thing, only styled differently.


Inspiration

A few weeks ago, designer and developer Rich Tabor won the Automattic design award for his Gutenberg project “Block Gallery” allowing you to create galleries, and then switch quickly between gallery types, such as masonry, offset, stacked, carousel, etc.

Block Gallery from Rich Tabor.

I too was impressed with the amount of work and effort he put in for the user experience. He has certainly set the bar high with what you can do with Gutenberg.

Not all blocks available on the WordPress plugin directory are done well like this so far. It is a great example on how everyone should be proceeding when designing their own blocks.

This type of user experience is a positive one, and should be encouraged.

https://automatticdesignaward.blog/2018/12/08/the-winners/

That’s not to say other blocks wont improve over time. The majority of blocks so far are blocks that were developed while the Gutenberg was still in phase one of it’s development.

A lot was changing before WP5 was released and caused blocks to break. This was one of the reasons I developed Gutenberg Prototype so developers would always have the latest version of Gutenberg available before public release.

Preparing for the project

This month I have been learning more about Gutenberg and it’s components for the project. The list of blocks and extensions I have set out to build is a suite collection that will be of the highest quality.

Learning and experimenting with the components has been my priority before this project starts and I still have more to do.

I look forward to sharing more on Block Suite as it develops but for now…


Happy New Year!

Attachment Slugs for WordPress v1.0.0

Today I updated Attachment Slugs for WordPress. One of many plugins I am making sure to be compatible and ready for WordPress v5.0 before it is released.

I rewritten the main plugin file and added a new feature, one that I am surprised has not been added to the core of WordPress since the begginning I believe and that is the ability to rename the permalink slugs for attachments.

Attachment Slug editable.

Changing the attachment title does not update the permalink slug so this is handy to have should you want to rename the permalink slug for the attachment.

How do I edit an attachment slug?

It’s really easy. Simply go to the media library and edit the item you wish to rename. Then on the side under Attachment Slug you can rename the slug. Press the Update button and that’s it.

Enjoy!

Minimum Requirement

The minimum requirement is that you have WordPress version v4.4.0 installed.

Test Drive Gutenbergs Latest Pre-Releases with Gutenberg Prototype

Gutenberg is now part of WordPress

However, Gutenberg will still be developed as a plugin for testing purposes so Gutenberg Prototype is still the best way for developers to stay ahead with progress.

Viewing the plugin information of Gutenberg when a pre-release is available.

Over the past couple of months I have been getting to know Gutenberg more and I have found it to be far better than when I first tested it when the first public beta was released and I now enjoy using it more than I did originally.

Recently I built my first block for Gutenberg which I had to learn a new language called React but was surprisingly easy to understand as I have experience doing most of my JavaScript coding with jQuery.

Although Gutenberg is more solid, maintaining and updating blocks is currently an on-going process. I will be building more with Gutenberg and as a developer, I need to keep up to date with all the changes being applied to Gutenberg.

Solving the problem

Unfortunately, there is no easy way to update Gutenberg automatically to the latest pre-releases to test the blocks that I build and check if they are compatible or if certain components need to be updated until WordPress finally release an update for Gutenberg to the public on the WordPress plugin directory.

So I decided to build another plugin updater just as I did for the WordPress theme Storefront. In this updater, I also added the ability to pull the changelog from the latest release tag on the Gutenberg GitHub repository so that I am able to view the changes that release has made.

This saves time going to the GitHub repository to check out the changelog as I am able to read them directly from my WordPress dashboard when viewing the plugin information.

I also added a little warning notice at the top of each section when viewing the plugin information so users know if the version they would be installing is stable, a beta or a pre-release. The updater also uses a filter to enable auto updates.

Hope you find it useful.

Enjoy!

I can maintain and update my blocks before #Gutenberg release a new update publicly with Gutenberg Prototype. Its a must-have tool for #WordPress developers or for those who are testing the Gutenberg editor its self.