ACF Widgets › Support › Priority Support › ACF customizer with Version 1.11
Tagged: customizer
- This topic has 10 replies, 2 voices, and was last updated 5 years, 5 months ago by
Grégoire Noyelle.
-
AuthorPosts
-
February 4, 2017 at 12:51 AM #102467
Grégoire Noyelle
ParticipantHi
The customizer stop working.
Before I use
`
//* Réglage ACF widget
// http://acfwidgets.com/support/topic/not-working-in-customizer/
remove_action(‘init’, ‘acfw_remove_fields’);
And it works.
Now nothing.
I have WP 4.7.2 and ACF Pro Version 5.5.5 and Genesis Custom.
Thanks
GrégoireFebruary 4, 2017 at 1:00 AM #102468Daron Spence
KeymasterGregoire, I totally removed that function in ACFW 1.11 so that might be causing your issue…
Try removing your fixes and see what happens.
Cheers
February 4, 2017 at 2:48 AM #102469Grégoire Noyelle
ParticipantHi Daron
Thanks.
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!
Cheers,
GrégoireFebruary 4, 2017 at 10:11 PM #102474Daron Spence
KeymasterYou’re saying that a Repeater in the Customizer doesn’t work?
February 4, 2017 at 11:23 PM #102475Grégoire Noyelle
ParticipantYes that’s correct.
ThanksFebruary 7, 2017 at 6:43 AM #102482Daron Spence
KeymasterGré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?
Cheers
February 7, 2017 at 11:07 AM #102489Grégoire Noyelle
ParticipantHi Daron,
Thanks.
I’ve used in this codeIn
get_sub_field
I use your parameters. Perhaps that’s the problem.
What do you think?Cheers
-
This reply was modified 5 years, 5 months ago by
Grégoire Noyelle.
-
This reply was modified 5 years, 5 months ago by
Grégoire Noyelle.
February 7, 2017 at 2:15 PM #102492Daron Spence
KeymasterYes, 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
$i
variable stuff and changed the asterisk to become wrapped by a<span>
tag.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.
Cheers
February 7, 2017 at 2:29 PM #102493Grégoire Noyelle
ParticipantHello Daron,
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 #102494Daron Spence
KeymasterThis reply has been marked as private.February 7, 2017 at 3:15 PM #102495Grégoire Noyelle
ParticipantHi Daron,
You can of course translate in english.
I try without $acfw but it change nothing.
I try also with last-child (in css) on the .seperator class but Text Rotator seems to not work in this way. So I use the counter again.Thanks a lot for your support.
-
This reply was modified 5 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.