# Tutorial On How to Use Font Awesome Icons with ACF fields

**URL:** <https://forum.bricksbuilder.io/t/tutorial-on-how-to-use-font-awesome-icons-with-acf-fields/14797>\
**Category:** How To\
**Tags:** how-to\
**Created:** [August 22, 2023, 11:39pm UTC](https://forum.bricksbuilder.io/t/tutorial-on-how-to-use-font-awesome-icons-with-acf-fields/14797 "2023-08-22T23:39:37Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![FranklyCo](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/franklyco/32/9865_2.png) [@FranklyCo](https://forum.bricksbuilder.io/u/FranklyCo)\
**Post date:** [December 18, 2023, 10:22pm UTC](https://forum.bricksbuilder.io/t/tutorial-on-how-to-use-font-awesome-icons-with-acf-fields/14797/12 "2023-12-18T22:22:33Z")

</div>

ACF Repeater Query Loop - ACF Font Awesome Icons plugin author has provided a quick workaround to be able to retrieve ACF FA field type data contained within a repeater. [Link to thread there](https://wordpress.org/support/topic/bricks-display-icon-from-acf-repeater-select-field/).

Add this to child theme functions.php (be sure to replace the field name ‘icon\_testing’ with the field name you are using in your repeater):

```auto
function fetch_fontawesome_icon_from_loop() {
	$acf_row = \Bricks\Query::get_loop_object();

	if ( isset( $acf_row['icon_testing'] ) ) {
		return $acf_row['icon_testing'];
	}
}

```

Then use this as your Bricks Dynamic Data tag (or change function name accordingly to your needs):

```auto
{echo:fetch_fontawesome_icon_from_loop()}

```

Confirmed this is working successfully!!

---

_[View the full topic](https://forum.bricksbuilder.io/t/tutorial-on-how-to-use-font-awesome-icons-with-acf-fields/14797)._
