1jQuery(function($) { 2 var page = 2; // Começa da página 2 porque a primeira já foi carregada 3 4 $('#load-more').click(function(e) { 5 e.preventDefault(); 6 7 $.post(load_more_params.ajaxurl, { 8 action: 'load_more_products', 9 page: page 10 }, function(response) { 11 if (response) { 12 $('.products').append(response); // Adicione produtos à lista 13 page++; 14 } else { 15 $('#load-more').hide(); // Esconda o botão se não houver mais produtos 16 } 17 }); 18 }); 19});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.