• Hi!

    I use customfields alot when i develop themes, to input like a youtube video or sliderimages. But this can get a bit confusing for themecustomers, they dont always get the concept. So i was thinking; what if i could make a widget for each thing? If i have a widget for a youtube movie maybe, it would just say:

    Youtube
    
    Embeded link:
    [___________]

    Or if i would make a slider image widget, it would say “image 1: [___]” and so on, and you could add fields if you would want more. I have a script sorting the fields, so all i would have to do is make a custom field out of the info it gets from the widget. So the youtube widget would create a key called youtube and value would be what the user typed there, and only do this IF the user actually put something there. Is this possible? It would rock my world!

    Edit: Maybe this is not classed as a widget since it has nothing to do with the sidebar, more like an added controllpanel option.

Viewing 1 replies (of 1 total)
  • Thread Starter mYrAn

    (@myran)

    I made an example that may make it a little easier to understand what im getting at. The youtube video box is somehow (thats what i want) connected to the custom field ‘youtube’. If you write an embeded code in the field, it activates the field! So the embeded code becomes the value of the key youtube. It would also be VERY nice if you could add multiple fields. If i have slider on a page i may want to have multiple images in it, so i type in the link to the first image and click add, and it appears underneath the inputbox, then i can type in another image and so on!

Viewing 1 replies (of 1 total)
  • The topic ‘Specific customfield widget’ is closed to new replies.