I’m attempting to show users the current index of the slide they are on. Using WP Alchemy, I can get all the labels and inputs to display their names and values correctly. However, when trying to use the_index(), I can’t get the correct index to echo after adding more than 2 slides.
I’ve removed all my javascript to ensure it wasn’t something that was conflicting with jQuery’s .sortable(). After the second slide, all names and indexes outside a label or input is: _homepage_slider[slides_2][1][handle] or 1. Anything I need to do, or will it only work in inputs and labels?
Having some issues with formatting the code, so I added it here for now.
-
This topic was modified 1 year, 2 months ago by
chris7519.
-
This topic was modified 1 year, 2 months ago by
chris7519.
-
This topic was modified 1 year, 2 months ago by
chris7519.
I’m having the very same issue, does anyone have any explanation or solution for this?
Recent Comments