ACF Term Meta on Single Posts in Bricks

Consider this scenario:

CPT: Project

Custom taxonomy: Project Type

Each project will be assigned only one project type.

Project Type taxonomy's custom field: Project Type Color

Requirement: Get the project type color of the project type that's assigned to the current single Project page being viewed.

This Pro tutorial shows how ACF term meta can be output on single posts in Bricks.

ACF field group definition:

'Development' project type term:

A project post having 'Development' project type:

On the front end after implementing the tutorial (notice the post title's color):

'Design' project type term:

A project post that's assigned to 'Design' type on the front end:

Step 1

Add the following in child theme's functions.php (w/o the opening PHP tag) or a code snippets plugin:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro