1(function($) { 2 $(document).ready(function(e) { 3 4 /*================= MOSTRAR MAIS POSTS DICA =================*/ 5 var page = 2; 6 $('.outras-dicas .button-know-more').click(function(){ 7 //$('.load').addClass('active'); 8 $.ajax({ 9 url: novawork_vars.theme_url+'/ajax/dicas.php', 10 type: 'POST', 11 data: { 12 post_type: $('.button-know-more').attr('data-ajax'), 13 page: page 14 }, 15 success: function (data) { 16 $('.outras-dicas .list').append(data); 17 //$('.load').removeClass('active'); 18 page++; 19 }, 20 }); 21 }); 22 23 24 /*================= MOSTRAR MAIS POSTS NOTICIAS =================*/ 25 var page = 2; 26 $('.outras-noticias .button-know-more-noticias').click(function(){ 27 //$('.load').addClass('active'); 28 $.ajax({ 29 url: novawork_vars.theme_url+'/ajax/noticias.php', 30 type: 'POST', 31 data: { 32 post_type: $('.button-know-more-noticias').attr('data-ajax'), 33 page: page 34 }, 35 success: function (data) { 36 $('.outras-noticias .list-ajax').append(data); 37 //$('.load').removeClass('active'); 38 page++; 39 }, 40 }); 41 }); 42 43 44 /*================= MOSTRAR MAIS IMOVEIS =================*/ 45 // $('.section-archive .button-know-more-empreendimentos').click(function(){ 46 // $('.load').addClass('active'); 47 // $.ajax({ 48 // url: theme_url+'/ajax/empreendimentos.php', 49 // type: 'POST', 50 // data: { 51 // post_type: $('.button-know-more-empreendimentos').attr('data-ajax'), 52 // page: page 53 // }, 54 // success: function (data) { 55 // $('.section-archive .section-content-empreendimentos').append(data); 56 // $('.load').removeClass('active'); 57 // page++; 58 // }, 59 // }); 60 // }); 61 62 }); 63})(jQuery);
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.