alm_localize is not defined
-
Hello everyone, i’m trying to get the alm plugin to work, there is no content appearing on the page, but in the inspector i can see the div’s with the ‘ajax-load-more’ id’s. In the console i get the following: “alm_localize is not defined”. Any help would be much appreciated ??
Here is the page code:
<main id=”main” class=”site-main” role=”main”>
<?php $args = array( ‘post_type’ => ‘post’, ‘posts_per_page’ => 15 );
$loop = new WP_Query( $args ); ?>
<?php if ( have_posts() ) : ?><?php /* Start the Loop */ ?>
<?php while ( $loop -> have_posts() ) : $loop -> the_post(); ?>
<?php
echo do_shortcode(‘[ajax_load_more post_type=”post” posts_per_page=”3″ transition=”fade”]’);
?><?php endwhile;?>
<?php else : ?>
<?php get_template_part( ‘loop-templates/content’, ‘none’ ); ?>
<?php endif; ?>
</main><!– #main –>
- The topic ‘alm_localize is not defined’ is closed to new replies.