Let’s be clear, I love ACF! But my biggest time sink when building themes is having to register fields and create a page layout in two separate places.
In an ideal world, I’d like to just to be able to call a class that both renders the HTML and registers the fields in one step to speed up development.
Essentially, something like this:
$home = new Home();
$home->addSection(‘showcase’);
$home->addSection(‘testimonials’);
I’ve been working on a plugin like this for the past few days, and it’s feeling really complicated.
So, I’m wondering if I should even put the effort in… i.e. are there are any fundamental reasons why this is a bad idea?