SettingAPI
-
Hi,
I have a few quick questions.
1 – I have an image panel setting. The setting api returns the image id. How do I get the full size image url?
SettingAPI.onChange( ‘sidebar:theme_header_image’, function( to, from ) {
$(‘.header-banner’).css({‘background-image’ : ‘url(‘+ to +’)’});
} );2 – I have a color custom setting in the sidebar and when the color is changed it doesn’t trigger onChange function.
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘SettingAPI’ is closed to new replies.