Menu

1 / 2

OpenFields can be the new go-to ACF Plugin for WP ( 2026 )

DEV Community·Shayan·7 months ago
#yf5ojLdu
#wordpress#php#webdev#opensource#openfields
Long article (598 words) — no AI summary yet.
Reading 0:00
15s threshold

The short version

Advanced Custom Fields (ACF) is great. But the free tier lacks repeaters, and the Pro license costs real money.

OpenFields (GitHub: novincode/openfields ) does everything ACF Pro does, uses the exact same get_field() API, and is 100% GPL.

I tested it on a production site. It works. No catch.

Technical compatibility – it’s not a rewrite

OpenFields mirrors the ACF Pro API exactly. These functions work out of the box:

get_field () / the_field () have_rows () / the_row () / get_sub_field () get_fields () / update_field () / delete_field () get_field_object ()

Enter fullscreen mode

Exit fullscreen mode

That means your existing templates keep working. No refactoring.

Repeater example

<?php if ( have_rows ( 'team_members' ) ) : ?> <?php while ( have_rows ( 'team_members' ) ) : the_row (); ?> <h3> <?php the_sub_field ( 'name' ); ?> </h3> <p> <?php the_sub_field ( 'role' ); ?> </p> <?php endwhile ; ?> <?php endif ; ?>

Enter fullscreen mode

Exit fullscreen mode

Same syntax.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.