1.1.6 • Published 3 years ago
wp-ajax-feed v1.1.6
Ajax Feed Javascript Package
Example Usage
let portfolioFeed = new AjaxFeed({
'baseUrl': site_info.ajax_url,
'action': 'portfolio_feed',
'container': $('.portfolio-feed'),
'filterForms': $('.portfolio-feed-filters'),
'paginationContainer':$('.portfolio-feed-pagination'),
'paginationDataAttribute': 'data-ajax-page',
'submitOnFilterUpdate': false,
});
Example Server Response
let response = {
'html': 'HTML Response that will populate the container',
'pagination': 'HTML response that will populate the pagination container',
'currentPage': 'the current page',
'maxPages': 'the total amount of pages in the current query'
'posts':'The raw post data that was returned by the query'
};
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago