Attempting to echo index in Repeatable Group

Home Forums WPAlchemy Attempting to echo index in Repeatable Group

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  alexrogahn 1 year, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2200

    chris7519
    Participant

    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 2 years, 6 months ago by  chris7519.
    • This topic was modified 2 years, 6 months ago by  chris7519.
    • This topic was modified 2 years, 6 months ago by  chris7519.
    #2495

    alexrogahn
    Participant

    I’m having the very same issue, does anyone have any explanation or solution for this?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.