• Zeal

    (@zealwebdrumbeatcom)


    I have created a slider using images uploaded from the ‘options panel’, the slider can have as many images as possible on the front end, but how do I make it dynamic at the back in such a way that people can upload as may slides as they want without having to list 100 UPLOAD FIELDS, I would be happy if I could incorporate a + sign of some sort to extend the array of images that the user uploads.

    `$options[] = array(
    ‘name’ => __(‘Site Logo’, ‘options_framework_theme’),
    ‘desc’ => __(‘Site logo, resize accordingly’, ‘options_framework_theme’),
    ‘id’ => ‘site_main_logo’,
    ‘type’ => ‘upload’)

  • The topic ‘Create Dynamic Regenerationg Options (eg an add button for upload field)’ is closed to new replies.