7 questions
0
votes
0
answers
13
views
How to get the index of the wp-each directive in Interactivity API Wordpress?
I am learning interactivity API and when I tried wp-each directive, I noticed that there is no way to get the index of the array. e.g. If this is my array
$config = [
'fruits' => [
[
'...
0
votes
0
answers
65
views
Assets Not Loading or Disorganized on Page Builder Pages with Interactivity API
When using a page builder to create a page, the necessary assets (CSS, JS, etc.) do not load automatically.
I am leveraging WordPress Interactivity API SSR without introducing any additional logic.
...
0
votes
1
answer
613
views
WordPress Interactivity API how to use data-wp-bind--checked in a loop?
Is it possible to bind checked on a group of radio buttons generated in a loop and have the checked state be determined by the state?
Strangely enough in my current setup the last value is checked ...
0
votes
1
answer
487
views
Why does wordpress interactivity api need context?
WordPress Interactivity API was officially released with WordPress 6.5. As I've been studying this new feature, I find it intriguing, but I'm somewhat perplexed about certain aspects, particularly ...