Support Log in

45. Field Forge with Elementor

Developer Guide
Prefer video? Watch the Field Forge tutorials 8 short guides covering every feature Watch

Field Forge has no Elementor integration. It registers no Elementor dynamic tags, widgets or Theme Builder sources. A page builder shows Field Forge values only through template or shortcode code that calls get_field(), or from wp_postmeta when the Sync to PostMeta setting is on.

What to use instead

Field values live in wp_fieldforge_values, not in wp_postmeta, so a source that reads post meta does not see them by default. Field Forge ships one shortcode, [fieldforge_total] (cross-post totals); there is no shortcode that prints a single field. Where your builder accepts a shortcode, you can add one of your own:

php
add_shortcode( 'ff_field', function ( $atts ) {
    $atts  = shortcode_atts( array( 'name' => '' ), $atts );
    $value = '' !== $atts['name'] ? get_field( $atts['name'] ) : null;
    return is_scalar( $value ) ? esc_html( (string) $value ) : '';
} );

Then use [ff_field name="hero_title"] where the builder takes a shortcode.

Sync to PostMeta

Field Forge > Settings has a checkbox, Sync to PostMeta (“Also write values to wp_postmeta for compatibility with other plugins”). While it is on, saving a post from the edit screen also writes the post’s simple field values to wp_postmeta under the field name, so a builder that reads post meta can use them. The settings page notes that this is slower. Repeater and Flexible Content rows are not written to wp_postmeta.

—

Forge AI Assistant Online

Hi! I'm the Field Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs