After providing the Dev team with the function in question and examples, they are aware that if any filter is applied to the media folders, no details will return.
“We’re aware of this issue. The problem’s actually upstream with WordPress and will be fixed in 6.2.1”
After providing the Dev team with the function in question and examples, they are aware that if any filter is applied to the media folders, no details will return.
“We’re aware of this issue. The problem’s actually upstream with WordPress and will be fixed in 6.2.1”
Yes Edit and Add extend the MediaPopup. (EditMediaPopup, SelectMediaPopup)
With different processing, fields, etc. as one would assume when editing versus adding.
Within the ACF extension of mediapopup for editing, the attachment details are populated. This is where the issue is.
wp.media.attachment(frame.acf.get('attachment'))
when any folder plugin is used, will return no attachment details. This is due to the folder plugins defaulting to filter attachments to “uploads”, which then does not find the attachment.
I did not intend to sort through the ACF code for editing an attachment. My hopes were that someone had already done so and could assist me to override the extension to return the attachment details.
I have sent in an ACF ticket, hopefully they will know if I can override their extension to do what I need it to do. Which is to get the wp.media.attachment to use the attachment’s folder or look through uploads and its subdiretories.
I have other clients to attend to, this is a very low priority to me. If they need to edit the actual attachment details they can from the media post itself and not the ACF edit form.
EDIT
EDIT
not ADD or SAVE
In a post with an ACF file field – EDIT. an ACF form appears. Please stop trolling with ADD and SAVE.
Accidently clicked solved…should be able to give minus
Created New thread that hopefully reads EDIT successfully.
It is not an “Add Media” issue. Nor is it a “Save Media” issue.
“Edit”
It is an ACF Media Edit form, ACF classes all over the place. Please reread my original post.
Having taxonomy show up in right hand column when editing/adding a post is done by selecting it from screen options.
Provided of course that the taxonomy in question is associated with the post_type.
This can be done in functions.php
register_taxonomy(“imaTaxonomy”, [“imaPostType”]);
this is actually a back-end issue. created a new thread there
also, is there a way that one could provide more File information on the post form itself?
Currently only:
Slug
File Name
file Size
super easy to do even with free version.
1. Create field group for the post_type (Post Type is equal to Cast and Crew)
2. create a field of type Taxonomy, select what taxonomy to use, appearance of ‘Select’
3. The new select field will now appear when editing/creating a “Cast and Crew” post
Do ACF people answer these questions? Or do they hope we just help each other. I’ve seen many questions with no responses.
An answer to this would be great
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.