jQuery(document).ready(function($) { $('[id*="spcolor"]').wpColorPicker(); });