Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

SettingAPI

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 73026

Trending Articles