Posted 01 October 2012 - 04:04 PM
I just create custom section and I need it to have background option selector (select image, background repeat, background potition).
I copy the code from pageline code
and chage parameter name. The selector show up, but it CANNOT save, It's back to default state after save.
Do you have any suggestion? or some example of section that have background option selector.
Posted 02 October 2012 - 12:53 AM
For an example of how this option is made use of, you can check out the do_background_image function inside includes/class.render.css.php.
Hope that helps!
Posted 02 October 2012 - 07:10 AM
I had change option_id, It's not work either.
Now I combine 'image_upload' and 'select' to work like 'background_image' instead
Posted 02 October 2012 - 04:37 PM