I don’t think so.
You’re also assuming people should understand that when they might not, depending on their instruction level. I tend to deal with people with low to medium tech education — sorry if here in Brazil things don’t go as fast as people on north might be used to, and not everyone is comfortable with a computer, we can blame a lot of factors for it, but I think this is not the point here, right?
UX embraces a lot of fields and demographics is one of the most important because it impacts on user behaviour, education and feelings. A computer interface is not usual for every person and feels different for each one. I had to deal with a 80+ y.o. clients more than once and sorry to disappoint you, they don’t get things so easily.
I won’t extend this discussion, as I said, ACF blocks for Gutenberg has made this process a bit less necessary.
Hope sometime it’ll be easier to make things easier.
Thanks for your attention.
John, still not the best scenario, right? This kind of solution is more like a workaround than a real solution — we call it “gambiarra” here in Brazil, there’s no english word to express this kind of trick to get to a state that is not exactly a solution and might cover some cases, some not.
It says to literally confuse the end user with a not-so-accurate label so they must pay attention that you might insert the Linkedin profile where you read Link, or a person Name were it’s read Title. Not very good, I guess.
A simple toggle on clone field that allows the new cloned fields to be renamed would be simply amazing.
Thanks to ACF integration with Gutenberg, this use case has decreased a lot on last months, but when I need this, I keep creating two (or more) visually and semantically identical field groups :/
Same here. Not even using the Classic Editor plugin.
It would be nice if some staff member reach out this topic.
@magicstick sorry man, where should I put this? I placed it between endwhile
and wp_reset_postdata()
, but it’s not even showing on frontend.
Sorry, what?
@magicstick thanks for the fast reply! I repasted code, adjusted to my current formatting and things suddenly worked. Confusing, pretty sure! 😛
One more thing, any ideas how to get just the previous and next from current? On the first and last, is it possible to get the first as next (when on last) and the last as previous (when on first).
Thanks!
Hey @tanmccuin, I’m facing a very similar issue here, almost 4 years later 😛
I’m building a portfolio site for a video producer company. Directors and Videos are CPTs, and director’s page displays the videos linked to them via relationship field. I call these videos using the WP_Query method.
The video page might show the current video but also the previous and the next from that previous loop. So I reach your thread and things look basically the same.
Unfortunatelly, I’m not getting the same result as you 🙁 Could you give some help?
My single-video.php
file has this piece of code, same as yours:
$args = array(
'post_type' => 'director',
'meta_query' => array(array(
'key' => 'director-video',
'value' => '"' . get_the_ID() . '"',
'compare' => 'LIKE'
)
));
$getmysiblings = new WP_Query($args);
When I print_r
or vardump
the $getmysiblings
, the result is an error. What am I doing wrong?
Well @alicam, I guess you’re not alone — but maybe both of us are.
I face this situation frequently, and it seems our uses of clone field are pretty close, when I need two (or more) fields groups that are visually and semantically the same (let’s say a basic Text/Textarea/link group) but the names need to be different depending on context (like Title/Content/Link for the first and Name/Bio/Contact for the second).
I start trying to find words that can serve for both titles, but that’s not practical and I end up creating two field groups that are *exactly the same*.
That’s not very smart, but sadly it seems that is what it is.
Hope some of staff members reach out this thread 🙂
Gummi, so sorry for the long delay. I coudn’t even test your answer, the project pivoted and this features was discarded :/
Thank you for your time 🙂
Hey people, any news here? I tried @kensyntric-com’s workaround, but no success 🙁 My repeater (grandfather) includes a clone (father) which includes another clone (child).
The child one has 5 sub-fields
True/false
Image
Group containing
Text
Number
Textarea
The father has
Title
Subtitle
Clone (child)
And the grandfather only repeats father.
I would like to collapse father and show its titles, collapse child and show its Text (inside group), but I couldn’t find a way to do so, any ideas?
Cheers!
Solved, it was missing a ” after <?php echo $term_link; ?> 😉
Thank you so much John!
I reviewed the functions.php, rewrote some parts and now it works, but the <?php $image[‘url’]; ?> returns nothing and if I change to <?php echo $image[‘url’]; ?> it returns the url with spaces instead of slashes. On the image field the result is set to image array.
Hi John.
I used the code you wrote, but it returns the following error right after the href, or where <?php echo $term_link; ?> is
Catchable fatal error: Object of class WP_Error could not be converted to string
Thanks for your reply, John!
Re-reading the post I may agree with you, hehe.
Let’s clear the things.
I have a repeater field called home_sections and inside it there’s a taxonomy field called event_category and a image field called category_image.
What I need is to show the name and the link of these selected categories on the site (list items, div, whatever).
I’m having the same problem, but I don’t use Repeater. I create a new ACF group and it simply doesn’t save the fields, even it’s said they’ve been created. Anyone?
I’m with the same problem here, but when I change the WP time, it now doesn’t schedule the post, but delete all the fields I’ve created.
Anything?
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.