(2015-10-06, 01:16:23)Oleg06 Wrote: I'd like to be able to add a background image to certain blocks.
http://prntscr.com/8o0g5z
http://prntscr.com/8o0giu
can be removed from the field of image addition tag <img
Yes, you can set it as a background image with the image setting.
get_setting
echoes a HTML-style output, ready to use without fiddling with tags etc.
return_setting
returns the raw value of the setting.
So for your case you would do:
PHP Code:
<div id="slider" style="<?php echo return_setting('my_tab', 'my_slider_setting'); ?>">
For more info, see the docs' Outputting settings section: