Initial Commit
This commit is contained in:
parent
4c352bf02e
commit
1ab6e5f0b0
1085 changed files with 195258 additions and 0 deletions
12
plugins/infinite-scroll/templates/footer.php
Normal file
12
plugins/infinite-scroll/templates/footer.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* Template to include on wp_footer front-end; passes plugin options to javascript function
|
||||
* @package Infinite_Scroll
|
||||
*/
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
// Because the `wp_localize_script` method makes everything a string
|
||||
infinite_scroll = jQuery.parseJSON(infinite_scroll);
|
||||
|
||||
jQuery( infinite_scroll.contentSelector ).infinitescroll( infinite_scroll, function(newElements, data, url) { eval(infinite_scroll.callback); });
|
||||
</script>
|
Reference in a new issue