Sort gallery by ACF #24382
marmulaq
started this conversation in
Feature Request
Sort gallery by ACF
#24382
Replies: 1 comment
|
I recommend following this video with the hope that you find it beneficial. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
Hello,
I have an ACF field of type: text, default value: "undefined".
This field is displayed in the Media gallery for images where I assign a value to them (eg "Nature").
In the Element editor's Filterable gallery, I'll set Dynamic Links and select ACF field from the list.
The gallery works, the images that I mark in the ACF field as "Nature" are filtered by the ACF field "Nature", but the text listed in the ACF field ("Nature") is not displayed in the header of the gallery with the filter. Only the default field name is displayed ("undefined" in my case).
When I leave the "default value:" field in the ACF definition blank, no text appears in the gallery header (I would expect "Nature").
However, clicking on an empty space with no text in the gallery header filters out images marked with the "Nature" field correctly.
So the filter works correctly, but the text that is written in the corresponding ACF field is not displayed.
Thank you for the solution.
Sincerely, M.G.
Describe the solution you'd like
Hello,




I have an ACF field of type: text, default value: "undefined".
This field is displayed in the Media gallery for images where I assign a value to them (eg "Nature").
In the Element editor's Filterable gallery, I'll set Dynamic Links and select ACF field from the list.
The gallery works, the images that I mark in the ACF field as "Nature" are filtered by the ACF field "Nature", but the text listed in the ACF field ("Nature") is not displayed in the header of the gallery with the filter. Only the default field name is displayed ("undefined" in my case).
When I leave the "default value:" field in the ACF definition blank, no text appears in the gallery header (I would expect "Nature").
However, clicking on an empty space with no text in the gallery header filters out images marked with the "Nature" field correctly.
So the filter works correctly, but the text that is written in the corresponding ACF field is not displayed.
Thank you for the solution.
Sincerely, M.G.
Describe alternatives you've considered
No response
Additional context
No response
All reactions