jQuery is included in noConflict
mode in WordPress, so you can’t use the shorthand $
, but must write jQuery(this).html(jQuery(this).html().replace(rx, '<b>$&</b>'));
jQuery is included in noConflict
mode in WordPress, so you can’t use the shorthand $
, but must write jQuery(this).html(jQuery(this).html().replace(rx, '<b>$&</b>'));