February 4, 2017 at 12:51 AM #102467
The customizer stop working.
Before I use
//* Réglage ACF widget
And it works.
I have WP 4.7.2 and ACF Pro Version 5.5.5 and Genesis Custom.
GrégoireFebruary 4, 2017 at 1:00 AM #102468
Gregoire, I totally removed that function in ACFW 1.11 so that might be causing your issue…
Try removing your fixes and see what happens.
CheersFebruary 4, 2017 at 2:48 AM #102469
Yes I remove it. In fact it seems to not working with ACF repeater fields. For normals ACF fields and ACF Gallery field that’s perfect. Thanks!
GrégoireFebruary 4, 2017 at 10:11 PM #102474
You’re saying that a Repeater in the Customizer doesn’t work?February 4, 2017 at 11:23 PM #102475
Yes that’s correct.
ThanksFebruary 7, 2017 at 6:43 AM #102482
Grégoire, I’ve tested the repeater field with ACF 5.5.6 and ACFW 1.11 on WP 4.7.2 and everything seems to be working.
While I was testing though, I did forget to call
the_row()function before trying to output the repeater sub fields.
"; endwhile; ?>
The above code is what I used to test. Can you paste your repeater code if you can’t find any obvious errors? Are there any plugins that are possibly causing a conflict? JS console errors?
CheersFebruary 7, 2017 at 11:07 AM #102489February 7, 2017 at 2:15 PM #102492
Yes, that seems to be the problem.
get_sub_field()only needs the first parameter.
I modified your pastebin example as well.
You’ll notice I deleted most of the counting and
$ivariable stuff and changed the asterisk to become wrapped by a
You can hide the last asterisk via CSS and it would make your PHP a bit easier to read in my opinion. Just make a comment in your PHP file to remind you.
CheersFebruary 7, 2017 at 2:29 PM #102493
If you give me an email (DM) I can make an account for you.
I just publish in french two posts about your extension:
Créer un widget Slick Slider sur mesure avec ACF Pro et ACF Widgets
Créer des Widgets WordPress avec ACF Pro et ACF WidgetsFebruary 7, 2017 at 2:31 PM #102494This reply has been marked as private.February 7, 2017 at 3:15 PM #102495
- You must be logged in to reply to this topic.