> For the complete documentation index, see [llms.txt](https://docs.gutenbricks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gutenbricks.com/dynamic-data/meta-box/post-field-in-progress.md).

# Post Field (in-progress)

## Post Field

{% embed url="<https://youtu.be/-K5VzESaKyc?feature=shared&t=216>" %}

Due to a technical limitation, you must enter this code inside your Query Look section.&#x20;

<figure><img src="/files/U1Mkg7lLW5ljEm9w4yW5" alt=""><figcaption></figcaption></figure>

Here is the entire code, you can copy and paste

```php
if (function_exists('gb_get_field')) {
  $ids = gb_get_field('mb_bricks_template_user_selected_ice_cream');
}

if (empty($ids)) {
  return [
    'post_type' => 'ice-cream',
    'post__in' => [null], // set as [null] so we don't display anything when no selections
  ];
}

return [
    'post_type' => 'ice-cream',  
    'post__in'  => $ids,  
];
```
