# Display ACF field from an ACF options page? \[Answer provided\]

**URL:** <https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975>\
**Category:** Pinegrow WP\
**Tags:** acf\
**Created:** [April 18, 2020, 10:33am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975 "2020-04-18T10:33:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cunning\_Stunts](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/cunning_stunts/32/2534_2.png) [@Cunning\_Stunts](https://forum.pinegrow.com/u/Cunning_Stunts)\
**Post date:** [April 18, 2020, 10:33am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/1 "2020-04-18T10:33:23Z")

</div>

Is this possible natively, or will I have to use the php code action or something?

The reason I’m trying to do this is to display a form (created with a plugin) using a shortcode (I’ve added some code to functions.php to render the shortcode for this specific field).

I’d really like to do it in a way that will enable me to easily pull in the content from the site for styling, rather than copy and paste back and forth (love that feature).

I’m very new to the app, so forgive me if there’s an obvious method to this 🙂

---

<div class="post-metadata">

**Author:** ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Post date:** [April 22, 2020, 10:00am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/2 "2020-04-22T10:00:10Z")

</div>

It is very much possible from within PG:

Select your element in the Pinegrow tree, then go to Wordpress Actions and search for ACF. Select “Display ACF field” and enter the name of the field.

That should do it.

E.g. my current project is full of it [https://haasrode.be/company/jj-drinks/](https://haasrode.be/company/jj-drinks/)

---

<div class="post-metadata">

**Author:** ![Cunning\_Stunts](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/cunning_stunts/32/2534_2.png) [@Cunning\_Stunts](https://forum.pinegrow.com/u/Cunning_Stunts)\
**Post date:** [April 30, 2020, 3:29am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/3 "2020-04-30T03:29:46Z")

</div>

Thanks for the reply. I can’t seem to get this working with fields from an acf options page…

The output code needs the option parameter, like so:  
`echo get_field( 'field_name', 'option' );`  
But instead it’s like:  
`echo get_field( 'field_name' );`

And there’s no option for me to add the option 🙂

---

<div class="post-metadata">

**Author:** ![pugh](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@pugh](https://forum.pinegrow.com/u/pugh)\
**Post date:** [June 28, 2020, 12:14pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/4 "2020-06-28T12:14:08Z")

</div>

Did you ever find a solution to this? I am trying to do similar.

---

<div class="post-metadata">

**Author:** ![Cunning\_Stunts](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/cunning_stunts/32/2534_2.png) [@Cunning\_Stunts](https://forum.pinegrow.com/u/Cunning_Stunts)\
**Post date:** [June 28, 2020, 9:29pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/5 "2020-06-28T21:29:22Z")

</div>

I just used the php action 😉

---

<div class="post-metadata">

**Author:** ![pugh](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@pugh](https://forum.pinegrow.com/u/pugh)\
**Post date:** [June 29, 2020, 12:09pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/6 "2020-06-29T12:09:45Z")

</div>

Ah yes makes sense. In the end I realised what I was trying to achieve was better implemented using a Customizer field anyway.

---

<div class="post-metadata">

**Author:** ![MichelyWeb](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/michelyweb/32/6652_2.png) [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Post date:** [May 13, 2023, 10:14am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/7 "2023-05-13T10:14:50Z")

</div>

@matjaz would it be possible that you split the options by comma and then generate the get\_field() code? Or just add a checkbox for “Use options” to the Attribute Panel?

 ![CleanShot 2023-05-13 at 12.12.33@2x](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/a9b4ac2a640b24ee71892777191f9aa97cb1daed.png)

---

<div class="post-metadata">

**Author:** ![MichelyWeb](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/michelyweb/32/6652_2.png) [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Post date:** [May 13, 2023, 10:17am UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/8 "2023-05-13T10:17:32Z")

</div>

I mean, if we have to use a PHP action for this anyway then the ACF field Smart action can be abandoned completely and removed from Pinegrow.

 ![CleanShot 2023-05-13 at 12.17.15@2x](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/83813e99d60d99fdaf44f392890a0af173e95c19.png)

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [May 14, 2023, 1:09pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/9 "2023-05-14T13:09:34Z")

</div>

> [@MichelyWeb](#):
>
> I mean, if we have to use a PHP action for this anyway then the ACF field Smart action can be abandoned completely and removed from Pinegrow.

The Post field action with ACF is very useful for displaying normal post fields, would be a shame to lose it 😉

I added “Object id” option to the ACF Field actions, that among other values, also lets you select “options”. Will be out in the next release.

 ![acffield](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d944ac5580cb04002aac489e85074c0911dea299.jpeg)

---

<div class="post-metadata">

**Author:** ![MichelyWeb](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/michelyweb/32/6652_2.png) [@MichelyWeb](https://forum.pinegrow.com/u/MichelyWeb)\
**Post date:** [May 14, 2023, 4:04pm UTC](https://forum.pinegrow.com/t/display-acf-field-from-an-acf-options-page-answer-provided/3975/10 "2023-05-14T16:04:28Z")

</div>

Perfect. Can’t wait . 😉
