Correct post loading code

0

I'm customizing this template and the "load more posts" of the "latest post" goes into infinite looping, not loading posts.

I'm not sure if the code is loading javascript correctly. The template I am using is this: link

This is the script, is there something wrong with it not to load?

<script class='jshilang' type='text/javascript'>
        //<![CDATA[
            searchxx({summaryLength:100,scrthumbSize:50});   
            jQuery('.sidebar h2, .footer h2').wrapInner('<span/>');
            callregex(jQuery);
        //]]>
    </script>

    <b:if cond='data:blog.url != data:blog.homepageUrl'>    
    <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <b:if cond='data:blog.pageType != &quot;item&quot;'>
        <script class='jshilang' type='text/javascript'>
            //<![CDATA[
viewMode({
  viewmodedefault:'list',
  cookielist:'list1',
  cookiegrid:'grid1'
});
loadMorePost({
  viewmodedefault:'list',
  cookielist:'list1',
  cookiegrid:'grid1'
});
            //]]>
        </script>
    
asked by anonymous 12.03.2017 / 03:25

0 answers