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.
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.
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.
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.
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.
I have been so busy working on one project that a whole year went by so quickly. I completly had no time to finish my site so today I have set aside time and the site I had been developing in progress and spent the day rebooting my site lite, fresh and fast.
diam dolor. ut eleifend lectus eget nec sem, ut id ut