После долгих поисков я наконец нашел что-то, что работает с последним WordPress. Ниже приведены следующие шаги:
(function($) {
$(document).ready(function() {
$('.your-class').addClass('do-my-bidding');
})
})(jQuery);
//this goes in functions.php near the top
function my_scripts_method() {
// register your script location, dependencies and version
wp_register_script('custom_script',
get_template_directory_uri() . '/custom_js/jquery_test.js',
array('jquery'),
'1.0' );
// enqueue the script
wp_enqueue_script('custom_script');
}
add_action('wp_enqueue_scripts', 'my_scripts_method');
Если вы хотите перейти к другой «записи» набора записей, вы можете использовать метод «.MoveNext».
Это будет примерно так:
rsRecords.MoveFirst 'In this line you will back for the first entry
For iRow = 0 To intNumReturned - 1
For iCol = 0 To intNumColumns - 1
Debug.Print rsRecords(iCol)
Next iCol
rsRecords.MoveNext 'In this line you move to the next "row" as you want
Next iRow