WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Imark Image v1.0.6

Advanced Custom Fields: Archive Templates

ACF Archive is a little plugin for helping you attach ACF fields to the archive template.

Advanced Custom Fields: Archive Templates

The facts

Rating
5★ from 2
Active installs
800+
Price
Free
Last updated
25 May 2020
Added
Oct 2018
Requires WP
4.1
Tested up to
WP 5.4.21
Requires PHP
5.4
Downloads
13,025

Our analysis

AI-assisted

Advanced Custom Fields: Archive Templates is a WordPress plugin designed to help you attach ACF fields to archive templates. It adds a submenu for each public custom post type with an archive defined, allowing you to select options under the ACF rules box.

This plugin is suitable for developers or site owners who want to enhance their custom post types by integrating custom fields into archive pages. It requires some coding knowledge for customisation, as demonstrated in the provided code example.

Best for: This plugin suits developers or site owners looking to enhance custom post types with ACF fields on archive pages.

What it does well

  • Free to use from the WordPress.org directory
  • Allows integration of ACF fields with archive templates
  • Provides a submenu for public custom post types
  • Customisable through code in theme functions.php

Where it falls short

  • Requires coding knowledge for customisation
  • Limited feature information provided
  • Last updated in May 2020

Verdict

Advanced Custom Fields: Archive Templates offers a straightforward solution for integrating custom fields into archive templates, but it may not be suitable for users without coding experience.

From the developer

Imark Image's own description of Advanced Custom Fields: Archive Templates, lightly tidied.

ACF Archives is a little plugin for helping you attach ACF fields to the archive template.
The plugin will add a submenu for each public custom post type with archive defined
and then you can select under ACF rules box.

Want to add or remove the submenu for other custom post types?

Here is a code example you can add to to your theme functions.php

    add_filter( 'acf_archive_post_types', 'change_acf_archive_cpt' );
    function change_acf_archive_cpt( $cpts ) {
        // 'book' and 'movie' are the cpt key.

        // Remove cpt
        unset( $cpts['book'] );

        // Add cpt
        $cpts['movie'] = Movies Archive;

        return $cpts;
    }

Get the acf field on archive page

    $object = get_queried_object();
    $field = get_field( 'field_name', $object->name );

    var_dump( $field );

From within WordPress

  1. Visit ‘Plugins > Add New’
  2. Search for ‘acf archive’
  3. Activate ACF Archive from your Plugins page.

Manually

  1. Upload the acf-archive folder to the /wp-content/plugins/ directory
  2. Activate the ACF Archive plugin through the ‘Plugins’ menu in WordPress

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)