22 Apr 15

- Tagged in "Guides" / Page 5 -

Register fields via PHP

This article will discuss how to register fields and field groups via the functions.php file. There are many benefits to using PHP to register fields, the main of which is customization and distribution. The ability to define fields within the theme’s files allows developers to avoid any data loss when working across multiple environments (dev/staging/live). […]

Continue Reading

2 Feb 15

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

11 Dec 14

Synchronized JSON

Synchronized JSON is a feature (added in version 5.1.5) which detects changes to local JSON files and allows the user to update the corresponding field groups within the Database. This functionality is visible when viewing the field group a... Continue Reading

28 Oct 14

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

12 Jul 14

Local JSON

Local JSON is a helpful feature which saves field groups, post types, taxonomies, and option pages as JSON files within your theme. The idea is similar to caching, and both dramatically speeds up ACF and allows for version control over your... Continue Reading

6 Jul 14

Options Page

Introduced in ACF PRO 6.2, the Options Pages UI simplifies the process of creating new, customized admin and sub-admin pages to edit ACF fields. All data saved on an options page is global and saved in the wp_options table, rather than atta... Continue Reading

3 Jul 14

Get values from a widget

All the template functions (get_field, the_field, etc) can be used to load values from a widget, however, a second parameter is required to target the term. This is similar to passing through a $post_id parameter to target a specific post o... Continue Reading

3 Jul 14

How to get values from a comment

To display custom field values within comments, you will need to setup a custom callback function for the wp_list_comments() function. This is well explained in an article Creating a custom comment list. All template functions can be used w... Continue Reading

13 Mar 14

Debug, diagnose and solve

When customizing your theme with ACF functionality, you may experience some issues. These issues may resemble a blank page, a broken page, a value not being loaded or a visible error report. Although frustrating at first, these issues are i... Continue Reading