Home › Forums › ACF PRO › ACF Slider not firing in preview mode › Reply To: ACF Slider not firing in preview mode
The issue here is initializeBlock
is not being fired as the condition type=owl-carousel
is not being met for render_block_preview
.
I had the same issue.
I currently have support ticket waiting, as type
seems to the name of the the block registered by <?php acf_register_block_type()
, but maybe there is something more to it.
In the mean time, I have removed the type
parameter. Slight issue is that the initializeBlock
runs on every ACF block loaded, but that is not a huge issue for me at this point.
Hope that is of some help, Joe.
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.