redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Using Options

Open shkumbin opened this issue 13 years ago • 2 comments

Alright, here is my option name:

"$args['opt_name'] = 'fsdk';"

The Tab "Options" appears in Control Panel, but how to get an image?

shkumbin avatar Oct 07 '13 09:10 shkumbin

First call your global variable global $fsdk;

then echo url of uploaded image (yourimgfieldID replace with the id of your media field)

echo $fsdk['yourimgfieldID']['url']

These are the basics. Read more in following issues:

https://github.com/ReduxFramework/ReduxFramework/issues/54 https://github.com/ReduxFramework/ReduxFramework/issues/40 https://github.com/ReduxFramework/ReduxFramework/issues/34 https://github.com/ReduxFramework/ReduxFramework/issues/22

dariodev avatar Oct 07 '13 11:10 dariodev

Thanks @dariodev for helping.

Reopen this if you have further issues. We'll get a good docs page up shortly.

dovy avatar Oct 07 '13 15:10 dovy