WordPressでjQueryを使う時 How to use jQuery in WordPress

「jQuery(function($){ ***** });」でコードを囲む
Enclose by jQuery(function($){ ***** });

jQuery(function($){

$(‘#test’).text();
$(‘.test’).remove(‘.sample’);

});