WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Dream Production v1.4.0

ACF Timber Integration

Automatically enables in the Timber twig context variable all user-defined advanced custom fields.

ACF Timber Integration

The facts

Rating
5★ from 1
Active installs
200+
Price
Free
Last updated
10 Feb 2021
Added
Dec 2017
Requires WP
3.7
Tested up to
WP 5.6.19
Downloads
8,115

Our analysis

AI-assisted

ACF Timber Integration is a WordPress plugin designed for developers using Advanced Custom Fields (ACF) and Timber to create themes. It allows user-defined advanced custom fields to be accessed within the Timber context, making it easier to integrate custom data into themes.

The plugin makes fields available for settings pages, posts, pages, custom post types, terms, and users through specific keys in Timber objects. Additionally, it provides Twig functions for handling images, enhancing the capability to manage image attributes in templates.

Best for: This plugin is suitable for developers working with ACF and Timber in WordPress theme development.

What it does well

  • Integrates ACF fields with Timber context
  • Supports various Timber objects including posts, terms, and users
  • Provides Twig functions for image handling

Where it falls short

  • Limited information on features beyond integration
  • Directory score indicates potential issues or limitations

Verdict

ACF Timber Integration is a useful tool for developers looking to streamline the use of custom fields in Timber. However, the limited feature set and directory score suggest it may have some drawbacks.

From the developer

Dream Production's own description of ACF Timber Integration, lightly tidied.

This plugin is intended for developers that are using Advanced Custom Fields and Timber to develop their themes.

By enabling this plugin the user-defined advanced custom fields will be available in the Timber context variable as follows:

  • Fields defined for settings pages will be available everywhere under the “options” key
  • Fields defined for posts, pages and custom post types will be available on the \Timber\Post object under the “fields” key
  • Fields defined for terms will be available on the \Timber\Term object under the “fields” key
  • Fields defined for users will be available on the \Timber\User object under the “fields” key

  • Defined menus will also be available everywhere under the “menus” key

Also adds twig functions for images:

  • srcset – used to generate srcset attribute tag.
    Usage: <img src="{{ post.thumbnail.src('large') }}" {{ srcset(post.thumbnail,'large') }} />
  • image_attr – used to generate srcset, width, height and alt.
    Usage: <img src="{{ post.thumbnail.src('large') }}" {{ image_attr(post.thumbnail,'large') }} />

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for custom content structures.

Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
Advanced Custom Fields

ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...

Free 2M+ installs 4.5★ (1,438)
Simple Custom Post Order

Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...

Free 300k+ installs 4.8★ (569)
WP Activity Log

The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.

Free 300k+ installs 4.7★ (488)
Custom Post Type UI

Admin UI for creating custom content types like post types and taxonomies

Free 1M+ installs 4.6★ (276)