Filtering Rendered Dynamic Data ACF Option Page Repeater Field

Could someone please shed some light how to solve this issue?

website: kabisaenin.id
Plugins:

  • ACF Pro from Advanced Themer
  • ACF Extended
  1. I created option page from ACF extended
  2. Assign repeater field in the option page
  3. There are 3 values in the repeater field
  4. Creating header template with dynamic data button (with condition)

I only want to render specific value from the query looped dynamic data button. It does halfway correct because there are still divs that placed in the layout.

please see attached file

I would have a div set to flex → direction column, align-content right.
Set a query on it (to get the repeater).

Inside the DIV, a button, which gets the text/link from the ACF repeater.

Then set a condition on that button - to show if ‘acf_field_with_url’ IS NOT blank.

@digismith Thank you for your reply. By converting block to div only solve the issue :sweat_smile: