19 Feb 13

- Tagged in "How To" / Page 3 -

Sort a Repeater Field

This article will cover how to sort a repeater field based on it’s sub field values using a function called array_multisort(). Getting started The following examples assume a repeater field exists containing 2 sub field; ID (number field) and Name (text field). This repeater field is illustrated below. For the purpose of these examples, we […]

Continue Reading

19 Feb 13

Register multiple options pages

Multiple options pages can be registered by making use of the acf_add_options_page() and acf_add_options_sub_page() functions. Both functions can be used within the theme functions.php file. Once registered, each options page will appear wi... Continue Reading

19 Feb 13

Disable Custom Fields Editing on a Live Site

Overview When delivering a website to a client, it may be beneficial to hide the “ACF” menu item. This prevents your client from changing or deleting fields and keeps the site running smoothly. This doc details three methods for hiding ... Continue Reading

19 Feb 13

Create a front end form

This article will cover how to create a form on the front end of your website to add or edit content. Two functions are available to create a working form in a template file. Name Description acf_form_head() This function is placed at the t... Continue Reading