php - Add dynamic input field into widget form in wordpress admin -


i making wordpress widget creates slide show. support dynamic number of images in slide, need add input field each new uploaded image in admin form of widget.

my problem cannon figure out how pass values of dynamicly created fields widget update() function.

i have array holds image paths in back-end of widget , goal fill array values of created input fields.

knowing how widgets work believe not possible (to have dynamic number of input fields). can since enter plain text anyway add image paths in 1 input field separator , split when displaying on front end.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -