17 Feb

- Tagged in "Tutorials" -

Custom location rules

Introduction Location rules are used to determine which field groups appear on which admin screen. They are defined when editing a Field Group and consist of a location type, a comparison operator, and a value. One example of a location rule would be "Post Type == Post". The Field Group Locations metabox A diverse set […]

Continue Reading

12 Jul

JavaScript API

Learn how to use ACF's JavaScript library including functions, actions and filters and models. Continue Reading

18 Oct

Adding custom settings to fields

Each field contains a number of settings. These are made up of both global (field label, field name, etc) and type specific (image field preview size, etc). These settings specify how a field will appear and function throughout the admin &a... Continue Reading

18 Dec

Bidirectional Relationships

This tutorial will cover the concept and code for creating a bidirectional relationship between posts using only the Advanced Custom Fields plugin. This tutorial uses a Relationship field to select posts, however a Post Object field with mu... Continue Reading

6 Aug

Translating this plugin

This article will cover the information, tools and instructions to create and submit a translation for the Advanced Custom Fields plugin. Information There are a number of ways you can create translations but the end result is always the sa... Continue Reading

2 Feb

Moving WP elements (such as the content editor) within ACF fields

This article will demonstrate a solution for moving core WordPress elements within ACF fields. This concept uses a message field as a blank placeholder into which the elements are moved via jQuery. Here’s a look at what the interface ... Continue Reading

28 Oct

Multilingual Custom Fields

Introduction Translating your WordPress website into multiple languages is one way to increase traffic and engage visitors from other countries. It may also be a requirement for your project. In this guide, we’ll explore the basic concept... Continue Reading

13 Nov

Creating a WP archive with custom field filter

This video tutorial will cover the basics of creating a WP archive that displays posts filtered by a checkbox custom field. Please watch the video first, and use the code below to kick start your project! Usage This snippet of code is place... Continue Reading

13 May

Using acf_form to create a new post

This article will cover how to create a form on the front end of your website to add new content. Getting started If you have not already, please familiarize yourself with the acf form functions. Two functions are available to create a work... Continue Reading

3 Mar

Dynamically populate a select field’s choices

Description Need to dynamically populate a field’s choices? This tutorial will cover how to take a value saved to the options page and use it to override the choices for a select field. As the ‘choices’ array attribute is ... Continue Reading