the answer for all question about Oxygen Builder plugin and WordPress

Hello Gurus, This has probably already been done, but I can’t seem to find the s


Hello Gurus, This has probably already been done, but I can’t seem to find the solution. The usecase is to create a repeater in ACF that allows multiple attachments of files. I then want to attach this CPT to posts, and display them in the said posts they are attached to.

So, I have the following thus far..
1) ACF repeater with ‘file’ type field embedded in the repeater. Displayed with posts.
2) In the post template, I created a ‘repeater’ element, and inserted a ‘title’ widget and sourcing the dynamic data of ‘post -> repeater field’. within the repeater.

The result output is just ‘array’ for the fields. I’m guessing I’m missing something or using the wrong elements to acheive this.

The goal on the post is just to have a ‘link’ to the file(s) that are attached to the post.

Thanks for any advice.


Source

Capital Design Set

Mega Design Set - 500+ Blocks

2 Comments
  1. Lyle says

    Any thoughts on this?

  2. Daniel says

    You can change return value to File URL in ACF ( docs: https://www.advancedcustomfields.com/resources/file/ )
    and see if it helps. Otherwise write a custom function and use it with Oxygen’s PHP Function Return Value. See https://wpdevdesign.com/link-text-url-acf-link-fields-oxygen/ for ideas.

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection