Support

Account

Home Forums Feedback Plugin that Let's You Register Fields and Render HTML Simultaneously

Unread

Plugin that Let's You Register Fields and Render HTML Simultaneously

  • 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?

Viewing 1 post (of 1 total)

The topic ‘Plugin that Let's You Register Fields and Render HTML Simultaneously’ is closed to new replies.