PageSourceSearch

https://bartaco.com/wp-content/themes/bartaco/js/loadmore.js?ver=20260924181739

js bartaco.com collected 2026-09-24 18:18:42 UTC 1,183 bytes, 42 lines download raw bytes

1var page = 2;
2jQuery(function($) {
3    $('body').on('click', '.loadmore-btn', function() {
4      var archive_type = jQuery(this).attr('data-type');
5      var archive_id = jQuery(this).attr('data-id');
6      var archive_keyword = jQuery(this).attr('data-keyword');
7
8      var data = {
9          'action': 'load_posts_by_ajax',
10          'page': page,
11          'archive_type': archive_type,
12          'archive_id': archive_id,
13          'archive_keyword': archive_keyword,
14          'security': blog.security
15      };
16
17      $.ajax({ 
18        url : blog.ajaxurl, 
19        data : data,
20        type : 'POST',
21        beforeSend : function ( xhr ) {
22          $('.loadmore-btn').text('loading...'); 
23        },
24        success : function( response ){
25          if($.trim(response) != '') {
26            $('.loadmore-btn').html('load more')
27            $('.article-row').append(response);
28            equalHeightResponsive();
29
30            if(page == blog.totalpages){  
31              $('.post-loadmore-btn .loadmore-btn').remove();  
32            }
33            page++;
34
35          } else {            
36              $('.loadmore-btn').hide();  
37          }
38        }
39      });
40 
41    });
42});

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.