Re:PHP 8.3
by zztop44 on Friday November 24, 2023 @08:48AM
(#38403912)
You can still make a Wordpress plugin with one php file and a few lines? If you want an npm project and build chain you can have that, but you can absolutely still build a Wordpress plugin with a functions.php file and nothing else
[ Parent
| on HN ]
Re:PHP 8.3
by wouldbecouldbe on Friday November 24, 2023 @09:29AM
(#38404306)
The old way yes, but if you want to integrate with a block them you can't. The Gutenberg thing is overcomplicated, which is why it's not really taking off.
Re:PHP 8.3
by lurkerforawhile on Friday November 24, 2023 @11:12AM
(#38405383)
Gutenberg has been a nightmare from the beginning. Saving structured data into the post HTML field severely limited the benefits of migrating content into blocks. Last time I checked, getting block data via the REST API wasn't officially supported, so making a headless site requires extra plugins.
When you reach that point you may as well be using ACF, as it's so much simpler and doesn't require rebuilding frontend scripts anytime anything changes.