Skip to content

ACF Pro

The theme comes with the bundled Advanced Custom Fields Pro plugin. It is used to manage custom fields for posts and pages.

Revealing the Hidden Panel

ACF is a plugin primarily intended for WordPress developers. By default, its admin page is hidden in the theme. To reveal it, add the following line of code at the end of the functions.php file in your child theme:

php
add_filter( 'acf/settings/show_admin', '__return_true', 99 );

Updating the Plugin

Since version 1.5.0, automatic updates are available for bundled plugins, including ACF Pro. For more information on how to activate the theme license and receive updates, please see License Activation.

Once the theme license is activated, updates will be delivered to your WordPress dashboard via notifications, as shown in the following screenshot:

Click 'Update Now' to begin the plugin update

Enabling Automatic Updates

To ensure compatibility with the latest WordPress version and the theme, it is recommended to enable automatic updates for the ACF Pro plugin:

Click 'Enable auto-updates' so WordPress will handle the plugin updates for you

About Automatic Updates

Please note that remote updates for bundled plugins are available only for users with an activated theme license. For more details, see License Activation.

Where Are the Custom Fields for Posts/Pages Created?

The theme registers the following extra custom fields attached to pages, posts, and attachments:

  • Additional Content
    • Subheading
    • Description
  • Service Properties
    • Repeater of name/value pairs
  • Additional Featured Media
    • Secondary Featured Image
    • Featured Video
  • Additional Attachment Fields
    • External URL

Custom fields are generated via PHP code in the following file of the Asli theme: 📄 /wp-content/themes/<ThemeName lowercase />/inc/config-plugins/acf/fields.php.

These fields are not exposed to the ACF Pro UI in the admin panel for modification. If you want to customize them, use a child theme to override that file (see Example #3).

Where Are the Extra Custom Post Types (Portfolio Items, Services) Created?

Please refer to the Custom Post Types article.