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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.